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-29890-vbkq2-1wvqs-bjzv1 Agent pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1 is provisioned from template pingcap_tidb_ghpr_check2_29890-vbkq2-1wvqs --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "4978754dff5a225fcf25eeaa4199443b2ba4470c" jenkins/label: "pingcap_tidb_ghpr_check2_29890-vbkq2" name: "pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1" 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-29890-vbkq2-1wvqs-bjzv1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1" - 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-29890-vbkq2-1wvqs-bjzv1 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/29890/display/redirect JENKINS_URL=https://do.pingcap.net/jenkins/ EXECUTOR_NUMBER=0 JOB_SPEC={"type":"presubmit","job":"pingcap/tidb/ghpr_check2","buildid":"1908411231824252929","prowjobid":"a4d2bc42-a918-4ba7-9a51-8eab8592fbf7","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":60386,"author":"joshvarner","sha":"1dd066acfb93132580c76c3bfc96682684becfc4","title":"parser: Add support for DEFAULT ROLE option in CREATE and ALTER USER","head_ref":"jv-create-alter-user-default-role","link":"https://github.com/pingcap/tidb/pull/60386","commit_link":"https://github.com/pingcap/tidb/pull/60386/commits/1dd066acfb93132580c76c3bfc96682684becfc4","author_link":"https://github.com/joshvarner"}]}} _=/usr/bin/printenv BUILD_ID=1908411231824252929 POD_LABEL=pingcap_tidb_ghpr_check2_29890-vbkq2 HOSTNAME=pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1 OLDPWD=/home/jenkins RUN_CHANGES_DISPLAY_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/display/redirect?page=changes JENKINS_NODE_COOKIE=79017324-9c70-43d2-ace8-9bf240ee2d31 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=29890 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-29890-vbkq2-1wvqs-bjzv1 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/29890/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=a4d2bc42-a918-4ba7-9a51-8eab8592fbf7 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/29890/display/redirect?page=artifacts BUILD_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/ TERM=xterm STAGE_NAME=Debug info JOB_URL=https://do.pingcap.net/jenkins/job/pingcap/job/tidb/job/ghpr_check2/ BUILD_DISPLAY_NAME=#29890 SHLVL=3 GIT_BRANCH=origin/main BUILD_TAG=jenkins-pingcap-tidb-ghpr_check2-29890 KUBERNETES_SERVICE_PORT=443 NODE_LABELS=pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1 pingcap_tidb_ghpr_check2_29890-vbkq2 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-build479424369=/tmp/go-build -gno-record-gcc-switches' + echo ------------------------- ------------------------- + echo 'debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1 bash' debug command: kubectl -n jenkins-tidb exec -ti pingcap-tidb-ghpr-check2-29890-vbkq2-1wvqs-bjzv1 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: 32219 ;; flags: qr aa rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 1 ;; OPT PSEUDOSECTION: ; EDNS: version: 0, flags:; udp: 1232 ; COOKIE: 9719991bcd2ef5cd (echoed) ;; QUESTION SECTION: ;github.com. IN A ;; ANSWER SECTION: github.com. 27 IN A 20.27.177.113 github.com. 27 IN A 20.205.243.166 ;; Query time: 0 msec ;; SERVER: 169.254.25.10#53(169.254.25.10) (UDP) ;; WHEN: Sat Apr 05 06:48:20 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 4.55 secs (266483475 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) POST git-upload-pack (gzip 2073 to 1094 bytes) From https://github.com/pingcap/tidb = [up to date] master -> origin/master * [new ref] refs/pull/60386/head -> origin/pr/60386/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 ... Merge made by the 'ort' strategy. Auto packing the repository in background for optimum performance. See "git help gc" for manual housekeeping. pkg/parser/ast/misc.go | 65 + pkg/parser/parser.go | 15040 ++++++++++++++++++++++---------------------- pkg/parser/parser.y | 40 +- pkg/parser/parser_test.go | 11 + 4 files changed, 7648 insertions(+), 7508 deletions(-) 🧾 Pre-merged result: ba32d014694b63458420a79934cd6c4ce4f91165 ba32d01469 Merge commit '1dd066acfb93132580c76c3bfc96682684becfc4' into HEAD 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-1dd066a) 1213880320 bytes in 16.83 secs (72145029 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-513-gba32d01469" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBBuildTS=2025-04-05 06:48:55" -X "github.com/pingcap/tidb/pkg/util/versioninfo.TiDBGitHash=ba32d014694b63458420a79934cd6c4ce4f91165" -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/pingcap/failpoint v0.0.0-20240528011301-b51a646c7c86 go: downloading github.com/opentracing/opentracing-go v1.2.0 go: downloading github.com/pingcap/errors v0.11.5-0.20240318064555-6bd07397691f go: downloading github.com/pingcap/log v1.1.1-0.20241212030209-7e3ff8601a2a go: downloading github.com/tikv/client-go/v2 v2.0.8-0.20250327030528-1906b778d741 go: downloading github.com/prometheus/client_golang v1.21.1 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/automaxprocs v1.6.0 go: downloading github.com/tikv/pd/client v0.0.0-20250318085533-e8050f72d00d go: downloading go.etcd.io/etcd/client/v3 v3.5.12 go: downloading github.com/BurntSushi/toml v1.5.0 go: downloading github.com/ngaut/pools v0.0.0-20180318154953-b7bc8c42aac7 go: downloading github.com/shirou/gopsutil/v3 v3.24.5 go: downloading go.uber.org/atomic v1.11.0 go: downloading github.com/uber/jaeger-client-go v2.22.1+incompatible go: downloading google.golang.org/grpc v1.63.2 go: downloading github.com/pingcap/tipb v0.0.0-20250331100511-d2c561dad347 go: downloading github.com/pingcap/sysutil v1.0.1-0.20240311050922-ae81ee01f3a5 go: downloading github.com/google/uuid v1.6.0 go: downloading github.com/danjacques/gofslock v0.0.0-20191023191349-0a45f885bc37 go: downloading golang.org/x/sync v0.12.0 go: downloading golang.org/x/exp v0.0.0-20240909161429-701f63a606c0 go: downloading golang.org/x/sys v0.31.0 go: downloading github.com/golang/protobuf v1.5.4 go: downloading github.com/grpc-ecosystem/go-grpc-middleware v1.4.0 go: downloading github.com/gogo/protobuf v1.3.2 go: downloading github.com/otiai10/copy v1.14.0 go: downloading github.com/google/pprof v0.0.0-20241001023024-f4c0cfd0cf1d go: downloading github.com/google/btree v1.1.2 go: downloading github.com/lestrrat-go/jwx/v2 v2.0.21 go: downloading golang.org/x/net v0.38.0 go: downloading github.com/coocood/freecache v1.2.1 go: downloading github.com/dgraph-io/ristretto v0.1.1 go: downloading github.com/pkg/errors v0.9.1 go: downloading github.com/tiancaiamao/gp v0.0.0-20221230034425-4025bc8a4d4a go: downloading google.golang.org/protobuf v1.36.5 go: downloading github.com/wangjohn/quickselect v0.0.0-20161129230411-ed8402a42d5f go: downloading go.etcd.io/etcd/api/v3 v3.5.12 go: downloading github.com/golang/snappy v0.0.4 go: downloading github.com/stretchr/testify v1.10.0 go: downloading github.com/blacktear23/go-proxyprotocol v1.0.6 go: downloading github.com/gorilla/mux v1.8.1 go: downloading github.com/klauspost/compress v1.18.0 go: downloading github.com/pingcap/fn v1.0.0 go: downloading github.com/cloudfoundry/gosigar v1.3.6 go: downloading golang.org/x/text v0.23.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/docker/go-units v0.5.0 go: downloading github.com/twmb/murmur3 v1.1.6 go: downloading github.com/dolthub/swiss v0.2.1 go: downloading github.com/influxdata/tdigest v0.0.1 go: downloading github.com/opentracing/basictracer-go v1.0.0 go: downloading github.com/asaskevich/govalidator v0.0.0-20230301143203-a9d515a09cc2 go: downloading github.com/YangKeao/ldap/v3 v3.4.5-0.20230421065457-369a3bab1117 go: downloading github.com/json-iterator/go v1.1.12 go: downloading github.com/ngaut/sync2 v0.0.0-20141008032647-7a24ed77b2ef go: downloading github.com/prometheus/client_model v0.6.1 go: downloading gopkg.in/natefinch/lumberjack.v2 v2.2.1 go: downloading github.com/grafana/pyroscope-go/godeltaprof v0.1.8 go: downloading github.com/cespare/xxhash/v2 v2.3.0 go: downloading golang.org/x/tools v0.31.0 go: downloading gopkg.in/yaml.v2 v2.4.0 go: downloading github.com/coreos/go-semver v0.3.1 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/go-sql-driver/mysql v1.7.1 go: downloading go.uber.org/multierr v1.11.0 go: downloading golang.org/x/time v0.11.0 go: downloading github.com/qri-io/jsonschema v0.2.1 go: downloading go.etcd.io/etcd/client/pkg/v3 v3.5.12 go: downloading github.com/jellydator/ttlcache/v3 v3.0.1 go: downloading github.com/cznic/mathutil v0.0.0-20181122101859-297441e03548 go: downloading github.com/cockroachdb/pebble v1.1.4-0.20250120151818-5dd133a1e6fb go: downloading github.com/dolthub/maphash v0.1.0 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/beorn7/perks v1.0.1 go: downloading github.com/prometheus/procfs v0.16.0 go: downloading github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 go: downloading github.com/go-asn1-ber/asn1-ber v1.5.4 go: downloading github.com/uber/jaeger-lib v2.4.1+incompatible go: downloading github.com/tklauser/go-sysconf v0.3.12 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 cloud.google.com/go/storage v1.38.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azcore v1.14.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/azidentity v1.7.0 go: downloading github.com/Azure/azure-sdk-for-go/sdk/storage/azblob v1.0.0 go: downloading github.com/aliyun/alibaba-cloud-sdk-go v1.61.1581 go: downloading github.com/aws/aws-sdk-go v1.55.5 go: downloading github.com/go-resty/resty/v2 v2.11.0 go: downloading github.com/ks3sdklib/aws-sdk-go v1.2.9 go: downloading github.com/spf13/pflag v1.0.6 go: downloading golang.org/x/oauth2 v0.28.0 go: downloading google.golang.org/api v0.169.0 go: downloading github.com/carlmjohnson/flagext v0.21.0 go: downloading cloud.google.com/go v0.112.1 go: downloading github.com/jfcg/sorty/v2 v2.1.0 go: downloading github.com/modern-go/reflect2 v1.0.2 go: downloading github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd 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/joho/sqltocsv v0.0.0-20210428211105-a6d6801d59df go: downloading github.com/robfig/cron/v3 v3.0.1 go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20240318140521-94a12d6c2237 go: downloading github.com/cheggaaa/pb/v3 v3.0.8 go: downloading go.uber.org/mock v0.4.0 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/spf13/cobra v1.9.1 go: downloading google.golang.org/genproto v0.0.0-20240227224415-6ceb2ff114de go: downloading github.com/VividCortex/ewma v1.2.0 go: downloading github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc go: downloading github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 go: downloading github.com/dustin/go-humanize v1.0.1 go: downloading github.com/golang/glog v1.2.4 go: downloading golang.org/x/crypto v0.36.0 go: downloading github.com/lestrrat-go/httpcc v1.0.1 go: downloading github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec go: downloading github.com/tklauser/numcpus v0.6.1 go: downloading github.com/coreos/go-systemd/v22 v22.5.0 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/jedib0t/go-pretty/v6 v6.2.2 go: downloading github.com/mattn/go-isatty v0.0.20 go: downloading github.com/mattn/go-colorable v0.1.14 go: downloading github.com/jfcg/sixb v1.3.8 go: downloading github.com/mattn/go-runewidth v0.0.16 go: downloading cloud.google.com/go/compute/metadata v0.3.0 go: downloading github.com/acarl005/stripansi v0.0.0-20180116102854-5a71ef0e047d go: downloading k8s.io/api v0.29.11 go: downloading github.com/Masterminds/semver v1.5.0 go: downloading github.com/emirpasic/gods v1.18.1 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/apache/thrift v0.16.0 go: downloading gopkg.in/yaml.v3 v3.0.1 go: downloading github.com/pingcap/goleveldb v0.0.0-20191226122134-f82aafb29989 go: downloading github.com/kylelemons/godebug v1.1.0 go: downloading github.com/pkg/browser v0.0.0-20240102092130-5ac0b6a4141c 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 google.golang.org/genproto/googleapis/rpc v0.0.0-20240515191416-fc5f0ca64291 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/apache/arrow/go/v12 v12.0.1 go: downloading github.com/goccy/go-reflect v1.2.0 go: downloading github.com/golang-jwt/jwt/v5 v5.2.2 go: downloading github.com/rivo/uniseg v0.4.7 go: downloading github.com/klauspost/cpuid v1.3.1 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/DataDog/zstd v1.5.5 go: downloading github.com/cockroachdb/fifo v0.0.0-20240606204812-0bbfbd93a7ce 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/kr/pretty v0.3.1 go: downloading github.com/cockroachdb/logtags v0.0.0-20230118201751-21c54148d20b go: downloading github.com/kr/text v0.2.0 go: downloading github.com/rogpeppe/go-internal v1.14.1 go: downloading golang.org/x/xerrors v0.0.0-20231012003039-104605ab7028 go: downloading github.com/goccy/go-json v0.10.2 go: downloading github.com/google/flatbuffers v2.0.8+incompatible go: downloading github.com/zeebo/xxh3 v1.0.2 go: downloading github.com/andybalholm/brotli v1.0.5 go: downloading k8s.io/apimachinery v0.29.11 go: downloading github.com/klauspost/cpuid/v2 v2.0.9 go: downloading sigs.k8s.io/structured-merge-diff/v4 v4.4.1 go: downloading gopkg.in/inf.v0 v0.9.1 go: downloading github.com/google/gofuzz v1.2.0 go: downloading k8s.io/klog/v2 v2.120.1 go: downloading k8s.io/utils v0.0.0-20230726121419-3b25d923346b go: downloading sigs.k8s.io/json v0.0.0-20221116044647-bc3834ca7abd 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 github.com/google/s2a-go v0.1.7 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-1dd066acfb93132580c76c3bfc96682684becfc4) 253091840 bytes in 3.54 secs (71411623 bytes/sec) [Pipeline] // cache [Pipeline] script [Pipeline] { [Pipeline] echo computeBranchFromPR component: tikv, prTargetBranch: master, prTitle: parser: Add support for DEFAULT ROLE option in CREATE and ALTER USER, trunkBranch: master [Pipeline] sh + sha1= + [[ commit_master =~ ^commit_[0-9a-f]{40}$ ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1 + [[ true = \t\r\u\e ]] + refUrl=http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify + echo '🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify' 🔍 ref url: http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify ++ curl --fail http://fileserver.pingcap.net/download/refs/pingcap/tikv/master/sha1.verify ++ head -1 % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0 100 41 100 41 0 0 694 0 --:--:-- --:--:-- --:--:-- 694 + 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: parser: Add support for DEFAULT ROLE option in CREATE and ALTER USER, 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 931 0 --:--:-- --:--:-- --:--:-- 931 + 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-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] } Cache saved successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 39.71 secs (73682571 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 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-p7td5-2r0nl-zh2vd 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-29890-87n5r-qnd8t-rq6s1 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-29890-mnqnq-62lk8-17ljw 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 Agent pingcap-tidb-ghpr-check2-29890-p7td5-2r0nl-zh2vd is provisioned from template pingcap_tidb_ghpr_check2_29890-p7td5-2r0nl --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "3eeeaa4beac86586faae4fdadbac3007d23a6862" jenkins/label: "pingcap_tidb_ghpr_check2_29890-p7td5" name: "pingcap-tidb-ghpr-check2-29890-p7td5-2r0nl-zh2vd" 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-29890-p7td5-2r0nl-zh2vd" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-p7td5-2r0nl-zh2vd" - name: "JENKINS_AGENT_WORKDIR" value: "/home/jenkins/agent" - name: "JENKINS_URL" value: "http://jenkins.apps.svc.cluster.local:8080/jenkins/" image: "jenkins/inbound-agent:3206.vb_15dcf73f6a_9-2" name: "jnlp" resources: requests: memory: "256Mi" cpu: "100m" volumeMounts: - mountPath: "/home/jenkins/agent" name: "workspace-volume" readOnly: false restartPolicy: "Never" securityContext: fsGroup: 1000 volumes: - emptyDir: {} name: "bazel-out-merged" - name: "bazel-rc" secret: secretName: "bazel" - emptyDir: {} name: "bazel-out-overlay" - name: "gocache" persistentVolumeClaim: claimName: "gocache" - downwardAPI: items: - path: "cpu_limit" resourceFieldRef: containerName: "golang" resource: "limits.cpu" - path: "cpu_request" resourceFieldRef: containerName: "golang" resource: "requests.cpu" - path: "mem_limit" resourceFieldRef: containerName: "golang" resource: "limits.memory" - path: "mem_request" resourceFieldRef: containerName: "golang" resource: "requests.memory" name: "containerinfo" - name: "bazel-out-lower" persistentVolumeClaim: claimName: "bazel-out-data" - emptyDir: medium: "" name: "workspace-volume" - name: "gopathcache" persistentVolumeClaim: claimName: "gopathcache" - name: "bazel-repository-cache" persistentVolumeClaim: claimName: "bazel-repository-cache" Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-l2vbg-df1t8-vc171 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-ncj89-mzjtz-wnmd1 Running on pingcap-tidb-ghpr-check2-29890-p7td5-2r0nl-zh2vd in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-rsmbd-x7mps-s9mn0 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7e480374; decorates RemoteLauncher[hudson.remoting.Channel@6db853b9:JNLP4-connect connection from 10.233.74.10/10.233.74.10:43126] 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 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-gvmfc-mbdh0-hzdf7 Agent pingcap-tidb-ghpr-check2-29890-87n5r-qnd8t-rq6s1 is provisioned from template pingcap_tidb_ghpr_check2_29890-87n5r-qnd8t --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "6af970620a8da1eac3788e5debef0d1fbeb58705" jenkins/label: "pingcap_tidb_ghpr_check2_29890-87n5r" name: "pingcap-tidb-ghpr-check2-29890-87n5r-qnd8t-rq6s1" 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-29890-87n5r-qnd8t-rq6s1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-87n5r-qnd8t-rq6s1" - 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-29890-87n5r-qnd8t-rq6s1 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate The recommended git tool is: git [Pipeline] { [Pipeline] node Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-b2kx4-s8klb-7g8qv Agent pingcap-tidb-ghpr-check2-29890-mnqnq-62lk8-17ljw is provisioned from template pingcap_tidb_ghpr_check2_29890-mnqnq-62lk8 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "dc1764241d7f5e0f607de8dc5f16e44119587f79" jenkins/label: "pingcap_tidb_ghpr_check2_29890-mnqnq" name: "pingcap-tidb-ghpr-check2-29890-mnqnq-62lk8-17ljw" 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-29890-mnqnq-62lk8-17ljw" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-mnqnq-62lk8-17ljw" - 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-29890-mnqnq-62lk8-17ljw in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] checkout The recommended git tool is: git Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git [Pipeline] podTemplate [Pipeline] { [Pipeline] node No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@2e04666e; decorates RemoteLauncher[hudson.remoting.Channel@518e837c:JNLP4-connect connection from 10.233.72.187/10.233.72.187:48502] 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 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-6kc7s-frljd-g2dts 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@65f71cc4; decorates RemoteLauncher[hudson.remoting.Channel@3ed6524c:JNLP4-connect connection from 10.233.69.231/10.233.69.231:47830] 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 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 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] { [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] cache Agent pingcap-tidb-ghpr-check2-29890-ncj89-mzjtz-wnmd1 is provisioned from template pingcap_tidb_ghpr_check2_29890-ncj89-mzjtz --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "accd42a1e89be593b92e457519476d5fb097e7c7" jenkins/label: "pingcap_tidb_ghpr_check2_29890-ncj89" name: "pingcap-tidb-ghpr-check2-29890-ncj89-mzjtz-wnmd1" 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-29890-ncj89-mzjtz-wnmd1" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-ncj89-mzjtz-wnmd1" - 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-29890-ncj89-mzjtz-wnmd1 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29890-l2vbg-df1t8-vc171 is provisioned from template pingcap_tidb_ghpr_check2_29890-l2vbg-df1t8 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "3521ff27610ed98599eee15c057d6e623cc9432c" jenkins/label: "pingcap_tidb_ghpr_check2_29890-l2vbg" name: "pingcap-tidb-ghpr-check2-29890-l2vbg-df1t8-vc171" 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-29890-l2vbg-df1t8-vc171" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-l2vbg-df1t8-vc171" - 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-29890-l2vbg-df1t8-vc171 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29890-gvmfc-mbdh0-hzdf7 is provisioned from template pingcap_tidb_ghpr_check2_29890-gvmfc-mbdh0 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d236ddb052e26fcadcc6d731a1f5b1583dd24087" jenkins/label: "pingcap_tidb_ghpr_check2_29890-gvmfc" name: "pingcap-tidb-ghpr-check2-29890-gvmfc-mbdh0-hzdf7" 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-29890-gvmfc-mbdh0-hzdf7" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-gvmfc-mbdh0-hzdf7" - 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-29890-gvmfc-mbdh0-hzdf7 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) 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) Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > 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 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29890-b2kx4-s8klb-7g8qv is provisioned from template pingcap_tidb_ghpr_check2_29890-b2kx4-s8klb --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "85bbb5a3c428a980e8ef78878e0dab7138f00d35" jenkins/label: "pingcap_tidb_ghpr_check2_29890-b2kx4" name: "pingcap-tidb-ghpr-check2-29890-b2kx4-s8klb-7g8qv" 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-29890-b2kx4-s8klb-7g8qv" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-b2kx4-s8klb-7g8qv" - 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-29890-b2kx4-s8klb-7g8qv in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29890-6kc7s-frljd-g2dts is provisioned from template pingcap_tidb_ghpr_check2_29890-6kc7s-frljd --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "89504c738bc6881aa082d97a9233de2f9334d95b" jenkins/label: "pingcap_tidb_ghpr_check2_29890-6kc7s" name: "pingcap-tidb-ghpr-check2-29890-6kc7s-frljd-g2dts" 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-29890-6kc7s-frljd-g2dts" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-6kc7s-frljd-g2dts" - 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-29890-6kc7s-frljd-g2dts in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git Agent pingcap-tidb-ghpr-check2-29890-rsmbd-x7mps-s9mn0 is provisioned from template pingcap_tidb_ghpr_check2_29890-rsmbd-x7mps --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "8ae4b6e6366d24e6aecb2ef42002a2f546201098" jenkins/label: "pingcap_tidb_ghpr_check2_29890-rsmbd" name: "pingcap-tidb-ghpr-check2-29890-rsmbd-x7mps-s9mn0" 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-29890-rsmbd-x7mps-s9mn0" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-rsmbd-x7mps-s9mn0" - 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-29890-rsmbd-x7mps-s9mn0 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Obtained pipelines/pingcap/tidb/latest/pod-ghpr_check2.yaml from git https://github.com/PingCAP-QE/ci.git 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 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-qsxjr-6bh8w-b54zz Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.49 secs (390465255 bytes/sec) [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] podTemplate [Pipeline] { [Pipeline] { [Pipeline] sh Agent pingcap-tidb-ghpr-check2-29890-qsxjr-6bh8w-b54zz is provisioned from template pingcap_tidb_ghpr_check2_29890-qsxjr-6bh8w --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "c7e1e50d272515633f8dceee28cb8d823831aeb4" jenkins/label: "pingcap_tidb_ghpr_check2_29890-qsxjr" name: "pingcap-tidb-ghpr-check2-29890-qsxjr-6bh8w-b54zz" 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-29890-qsxjr-6bh8w-b54zz" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-qsxjr-6bh8w-b54zz" - 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-29890-qsxjr-6bh8w-b54zz in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 [Pipeline] { [Pipeline] { [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] node [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] { [Pipeline] { + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r-- 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] checkout [Pipeline] { [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] container [Pipeline] { The recommended git tool is: git [Pipeline] container [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] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] { [Pipeline] checkout [Pipeline] // cache [Pipeline] sh The recommended git tool is: git Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-br9lf-9b0f0-gzw1h Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-65mnf-55g1r-1bzrv Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-hnckt-q5b0s-zsj9b Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-rgczh-hkcg3-3thgf Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-bbn0m-n6txw-8h6md Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-3ff5f-l7jbq-wpsh9 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-kchnc-n2zsb-tdb87 Created Pod: kubernetes jenkins-tidb/pingcap-tidb-ghpr-check2-29890-3gm9l-1298d-xqdqv No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@279b672a; decorates RemoteLauncher[hudson.remoting.Channel@43a09bfc:JNLP4-connect connection from 10.233.66.118/10.233.66.118:47862] 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@90e1c2b; decorates RemoteLauncher[hudson.remoting.Channel@4cdf3ca2:JNLP4-connect connection from 10.233.76.205/10.233.76.205:43930] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Masking supported pattern matches of $CODECOV_TOKEN Cloning the remote Git repository Using shallow clone with depth 1 [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@7ded17df; decorates RemoteLauncher[hudson.remoting.Channel@51768388:JNLP4-connect connection from 10.233.71.59/10.233.71.59:58342] 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 [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [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@22e8c39c; decorates RemoteLauncher[hudson.remoting.Channel@389a9439:JNLP4-connect connection from 10.233.67.90/10.233.67.90:57942] 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 + 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@5af867d9; decorates RemoteLauncher[hudson.remoting.Channel@632142d5:JNLP4-connect connection from 10.233.70.82/10.233.70.82:47660] will be ignored (a typical symptom is the Git executable not being run inside a designated container) No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@734d4ece; decorates RemoteLauncher[hudson.remoting.Channel@6d89a105:JNLP4-connect connection from 10.233.68.56/10.233.68.56:49848] will be ignored (a typical symptom is the Git executable not being run inside a designated container) Cloning the remote Git repository Using shallow clone with depth 1 Cloning the remote Git repository Using shallow clone with depth 1 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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@d3d73c0; decorates RemoteLauncher[hudson.remoting.Channel@35db02d3:JNLP4-connect connection from 10.233.78.6/10.233.78.6:36276] 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 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" 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-29890-65mnf-55g1r-1bzrv is provisioned from template pingcap_tidb_ghpr_check2_29890-65mnf-55g1r --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "f6724433f9a72ea1308bc20c22e781ec6ec343a5" jenkins/label: "pingcap_tidb_ghpr_check2_29890-65mnf" name: "pingcap-tidb-ghpr-check2-29890-65mnf-55g1r-1bzrv" 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-29890-65mnf-55g1r-1bzrv" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-65mnf-55g1r-1bzrv" - 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)" Agent pingcap-tidb-ghpr-check2-29890-hnckt-q5b0s-zsj9b is provisioned from template pingcap_tidb_ghpr_check2_29890-hnckt-q5b0s --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "0ba748259a6062f4d788793b72bdd6b59d7eaf30" jenkins/label: "pingcap_tidb_ghpr_check2_29890-hnckt" name: "pingcap-tidb-ghpr-check2-29890-hnckt-q5b0s-zsj9b" 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-29890-hnckt-q5b0s-zsj9b" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-hnckt-q5b0s-zsj9b" - 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-29890-br9lf-9b0f0-gzw1h is provisioned from template pingcap_tidb_ghpr_check2_29890-br9lf-9b0f0 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "e0e2f16e4c1a88a272f04f03ced302f48228f130" jenkins/label: "pingcap_tidb_ghpr_check2_29890-br9lf" name: "pingcap-tidb-ghpr-check2-29890-br9lf-9b0f0-gzw1h" 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-29890-br9lf-9b0f0-gzw1h" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-br9lf-9b0f0-gzw1h" - 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-29890-65mnf-55g1r-1bzrv in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29890-br9lf-9b0f0-gzw1h in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Running on pingcap-tidb-ghpr-check2-29890-hnckt-q5b0s-zsj9b 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 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Agent pingcap-tidb-ghpr-check2-29890-rgczh-hkcg3-3thgf is provisioned from template pingcap_tidb_ghpr_check2_29890-rgczh-hkcg3 --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "78e1abfe4914235f8cb8b1be1d49e57e44bc6679" jenkins/label: "pingcap_tidb_ghpr_check2_29890-rgczh" name: "pingcap-tidb-ghpr-check2-29890-rgczh-hkcg3-3thgf" 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-29890-rgczh-hkcg3-3thgf" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-rgczh-hkcg3-3thgf" - 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-29890-rgczh-hkcg3-3thgf 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-29890-kchnc-n2zsb-tdb87 is provisioned from template pingcap_tidb_ghpr_check2_29890-kchnc-n2zsb --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "de457c8a1ce9f680beebee86b99de5b325c21ff7" jenkins/label: "pingcap_tidb_ghpr_check2_29890-kchnc" name: "pingcap-tidb-ghpr-check2-29890-kchnc-n2zsb-tdb87" 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-29890-kchnc-n2zsb-tdb87" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-kchnc-n2zsb-tdb87" - 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-29890-kchnc-n2zsb-tdb87 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > 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-29890-3gm9l-1298d-xqdqv is provisioned from template pingcap_tidb_ghpr_check2_29890-3gm9l-1298d --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "e8d4e2ce515783f334b167959ed3e5f8e2bedffe" jenkins/label: "pingcap_tidb_ghpr_check2_29890-3gm9l" name: "pingcap-tidb-ghpr-check2-29890-3gm9l-1298d-xqdqv" 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-29890-3gm9l-1298d-xqdqv" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-3gm9l-1298d-xqdqv" - 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-29890-3gm9l-1298d-xqdqv in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Agent pingcap-tidb-ghpr-check2-29890-bbn0m-n6txw-8h6md is provisioned from template pingcap_tidb_ghpr_check2_29890-bbn0m-n6txw --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "8d2d51b94f72c36802911f59ef10f79bda38b190" jenkins/label: "pingcap_tidb_ghpr_check2_29890-bbn0m" name: "pingcap-tidb-ghpr-check2-29890-bbn0m-n6txw-8h6md" 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-29890-bbn0m-n6txw-8h6md" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-bbn0m-n6txw-8h6md" - 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-29890-bbn0m-n6txw-8h6md in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Agent pingcap-tidb-ghpr-check2-29890-3ff5f-l7jbq-wpsh9 is provisioned from template pingcap_tidb_ghpr_check2_29890-3ff5f-l7jbq --- apiVersion: "v1" kind: "Pod" metadata: annotations: buildUrl: "http://jenkins.apps.svc.cluster.local:8080/jenkins/job/pingcap/job/tidb/job/ghpr_check2/29890/" runUrl: "job/pingcap/job/tidb/job/ghpr_check2/29890/" labels: jenkins/jenkins-jenkins-agent: "true" jenkins/label-digest: "d9f89e05b7ee74a5eec81b184168473929a4ffd0" jenkins/label: "pingcap_tidb_ghpr_check2_29890-3ff5f" name: "pingcap-tidb-ghpr-check2-29890-3ff5f-l7jbq-wpsh9" 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-29890-3ff5f-l7jbq-wpsh9" - name: "JENKINS_NAME" value: "pingcap-tidb-ghpr-check2-29890-3ff5f-l7jbq-wpsh9" - 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-29890-3ff5f-l7jbq-wpsh9 in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.17 secs (358249161 bytes/sec) [Pipeline] { [Pipeline] cache Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.18 secs (357847679 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] withEnv [Pipeline] { [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] 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] { [Pipeline] { [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] // cache [Pipeline] sh [Pipeline] checkout [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git [Pipeline] checkout + 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 The recommended git tool is: git [Pipeline] checkout The recommended git tool is: git The recommended git tool is: git [Pipeline] sh [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) + /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 No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@18f59713; decorates RemoteLauncher[hudson.remoting.Channel@1d72a340:JNLP4-connect connection from 10.233.74.168/10.233.74.168:44742] 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] timeout Timeout set to expire in 50 min No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@73bb7891; decorates RemoteLauncher[hudson.remoting.Channel@3130fd9f:JNLP4-connect connection from 10.233.88.241/10.233.88.241:35592] 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@1cefa7c2; decorates RemoteLauncher[hudson.remoting.Channel@13f27395:JNLP4-connect connection from 10.233.75.219/10.233.75.219:42708] 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] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@41c41944; decorates RemoteLauncher[hudson.remoting.Channel@5687f051:JNLP4-connect connection from 10.233.105.229/10.233.105.229:59068] 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] { No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@392fb85b; decorates RemoteLauncher[hudson.remoting.Channel@7712824c:JNLP4-connect connection from 10.233.106.64/10.233.106.64:38420] 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@325add2; decorates RemoteLauncher[hudson.remoting.Channel@75dfda1f:JNLP4-connect connection from 10.233.90.249/10.233.90.249:59760] 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] // cache No credentials specified Warning: JENKINS-30600: special launcher org.csanchez.jenkins.plugins.kubernetes.pipeline.ContainerExecDecorator$1@2a98d47f; decorates RemoteLauncher[hudson.remoting.Channel@2a488f3:JNLP4-connect connection from 10.233.93.10/10.233.93.10:41286] 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@73189046; decorates RemoteLauncher[hudson.remoting.Channel@260925c2:JNLP4-connect connection from 10.233.72.181/10.233.72.181:59916] 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 Cloning repository https://github.com/PingCAP-QE/ci.git > git init /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2 # timeout=10 Fetching upstream changes from https://github.com/PingCAP-QE/ci.git > git --version # timeout=10 > git --version # 'git version 2.39.2' > git fetch --tags --force --progress --depth=1 -- https://github.com/PingCAP-QE/ci.git +refs/heads/*:refs/remotes/origin/* # timeout=5 [Pipeline] sh 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] 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 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 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] { + 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] sh + /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 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] 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)" Avoid second fetch [Pipeline] cache Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_brietest > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 go: downloading github.com/sirupsen/logrus v1.8.1 go: downloading github.com/defined2014/mysql v0.0.0-20231121061906-fcfacaa39f49 go: downloading github.com/pingcap/errors v0.11.5-0.20221009092201-b66cddb77c32 go: downloading go.uber.org/atomic v1.11.0 go: downloading golang.org/x/sys v0.5.0 Avoid second fetch Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) 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 > 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 Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) > git config remote.origin.url https://github.com/PingCAP-QE/ci.git # timeout=10 > git config --add remote.origin.fetch +refs/heads/*:refs/remotes/origin/* # timeout=10 > git rev-parse origin/main^{commit} # timeout=10 > git config core.sparsecheckout # timeout=10 > git checkout -f b2a59508c11c86ba701c4af25fc536a9475b82c6 # timeout=10 start tidb-server, log file: ./integration-test.out tidb-server(PID: 945) started run all integration test cases (enabled new collation) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Avoid second fetch Checking out Revision b2a59508c11c86ba701c4af25fc536a9475b82c6 (origin/main) Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" Commit message: "feat(prow-jobs/pingcap-qe/ci): add periodic job to crawl pull requests and issues (#3449)" > 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 > 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 start tidb-server, log file: ./integration-test.out tidb-server(PID: 1067) started run all integration test cases (disabled new collation) ./t/show.test: ok! 3 test cases passed, take time 0.000504528 s ./t/access_path_selection.test: ok! 9 test cases passed, take time 0.024107663 s ./t/agg_predicate_pushdown.test: ok! 7 test cases passed, take time 0.022027697 s ./t/bindinfo/bind.test: ok! 223 test cases passed, take time 1.527212881 s ./t/bindinfo/session_handle.test: ok! 21 test cases passed, take time 0.063949317 s ./t/bindinfo/temptable.test: ok! 38 test cases passed, take time 0.150640974 s ./t/black_list.test: ok! 55 test cases passed, take time 0.112349141 s ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.702316307 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.614747426 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.530423776 s ./t/clustered_index.test: ok! 34 test cases passed, take time 1.357633863 s ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.621217918 s Great, All tests passed ./t/collation_agg_func.test: ok! 74 test cases passed, take time 0.705968502 s ./t/collation_check_use_collation.test: ok! 93 test cases passed, take time 0.606019865 s ./t/collation_misc.test: ok! 66 test cases passed, take time 0.494700461 s integrationtest passed! ./run-tests.sh: line 1: kill: (1067) - No such process ~/agent/workspace/pingcap/tidb/ghpr_check2/tidb ./t/collation_pointget.test: ok! 106 test cases passed, take time 0.646870116 s ./t/common_collation.test: ok! 26 test cases passed, take time 0.169737026 s go: downloading go1.23.8 (linux/amd64) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.27 secs (353671231 bytes/sec) [Pipeline] { [Pipeline] cache ./t/cte.test: ok! 237 test cases passed, take time 2.227120112 s ./t/db_integration.test: ok! 11 test cases passed, take time 0.046157652 s ./t/ddl/attributes_sql.test: ok! 30 test cases passed, take time 0.418691487 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 ./t/ddl/bdr_mode.test: ok! 371 test cases passed, take time 6.3299818420000005 s ./t/ddl/column.test: ok! 42 test cases passed, take time 0.587174957 s ./t/ddl/column_change.test: ok! 9 test cases passed, take time 0.060249785 s Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.40 secs (395436205 bytes/sec) [Pipeline] { [Pipeline] cache bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... ./t/ddl/column_modify.test: ok! 164 test cases passed, take time 3.565046051 s INFO: Invocation ID: 65acfcea-2d6b-4080-ab22-e35462d318bd INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_04.52739312/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.79 secs (332846710 bytes/sec) [Pipeline] { [Pipeline] cache 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-29890) 2925568000 bytes in 8.20 secs (356837885 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6386 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 89] [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/linux_amd64/net/http.a, 5.0 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/tool/linux_amd64/compile, 18.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (7 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.14 secs (359225507 bytes/sec) [Pipeline] { [Pipeline] cache [300 / 530] GoCompilePkg external/co_honnef_go_tools/simple/s1038/s1038.a [for tool]; Downloading external/co_honnef_go_tools/simple/s1038/s1038.a; 0s remote-cache ... (7 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.557s, Critical Path: 4.84s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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: e2f15228-4248-49a8-ae8b-fc554b25b13d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_04.52739312/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 (2 packages loaded, 5497 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8274 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,169 / 1,307] [Prepa] GoCompilePkg external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.999s, 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 ' 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: 808e6676-78dc-4403-b372-ea058faf3eb3 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_04.52739312/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. Analyzing: target //tests/realtikvtest/brietest:brietest_test (1 packages loaded, 0 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.18 secs (357758226 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //tests/realtikvtest/brietest:brietest_test (435 packages loaded, 894 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (731 packages loaded, 6549 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1042 packages loaded, 8584 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1164 packages loaded, 10489 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1251 packages loaded, 11196 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1411 packages loaded, 12426 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1484 packages loaded, 13181 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1591 packages loaded, 13921 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 targets configured) Analyzing: target //tests/realtikvtest/brietest:brietest_test (1673 packages loaded, 14479 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 Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.08 secs (362221933 bytes/sec) [Pipeline] { [Pipeline] sh [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r-- 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh [21 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 6.0 MiB / 8.3 MiB; 1s remote-cache ... (3 actions, 0 running) + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r-- 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] } [22 / 4,582] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [Pipeline] withEnv [Pipeline] { [402 / 4,582] GoCompilePkg external/com_github_klauspost_compress/flate/flate.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [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] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] stage [Pipeline] { (Test) [Pipeline] // cache [Pipeline] // cache None of the test reports contained any result [Checks API] No suitable checks publisher found. [840 / 4,582] GoCompilePkg pkg/parser/ast/ast.a; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [Pipeline] // cache [Pipeline] // cache [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] sh No test report files were found. Configuration error? + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] sh [1,188 / 4,582] GoCompilePkg pkg/parser/ast/ast.a; 1s remote-cache, linux-sandbox ... (9 actions, 2 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 [Pipeline] sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] 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] { ./t/ddl/column_type_change.test: ok! 1285 test cases passed, take time 47.864088485 s ./t/ddl/constraint.test: ok! 440 test cases passed, take time 4.9443776029999995 s [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] { + 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] timeout Timeout set to expire in 50 min [Pipeline] { [Pipeline] // cache [Pipeline] sh [1,435 / 4,582] GoCompilePkg pkg/planner/core/cost/cost.a; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN + chmod +x ../scripts/pingcap/tidb/br-lightning_run_group.sh ../scripts/pingcap/tidb/br-lightning_run_group_v2.sh ../scripts/pingcap/tidb/br_integration_test_download_dependency.sh ../scripts/pingcap/tidb/integrationtest.sh ../scripts/pingcap/tidb/integrationtest_v2.sh ../scripts/pingcap/tidb/integrationtest_with_tikv.sh ../scripts/pingcap/tidb/run_real_tikv_tests.sh ../scripts/pingcap/tidb/run_real_tikv_tests_with_gotest.sh [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] withCredentials Masking supported pattern matches of $CODECOV_TOKEN [Pipeline] } [Pipeline] sh [Pipeline] sh [1,758 / 4,582] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 1s remote-cache ... (9 actions, 2 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] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [2,766 / 4,582] GoCompilePkg pkg/parser/parser.a; 2s remote-cache, linux-sandbox ... (8 actions, 6 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] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] { [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] // dir [3,760 / 4,582] GoCompilePkg pkg/parser/parser.a; 3s remote-cache, linux-sandbox ... (14 actions, 12 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 + /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_sessiontest [Pipeline] sh [3,781 / 4,582] GoCompilePkg pkg/parser/parser.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_txntest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [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] { + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest1 [Pipeline] sh ./t/ddl/db.test: ok! 288 test cases passed, take time 8.682863924 s [Pipeline] cache + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_statisticstest ./t/ddl/db_cache.test: ok! 50 test cases passed, take time 0.609240094 s [3,782 / 4,582] GoCompilePkg pkg/parser/parser.a; 5s remote-cache, linux-sandbox ... (4 actions running) ./t/ddl/db_change.test: ok! 33 test cases passed, take time 0.557313567 s ./t/ddl/db_foreign_key.test: ok! 20 test cases passed, take time 0.307881899 s 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) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.26 secs (354315967 bytes/sec) [Pipeline] { go: downloading go1.23.8 (linux/amd64) [Pipeline] cache [3,783 / 4,582] Running nogo on //pkg/parser:parser; 11s remote-cache, linux-sandbox ... (4 actions, 2 running) [3,785 / 4,582] Running nogo on //pkg/parser:parser; 12s remote-cache, linux-sandbox ... (4 actions running) [3,785 / 4,582] Running nogo on //pkg/parser:parser; 14s remote-cache, linux-sandbox ... (4 actions running) [3,793 / 4,582] Running nogo on //pkg/parser:parser; 15s remote-cache, linux-sandbox ... (5 actions, 2 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a [3,800 / 4,582] Running nogo on //pkg/parser:parser; 16s remote-cache, linux-sandbox ... (8 actions, 2 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 go: downloading github.com/sergi/go-diff v1.1.0 [3,812 / 4,582] Running nogo on //pkg/parser:parser; 17s remote-cache, linux-sandbox ... (9 actions, 8 running) [3,821 / 4,582] Running nogo on //pkg/util/resourcegrouptag:resourcegrouptag; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [3,840 / 4,582] GoCompilePkg pkg/timer/runtime/runtime.a; 0s remote-cache, linux-sandbox ... (12 actions, 10 running) [3,863 / 4,582] GoCompilePkg pkg/meta/meta.a; 0s remote-cache, linux-sandbox ... (10 actions, 8 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.15 secs (409218268 bytes/sec) [Pipeline] { [Pipeline] cache bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [3,889 / 4,582] Running nogo on //pkg/util/execdetails:execdetails; 0s remote-cache, linux-sandbox ... (8 actions, 4 running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... [3,913 / 4,582] GoCompilePkg pkg/sessionctx/variable/variable.a; 1s remote-cache, linux-sandbox ... (5 actions, 4 running) 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... 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: fb045a07-9ce2-438b-b4d0-90aa1f685f35 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_06.2722392699/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: [3,925 / 4,582] Running nogo on //pkg/util/stmtsummary/v2:stmtsummary; 0s remote-cache, linux-sandbox ... (12 actions, 10 running) INFO: Invocation ID: e3b8438b-7039-42f8-9d8f-7c8077eef1cb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_06.2886967742/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'run' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition run:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes Loading: Starting local Bazel server and connecting to it... Starting local Bazel server and connecting to it... INFO: Invocation ID: b3044574-5df1-4a4b-8674-46c987df51f9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_08.2748083561/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: e611bf02-1d06-4937-873a-c18d100dc48f INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_08.2415359020/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: [3,951 / 4,582] GoCompilePkg pkg/sessionctx/sysproctrack/sysproctrack.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) Loading: Loading: Loading: Loading: 0 packages loaded INFO: Invocation ID: 3457726f-8d8e-4eed-ab15-896dd8f2d021 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_07.3096270228/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) INFO: Invocation ID: c399b322-644a-44ef-ab77-dfdc2edd3233 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_09.2503191234/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: Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [3,978 / 4,582] Running nogo on //pkg/util/tableutil:tableutil; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [3,984 / 4,582] GoCompilePkg pkg/expression/expression.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,000 / 4,582] GoCompilePkg pkg/expression/expression.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,021 / 4,582] GoCompilePkg pkg/expression/expression.a; 3s remote-cache, linux-sandbox ... (14 actions, 12 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,032 / 4,582] GoCompilePkg pkg/expression/expression.a; 4s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,044 / 4,582] GoCompilePkg pkg/expression/expression.a; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 8.11 secs (360932619 bytes/sec) [Pipeline] { [Pipeline] cache 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 (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (99 packages loaded, 5035 targets configured) [4,052 / 4,582] GoCompilePkg pkg/expression/expression.a; 6s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (45 packages loaded, 484 targets configured) 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 (53 packages loaded, 3697 targets configured) [4,062 / 4,582] GoCompilePkg pkg/expression/expression.a; 7s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) [4,075 / 4,582] GoCompilePkg pkg/expression/expression.a; 8s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //:gazelle (98 packages loaded, 5022 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,078 / 4,582] GoCompilePkg pkg/expression/expression.a; 10s remote-cache, linux-sandbox Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.69 secs (380451188 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5797 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, 5805 targets configured) Analyzing: target //:gazelle (407 packages loaded, 6339 targets configured) Analyzing: target //:gazelle (412 packages loaded, 6423 targets configured) [4,078 / 4,582] GoCompilePkg pkg/expression/expression.a; 19s remote-cache, linux-sandbox Analyzing: target //:gazelle (395 packages loaded, 6216 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5909 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 (170 packages loaded, 5929 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 79] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [0 / 84] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 91] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... (2 actions, 0 running) Analyzing: target //:gazelle (405 packages loaded, 6294 targets configured) Analyzing: target //:gazelle (410 packages loaded, 6353 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5834 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 10.9 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //:gazelle (408 packages loaded, 6317 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 79] [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/internal/diff.a; 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/internal/trace/traceviewer.a, 2.9 MiB / 3.4 MiB; 1s remote-cache ... (4 actions, 0 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 9.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [0 / 90] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 6.0 MiB / 8.3 MiB; 2s 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, 7.4 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.9 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.85 secs (372516662 bytes/sec) [Pipeline] { [Pipeline] cache [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 11.9 MiB / 12.2 MiB; 1s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 3s remote-cache ... (7 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/reflect.a, 2.3 MiB / 2.9 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, 16.8 MiB / 18.9 MiB; 3s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 14.0 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 2.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (4 actions, 0 running) [192 / 530] GoCompilePkg external/com_github_bazelbuild_buildtools/build/build.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [111 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 4s remote-cache ... (8 actions, 0 running) [85 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 11.0 MiB / 18.9 MiB; 3s remote-cache ... (6 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, 7.3 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.582s, Critical Path: 4.69s 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 [446 / 530] GoCompilePkg build/linter/staticcheck/SA3000.a [for tool]; 0s remote-cache ... (8 actions, 0 running) INFO: Elapsed time: 31.272s, Critical Path: 4.84s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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: 7d0efbdc-2b70-489e-aa2c-655d95e73fa4 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_08.2748083561/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: Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.582s, Critical Path: 4.84s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle 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: de2cbcb2-5706-4585-bee6-a0a59540e27d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_06.2722392699/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. [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (7 actions, 0 running) [124 / 530] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [152 / 530] GoCompilePkg external/bazel_gazelle/cmd/gazelle/gazelle.a; 0s remote-cache ... (8 actions, 0 running) 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: b7051f70-991c-4e44-b64a-35d63b038dcd INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_06.2886967742/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) [4,078 / 4,582] GoCompilePkg pkg/expression/expression.a; 28s remote-cache, linux-sandbox Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.207s, Critical Path: 4.63s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [486 / 530] [Prepa] Running nogo on @bazel_gazelle//flag:flag ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.541s, 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 Analyzing: target //tools/tazel:tazel (2 packages loaded, 5470 targets configured) [276 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa5007/sa5007.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa5007/sa5007.a; 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: b752b858-a0d8-40bb-823a-616d7f284fee INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_09.2503191234/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 //tools/tazel:tazel (3 packages loaded, 5111 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5485 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 33.000s, Critical Path: 4.92s 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: 268f0949-256d-4c9f-887d-d14d26f324f5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_07.3096270228/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) [4,081 / 4,582] GoCompilePkg pkg/table/table.a; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) 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 (46 packages loaded, 7303 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: 0dafaadc-5b75-4862-ad13-c06958caf5b9 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_08.2415359020/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 (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5364 targets configured) [4,095 / 4,582] GoCompilePkg pkg/statistics/statistics.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8284 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5385 targets configured) Analyzing: target //tools/tazel:tazel (255 packages loaded, 8136 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 Analyzing: target //tools/tazel:tazel (99 packages loaded, 7430 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 9] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [4,098 / 4,582] GoCompilePkg pkg/statistics/handle/cache/internal/internal.a; 0s remote-cache, linux-sandbox ... (11 actions, 10 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5344 targets configured) Analyzing: target //tools/tazel:tazel (45 packages loaded, 7270 targets configured) [1,159 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/coprocessor/coprocessor.a; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //tools/tazel:tazel (40 packages loaded, 7202 targets configured) [1,139 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 3.0 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tools/tazel:tazel (250 packages loaded, 8068 targets configured) Analyzing: target //tools/tazel:tazel (251 packages loaded, 7923 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured).  checking cached actions INFO: Found 1 target... [0 / 6] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,115 / 4,582] GoCompilePkg pkg/table/tables/tables.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 107] [Prepa] BazelWorkspaceStatusAction stable-status.txt Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.852s, Critical Path: 1.31s 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 ' ./t/ddl/db_integration.test: ok! 726 test cases passed, take time 51.654106445 s INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.065s, 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 ' [0 / 10] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (242 packages loaded, 7982 targets configured) [1,161 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.3 MiB / 10.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... [1,146 / 1,307] GoCompilePkg external/com_github_tikv_pd_client/opt/opt.a; Downloading external/com_github_tikv_pd_client/opt/opt.a; 0s remote-cache ... (8 actions, 0 running) [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.498s, Critical Path: 1.34s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.81 secs (374674998 bytes/sec) [Pipeline] { [4,132 / 4,582] GoCompilePkg pkg/expression/aggregation/aggregation.a; 0s remote-cache, linux-sandbox ... (16 actions running) [Pipeline] cache INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [1,148 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (6 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/txntest/... INFO: Invocation ID: 6045b6b5-de58-490b-9b33-092061ed6164 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_08.2748083561/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,159 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; 0s remote-cache ... (5 actions, 0 running) [4,149 / 4,582] GoCompilePkg pkg/expression/aggregation/aggregation.a; 1s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/pessimistictest/... INFO: Invocation ID: c6edc86b-48b8-4299-b4b4-73d9b00fc8b5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_06.2722392699/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: 6.020s, Critical Path: 1.35s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.057s, 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 //tests/realtikvtest/pessimistictest:pessimistictest_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/sessiontest/... INFO: Invocation ID: d8203c0f-7c11-4b77-b18c-b1aaad01e262 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_06.2886967742/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 Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.973s, Critical Path: 1.43s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' 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 (273 packages loaded, 1517 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1 packages loaded, 0 targets configured) [4,164 / 4,582] GoCompilePkg pkg/domain/infosync/infosync.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 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/statisticstest/... INFO: Invocation ID: 4ce3687d-1dda-4e72-950a-ae978f6cbbea INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_07.3096270228/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest1/... INFO: Invocation ID: 82ff8332-1530-4a2a-95a7-e436f6fc446d INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_09.2503191234/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/pessimistictest:pessimistictest_test (330 packages loaded, 4263 targets configured) Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (533 packages loaded, 5638 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1 packages loaded, 0 targets configured) bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest/... INFO: Invocation ID: 45d1c47c-9a9a-4f47-84d5-65e09e5d5959 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_08.2415359020/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/sessiontest:sessiontest_test (209 packages loaded, 4739 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (654 packages loaded, 5845 targets configured) [4,176 / 4,582] GoCompilePkg pkg/store/mockstore/unistore/cophandler/cophandler.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (285 packages loaded, 4539 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (805 packages loaded, 7493 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (616 packages loaded, 5533 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (151 packages loaded, 5218 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (826 packages loaded, 7778 targets configured) [4,193 / 4,582] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (314 packages loaded, 4618 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (604 packages loaded, 5294 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1059 packages loaded, 8690 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (723 packages loaded, 6370 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (699 packages loaded, 6535 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1110 packages loaded, 8550 targets configured) [4,208 / 4,582] GoCompilePkg pkg/store/mockstore/mockstorage/mockstorage.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (593 packages loaded, 5801 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (842 packages loaded, 6589 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1152 packages loaded, 10415 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (840 packages loaded, 7620 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (940 packages loaded, 7363 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1221 packages loaded, 10421 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (905 packages loaded, 6732 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (992 packages loaded, 7382 targets configured) [4,220 / 4,582] GoCompilePkg pkg/executor/internal/builder/builder.a; 0s remote-cache, linux-sandbox ... (8 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1297 packages loaded, 11552 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1060 packages loaded, 8604 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1004 packages loaded, 9378 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1040 packages loaded, 7680 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1357 packages loaded, 11288 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1101 packages loaded, 9308 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1413 packages loaded, 12555 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1182 packages loaded, 10696 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1149 packages loaded, 10468 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1117 packages loaded, 9535 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1426 packages loaded, 12210 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1226 packages loaded, 10003 targets configured) [4,230 / 4,582] GoCompilePkg pkg/infoschema/infoschema.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1456 packages loaded, 13011 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1257 packages loaded, 11242 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1329 packages loaded, 11985 targets configured) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.70 secs (379948745 bytes/sec) [Pipeline] { [Pipeline] cache Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1500 packages loaded, 12746 targets configured) [4,231 / 4,582] GoCompilePkg pkg/infoschema/infoschema.a; 2s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1211 packages loaded, 10310 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1384 packages loaded, 11818 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1341 packages loaded, 11745 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1428 packages loaded, 12923 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1595 packages loaded, 13267 targets configured) [4,232 / 4,582] GoCompilePkg pkg/sessiontxn/sessiontxn.a; 0s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1509 packages loaded, 13655 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1386 packages loaded, 11539 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1429 packages loaded, 12264 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1430 packages loaded, 12916 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1502 packages loaded, 13587 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14468 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13800 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1432 packages loaded, 12271 targets configured) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1509 packages loaded, 12986 targets configured) [4,256 / 4,582] GoCompilePkg pkg/privilege/privileges/privileges.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1566 packages loaded, 13861 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1546 packages loaded, 13613 targets configured) Analyzing: target //tests/realtikvtest/txntest:txntest_test (1671 packages loaded, 14468 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1503 packages loaded, 12928 targets configured) Analyzing: target //tests/realtikvtest/pessimistictest:pessimistictest_test (1672 packages loaded, 13800 targets configured) INFO: Analyzed target //tests/realtikvtest/txntest:txntest_test (1763 packages loaded, 15093 targets configured). INFO: Found 1 test target... [4,275 / 4,582] GoCompilePkg pkg/privilege/privileges/privileges.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1616 packages loaded, 13468 targets configured) INFO: Analyzed target //tests/realtikvtest/pessimistictest:pessimistictest_test (1764 packages loaded, 14426 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1666 packages loaded, 14338 targets configured) Analyzing: target //tests/realtikvtest/statisticstest:statisticstest_test (1671 packages loaded, 14465 targets configured) Analyzing: target //tests/realtikvtest/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) [4,295 / 4,582] GoCompilePkg pkg/privilege/privileges/privileges.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) [20 / 4,573] 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; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest1:addindextest1_test (1671 packages loaded, 13799 targets configured) Analyzing: target //tests/realtikvtest/sessiontest:sessiontest_test (1671 packages loaded, 14467 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest1:addindextest1_test (1763 packages loaded, 14424 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tests/realtikvtest/statisticstest:statisticstest_test (1763 packages loaded, 15090 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,313 / 4,582] GoCompilePkg pkg/statistics/handle/storage/storage.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/log.a; 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/addindextest:addindextest_test (1672 packages loaded, 13806 targets configured) [22 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 16.6 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) INFO: Analyzed target //tests/realtikvtest/addindextest:addindextest_test (1764 packages loaded, 14432 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [17 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 0s remote-cache ... (3 actions, 0 running) [4,324 / 4,582] GoCompilePkg pkg/ttl/ttlworker/ttlworker.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 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, 10.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [16 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [303 / 4,573] GoCompilePkg external/com_github_prometheus_procfs/internal/fs/fs.a; Downloading external/com_github_prometheus_procfs/internal/fs/fs.x; 0s remote-cache ... (8 actions, 0 running) [408 / 4,571] GoCompilePkg external/com_github_uber_jaeger_client_go/jaeger-client-go.a; Downloading external/com_github_uber_jaeger_client_go/jaeger-client-go.a, 2.0 MiB / 2.6 MiB; 0s 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, 9.0 MiB / 9.3 MiB; 1s remote-cache ... (8 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [4,345 / 4,582] GoCompilePkg pkg/ttl/ttlworker/ttlworker.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [24 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 6.0 MiB / 12.0 MiB; 2s remote-cache ... (8 actions, 0 running) [32 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [648 / 4,573] GoCompilePkg external/org_golang_google_protobuf/types/descriptorpb/descriptorpb.a; Downloading external/org_golang_google_protobuf/types/descriptorpb/descriptorpb.a, 167.8 KiB / 2.1 MiB; 0s remote-cache ... (8 actions, 0 running) [885 / 4,571] GoCompilePkg pkg/parser/ast/ast.a; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [124 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (8 actions, 0 running) [262 / 4,573] GoCompilePkg external/org_golang_x_sys/unix/unix.a; Downloading external/org_golang_x_sys/unix/unix.a, 2.0 MiB / 3.3 MiB; 0s remote-cache ... (8 actions, 0 running) [405 / 4,568] GoCompilePkg external/com_github_golangci_misspell/misspell.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [923 / 4,573] GoCompilePkg external/io_k8s_api/core/v1/core.a; 0s remote-cache ... (8 actions, 0 running) Cache restored successfully (ws/jenkins-pingcap-tidb-ghpr_check2-29890) 2925568000 bytes in 7.37 secs (396825449 bytes/sec) [Pipeline] { [Pipeline] sh [18 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.2 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) [4,356 / 4,582] GoCompilePkg pkg/lightning/mydump/mydump.a; 1s remote-cache, linux-sandbox ... (12 actions running) [Pipeline] sh [543 / 4,573] GoCompilePkg external/com_github_klauspost_compress/huff0/huff0.a; Downloading external/com_github_klauspost_compress/huff0/huff0.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh [1,112 / 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, 17.1 MiB / 71.4 MiB; 0s remote-cache ... (9 actions, 2 running) [681 / 4,573] GoCompilePkg external/in_gopkg_yaml_v2/yaml_v2.a; 0s remote-cache ... (8 actions, 0 running) [751 / 4,568] GoCompilePkg external/com_github_prometheus_client_golang/prometheus/promhttp/promhttp.a; Downloading external/com_github_prometheus_client_golang/prometheus/promhttp/promhttp.a, 599.8 KiB / 2.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,126 / 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, 45.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r-- 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [368 / 4,571] GoCompilePkg external/com_github_pingcap_goleveldb/leveldb/opt/opt.a; Downloading external/com_github_pingcap_goleveldb/leveldb/opt/opt.a; 0s remote-cache ... (8 actions, 0 running) [4,375 / 4,582] GoCompilePkg br/pkg/metautil/metautil.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r-- 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [974 / 4,573] GoCompilePkg external/org_golang_google_genproto_googleapis_api/annotations/annotations.a; 0s remote-cache ... (8 actions, 0 running) [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [1,282 / 4,571] GoCompilePkg pkg/parser/parser.a; 1s remote-cache, linux-sandbox ... (9 actions, 2 running) + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh [1,272 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; Downloading external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a, 10.4 MiB / 12.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,023 / 4,568] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; Downloading external/com_github_pingcap_kvproto/pkg/brpb/brpb.a, 2.8 MiB / 5.6 MiB; 0s remote-cache ... (8 actions, 0 running) + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [Pipeline] sh [734 / 4,571] GoCompilePkg pkg/parser/parser.a; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [4,391 / 4,582] [Prepa] GoCompilePkg pkg/lightning/backend/local/local.a [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [991 / 4,573] GoCompilePkg external/com_github_spf13_pflag/pflag.a; Downloading external/com_github_spf13_pflag/pflag.a; 0s remote-cache ... (8 actions, 0 running) + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [1,467 / 4,571] GoCompilePkg pkg/parser/parser.a; 2s remote-cache, linux-sandbox ... (6 actions, 2 running) [Pipeline] sh + ls -l rev-1dd066acfb93132580c76c3bfc96682684becfc4 -rw-r--r--. 1 jenkins jenkins 0 Apr 5 06:52 rev-1dd066acfb93132580c76c3bfc96682684becfc4 [1,214 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; Downloading external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a, 5.5 MiB / 12.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,274 / 4,568] GoCompilePkg pkg/parser/parser.a; 0s remote-cache, linux-sandbox ... (9 actions, 2 running) [961 / 4,571] GoCompilePkg pkg/parser/parser.a; 1s remote-cache, linux-sandbox ... (9 actions, 2 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest2 [1,247 / 4,573] GoCompilePkg external/org_golang_google_protobuf/types/known/anypb/anypb.a; 0s remote-cache ... (8 actions, 0 running) [1,758 / 4,573] GoCompilePkg pkg/config/config.a; Downloading pkg/config/config.a, 359.8 KiB / 711.8 KiB; 0s remote-cache ... (8 actions, 0 running) [2,763 / 4,571] GoCompilePkg pkg/parser/parser.a; 3s remote-cache, linux-sandbox ... (11 actions, 6 running) [1,428 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [4,393 / 4,582] GoCompilePkg pkg/lightning/backend/local/local.a; 1s remote-cache, linux-sandbox [1,490 / 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, 19.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [3,607 / 4,573] GoCompilePkg pkg/util/profile/profile.a; Downloading pkg/util/profile/profile.a; 0s remote-cache ... (8 actions, 0 running) [1,381 / 4,568] GoCompilePkg pkg/parser/parser.a; 1s remote-cache, linux-sandbox ... (9 actions, 2 running) [1,135 / 4,571] GoCompilePkg pkg/parser/parser.a; 2s remote-cache, linux-sandbox ... (9 actions, 2 running) [3,646 / 4,571] GoCompilePkg pkg/parser/parser.a; 4s remote-cache, linux-sandbox ... (13 actions, 10 running) [2,011 / 4,573] GoCompilePkg pkg/store/driver/error/error.a; Downloading pkg/store/driver/error/error.x; 0s remote-cache ... (7 actions, 0 running) [1,704 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/pdpb/pdpb.a; 0s remote-cache ... (6 actions, 0 running) [3,900 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 98.1 MiB / 108.6 MiB; 0s remote-cache ... (7 actions, 0 running) [2,014 / 4,568] GoCompilePkg pkg/parser/parser.a; 2s remote-cache, linux-sandbox ... (9 actions, 2 running) [1,206 / 4,571] GoCompilePkg pkg/parser/parser.a; 3s remote-cache, linux-sandbox ... (9 actions, 2 running) [4,397 / 4,582] [Prepa] GoCompilePkg pkg/ddl/ddl.a [3,579 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 27.2 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [3,766 / 4,571] GoCompilePkg pkg/parser/parser.a; 5s remote-cache, linux-sandbox ... (15 actions, 14 running) [2,526 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/txnkv/txnlock/txnlock.a; 0s remote-cache ... (7 actions, 0 running) [4,218 / 4,573] GoCompilePkg pkg/executor/internal/builder/builder.a; Downloading pkg/executor/internal/builder/builder.x, 143.8 KiB / 900.3 KiB; 0s remote-cache ... (4 actions, 0 running) [3,674 / 4,568] GoCompilePkg pkg/parser/parser.a; 3s remote-cache, linux-sandbox ... (7 actions, 4 running) [1,491 / 4,571] GoCompilePkg pkg/parser/parser.a; 4s remote-cache, linux-sandbox ... (5 actions, 2 running) [4,094 / 4,573] GoCompilePkg pkg/statistics/statistics.a; Downloading pkg/statistics/statistics.a, 3.0 MiB / 4.2 MiB; 0s remote-cache ... (3 actions, 0 running) [3,728 / 4,573] GoCompilePkg pkg/util/util.a; 0s remote-cache ... (4 actions, 0 running) [2,736 / 4,571] GoCompilePkg pkg/parser/parser.a; 5s remote-cache, linux-sandbox ... (9 actions, 4 running) [3,777 / 4,571] GoCompilePkg pkg/parser/parser.a; 6s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,582] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,353 / 4,573] Running nogo on //pkg/statistics/handle/autoanalyze/refresher:refresher; Downloading pkg/statistics/handle/autoanalyze/refresher/refresher.facts; 0s remote-cache ... (4 actions, 0 running) [3,777 / 4,568] GoCompilePkg pkg/parser/parser.a; 5s remote-cache, linux-sandbox ... (4 actions running) [4,397 / 4,573] Running nogo on //pkg/ddl:ddl; 0s remote-cache, linux-sandbox ... (4 actions running) [3,989 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 69.0 MiB / 108.6 MiB; 0s remote-cache ... (3 actions, 0 running) [3,777 / 4,571] GoCompilePkg pkg/parser/parser.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,399 / 4,582] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox [4,166 / 4,573] GoCompilePkg pkg/planner/core/operator/physicalop/physicalop.a; 0s remote-cache ... (8 actions, 0 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; 1s remote-cache, linux-sandbox [4,345 / 4,573] GoCompilePkg pkg/lightning/backend/kv/kv.a; 0s remote-cache ... (6 actions, 0 running) [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox go: downloading go1.23.8 (linux/amd64) [4,399 / 4,582] GoCompilePkg pkg/ddl/ddl.a; 7s remote-cache, linux-sandbox [4,404 / 4,582] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 0s remote-cache, linux-sandbox ... (7 actions, 4 running) [Pipeline] } [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [4,399 / 4,573] GoCompilePkg pkg/ddl/ddl.a; 7s remote-cache, linux-sandbox [4,408 / 4,573] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 0s remote-cache, linux-sandbox [Pipeline] } Cache not saved (ws/jenkins-pingcap-tidb-ghpr_check2-29890 already exists) [Pipeline] // script [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [Pipeline] // cache [4,410 / 4,582] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [Pipeline] // cache [Pipeline] // cache [Pipeline] } [Pipeline] sh [Pipeline] sh [4,400 / 4,573] [Prepa] GoCompilePkg pkg/ddl/schematracker/schematracker.a ... (6 actions, 0 running) [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 1s 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 [4,411 / 4,582] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox [3,777 / 4,571] GoCompilePkg pkg/parser/parser.a; 16s remote-cache, linux-sandbox ... (4 actions 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 + 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,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 1s 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 [3,777 / 4,568] GoCompilePkg pkg/parser/parser.a; 14s remote-cache, linux-sandbox ... (4 actions 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 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 [4,400 / 4,573] [Prepa] GoCompilePkg pkg/resourcegroup/runaway/runaway.a ... (6 actions, 0 running) [Pipeline] // dir go: downloading github.com/sergi/go-diff v1.1.0 + 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,412 / 4,582] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [4,411 / 4,573] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh + 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,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (4 actions, 0 running) [Pipeline] sh [4,420 / 4,582] GoCompilePkg pkg/plugin/plugin.a; 1s remote-cache, linux-sandbox ... (16 actions running) [3,778 / 4,571] Running nogo on //pkg/parser:parser; 15s remote-cache, linux-sandbox ... (4 actions, 2 running) + sed -i 's|repository_cache=/home/jenkins/.tidb/tmp|repository_cache=/share/.cache/bazel-repository-cache|g' Makefile.common + git diff . + git status HEAD detached at b2a5950 Untracked files: (use "git add ..." to include in what will be committed) ./ ../tidb@tmp/ nothing added to commit but untracked files present (use "git add" to track) [Pipeline] sh [3,777 / 4,571] GoCompilePkg pkg/parser/parser.a; 17s remote-cache, linux-sandbox ... (4 actions running) [3,777 / 4,571] GoCompilePkg pkg/parser/parser.a; 19s remote-cache, linux-sandbox ... (4 actions running) [4,420 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s 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) [3,777 / 4,568] GoCompilePkg pkg/parser/parser.a; 18s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] } [3,787 / 4,571] Running nogo on //pkg/parser:parser; 16s remote-cache, linux-sandbox ... (4 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 [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (7 actions, 0 running) [3,780 / 4,571] Running nogo on //pkg/parser:parser; 14s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest3 [Pipeline] sh [4,426 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 1s remote-cache, linux-sandbox ... (14 actions running) [4,426 / 4,582] GoCompilePkg pkg/plugin/plugin.a; 3s remote-cache, linux-sandbox ... (14 actions running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_addindextest4 [Pipeline] sh [3,795 / 4,571] Running nogo on //pkg/parser:parser; 17s remote-cache, linux-sandbox ... (16 actions running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest [Pipeline] sh [3,795 / 4,568] Running nogo on //pkg/parser:parser; 16s remote-cache, linux-sandbox ... (9 actions, 2 running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 3s remote-cache, linux-sandbox ... (14 actions running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest2 [Pipeline] sh [4,426 / 4,573] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 1s remote-cache, linux-sandbox ... (14 actions running) [3,797 / 4,571] Running nogo on //pkg/parser:parser; 15s remote-cache, linux-sandbox ... (13 actions, 12 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_pipelineddmltest [Pipeline] sh + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_flashbacktest [3,811 / 4,568] Running nogo on //pkg/parser:parser; 18s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,426 / 4,573] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 4s remote-cache, linux-sandbox ... (14 actions running) [Pipeline] // withCredentials [Pipeline] } [4,427 / 4,582] GoCompilePkg pkg/plugin/plugin.a; 4s remote-cache, linux-sandbox ... (14 actions, 12 running) [Pipeline] sh [3,813 / 4,571] GoCompilePkg pkg/sessionctx/stmtctx/stmtctx.a; 0s remote-cache, linux-sandbox ... (10 actions running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest3 [3,813 / 4,571] Running nogo on //pkg/parser:parser; 17s remote-cache, linux-sandbox ... (8 actions, 2 running) [4,427 / 4,573] GoCompilePkg pkg/plugin/plugin.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) + /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/scripts/pingcap/tidb/run_real_tikv_tests.sh bazel_importintotest4 [Pipeline] // timeout [Pipeline] } [3,825 / 4,571] Running nogo on //pkg/sessionctx/sessionstates:sessionstates; 0s remote-cache, linux-sandbox ... (10 actions, 6 running) [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [3,826 / 4,568] Running nogo on //pkg/types:types; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,435 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [Pipeline] // withEnv [4,433 / 4,582] GoCompilePkg pkg/executor/internal/exec/exec.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [3,835 / 4,571] Running nogo on //pkg/parser:parser; 18s remote-cache, linux-sandbox ... (5 actions, 4 running) [Pipeline] // stage [4,438 / 4,573] Running nogo on //pkg/planner/core/operator/logicalop:logicalop; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [Pipeline] } [3,872 / 4,571] Running nogo on //pkg/kv:kv; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,427 / 4,573] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) [3,873 / 4,568] Running nogo on //pkg/kv:kv; 0s remote-cache, linux-sandbox ... (4 actions running) [4,451 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,451 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,448 / 4,582] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (16 actions running) [3,839 / 4,571] Running nogo on //pkg/parser:parser; 19s remote-cache, linux-sandbox ... (4 actions running) 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... [3,890 / 4,571] GoCompilePkg pkg/sessionctx/variable/variable.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,456 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (14 actions running) [3,894 / 4,568] GoCompilePkg pkg/sessionctx/sysproctrack/sysproctrack.a; 0s remote-cache, linux-sandbox ... (14 actions running) [4,457 / 4,582] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 3s remote-cache, linux-sandbox ... (12 actions running) [3,908 / 4,571] Running nogo on //br/pkg/rtree:rtree; 0s remote-cache, linux-sandbox ... (14 actions running) [4,458 / 4,573] GoCompilePkg pkg/executor/lockstats/lockstats.a; 3s remote-cache, linux-sandbox ... (13 actions, 10 running) [3,915 / 4,571] Running nogo on //pkg/util/stmtsummary:stmtsummary; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,457 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (12 actions running) [4,457 / 4,573] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 3s remote-cache, linux-sandbox ... (12 actions running) [3,923 / 4,568] GoCompilePkg pkg/expression/exprstatic/exprstatic.a; 0s remote-cache, linux-sandbox ... (11 actions, 6 running) [4,467 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 3s remote-cache, linux-sandbox ... (9 actions, 8 running) INFO: Invocation ID: 729d9e36-de13-4b6e-a3ba-d85a0cc45101 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_16.2870061700/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,459 / 4,582] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [3,928 / 4,571] GoCompilePkg pkg/expression/expression.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Loading: [4,464 / 4,573] GoCompilePkg br/pkg/conn/conn.a; 4s remote-cache, linux-sandbox ... (15 actions, 14 running) [3,932 / 4,571] GoCompilePkg pkg/expression/expression.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,458 / 4,573] GoCompilePkg pkg/executor/lockstats/lockstats.a; 3s remote-cache, linux-sandbox ... (13 actions, 10 running) [4,476 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (14 actions running) [4,474 / 4,582] GoCompilePkg br/pkg/restore/restore.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [3,953 / 4,571] GoCompilePkg pkg/expression/expression.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [3,946 / 4,568] GoCompilePkg pkg/expression/expression.a; 1s remote-cache, linux-sandbox ... (14 actions, 12 running) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [4,479 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (14 actions, 12 running) [3,972 / 4,571] GoCompilePkg pkg/expression/expression.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,481 / 4,573] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 4s remote-cache, linux-sandbox ... (13 actions, 12 running) [3,985 / 4,571] GoCompilePkg pkg/expression/expression.a; 3s remote-cache, linux-sandbox ... (9 actions, 6 running) [3,984 / 4,568] GoCompilePkg pkg/expression/expression.a; 2s remote-cache, linux-sandbox ... (10 actions, 8 running) [4,486 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,488 / 4,582] GoCompilePkg br/pkg/restore/restore.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,494 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) [3,992 / 4,571] GoCompilePkg pkg/expression/expression.a; 3s remote-cache, linux-sandbox ... (6 actions, 4 running) [4,494 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,499 / 4,582] GoCompilePkg br/pkg/restore/restore.a; 2s remote-cache, linux-sandbox ... (11 actions, 10 running) go: downloading go1.23.8 (linux/amd64) [3,998 / 4,571] GoCompilePkg pkg/expression/expression.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) [3,999 / 4,568] GoCompilePkg pkg/expression/expression.a; 4s remote-cache, linux-sandbox ... (4 actions running) [4,499 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (11 actions, 10 running) go: downloading go1.23.8 (linux/amd64) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [3,999 / 4,571] GoCompilePkg pkg/expression/expression.a; 4s remote-cache, linux-sandbox ... (4 actions running) go: downloading go1.23.8 (linux/amd64) go: downloading go1.23.8 (linux/amd64) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (12 actions running) go: downloading go1.23.8 (linux/amd64) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (12 actions running) [4,002 / 4,571] GoCompilePkg pkg/expression/expression.a; 5s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,004 / 4,568] GoCompilePkg pkg/expression/expression.a; 5s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,501 / 4,582] GoCompilePkg br/pkg/restore/restore.a; 4s remote-cache, linux-sandbox ... (12 actions running) go: downloading go1.23.8 (linux/amd64) [4,501 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 4s remote-cache, linux-sandbox ... (12 actions running) go: downloading go1.23.8 (linux/amd64) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 4s remote-cache, linux-sandbox ... (10 actions running) [4,012 / 4,571] GoCompilePkg pkg/expression/expression.a; 5s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,021 / 4,571] GoCompilePkg pkg/expression/expression.a; 6s remote-cache, linux-sandbox ... (6 actions, 5 running) [4,020 / 4,568] GoCompilePkg pkg/expression/expression.a; 6s remote-cache, linux-sandbox ... (8 actions, 6 running) go: downloading go1.23.8 (linux/amd64) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,504 / 4,573] GoCompilePkg br/pkg/backup/backup.a; 4s remote-cache, linux-sandbox ... (8 actions, 6 running) [4,504 / 4,582] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,023 / 4,571] GoCompilePkg pkg/expression/expression.a; 7s remote-cache, linux-sandbox ... (10 actions running) [4,023 / 4,571] GoCompilePkg pkg/expression/expression.a; 7s remote-cache, linux-sandbox ... (10 actions running) [4,024 / 4,568] GoCompilePkg pkg/expression/expression.a; 7s remote-cache, linux-sandbox ... (10 actions, 8 running) [4,507 / 4,582] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (6 actions running) [4,503 / 4,573] GoCompilePkg br/pkg/backup/backup.a; 4s remote-cache, linux-sandbox ... (8 actions running) [4,506 / 4,573] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,502 / 4,573] GoCompilePkg br/pkg/stream/stream.a; 6s remote-cache, linux-sandbox ... (10 actions running) ./t/ddl/db_partition.test: ok! 1110 test cases passed, take time 54.254452741 s ./t/ddl/db_rename.test: ok! 21 test cases passed, take time 4.100551725 s ./t/ddl/db_table.test: ok! 58 test cases passed, take time 0.764641601 s ./t/ddl/ddl_error.test: ok! 14 test cases passed, take time 0.085095736 s ./t/ddl/ddl_tiflash.test: ok! 14 test cases passed, take time 0.055598308 s [4,029 / 4,571] GoCompilePkg pkg/expression/expression.a; 8s remote-cache, linux-sandbox ... (16 actions running) [4,030 / 4,571] GoCompilePkg pkg/expression/expression.a; 8s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [4,508 / 4,573] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,506 / 4,573] GoCompilePkg br/pkg/backup/backup.a; 6s remote-cache, linux-sandbox ... (8 actions running) [4,029 / 4,568] GoCompilePkg pkg/expression/expression.a; 9s remote-cache, linux-sandbox ... (15 actions, 14 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (4 actions running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 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,510 / 4,582] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (4 actions, 2 running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a [4,044 / 4,571] GoCompilePkg pkg/expression/expression.a; 10s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) go: downloading github.com/sergi/go-diff v1.1.0 [4,043 / 4,571] GoCompilePkg pkg/expression/expression.a; 10s remote-cache, linux-sandbox ... (16 actions running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,510 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (6 actions running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (4 actions running) [4,509 / 4,573] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (4 actions running) [4,048 / 4,571] GoCompilePkg pkg/expression/expression.a; 11s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,045 / 4,568] GoCompilePkg pkg/expression/expression.a; 11s remote-cache, linux-sandbox ... (16 actions running) GOBIN=/home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/tools/bin GO111MODULE=on go install github.com/pingcap/failpoint/failpoint-ctl@9b3b6e3 go: downloading github.com/pingcap/failpoint v0.0.0-20240527053858-9b3b6e34194a go: downloading github.com/sergi/go-diff v1.1.0 [4,512 / 4,582] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,055 / 4,571] GoCompilePkg pkg/expression/expression.a; 11s remote-cache, linux-sandbox ... (16 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) [4,051 / 4,568] GoCompilePkg pkg/expression/expression.a; 12s remote-cache, linux-sandbox ... (16 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions running) [4,058 / 4,571] GoCompilePkg pkg/expression/expression.a; 12s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions running) [4,056 / 4,571] GoCompilePkg pkg/expression/expression.a; 12s remote-cache, linux-sandbox ... (16 actions running) [4,061 / 4,568] GoCompilePkg pkg/expression/expression.a; 13s remote-cache, linux-sandbox ... (12 actions running) [4,513 / 4,582] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,061 / 4,571] GoCompilePkg pkg/expression/expression.a; 13s remote-cache, linux-sandbox ... (12 actions running) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,064 / 4,571] GoCompilePkg pkg/expression/expression.a; 13s remote-cache, linux-sandbox ... (10 actions, 8 running) [4,067 / 4,568] GoCompilePkg pkg/expression/expression.a; 14s remote-cache, linux-sandbox ... (8 actions running) [4,071 / 4,571] GoCompilePkg pkg/expression/expression.a; 14s remote-cache, linux-sandbox ... (4 actions running) [4,513 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,515 / 4,582] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,512 / 4,573] GoCompilePkg pkg/planner/core/core.a; 10s remote-cache, linux-sandbox ... (4 actions running) [4,072 / 4,571] GoCompilePkg pkg/expression/expression.a; 15s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,071 / 4,568] GoCompilePkg pkg/expression/expression.a; 15s remote-cache, linux-sandbox ... (4 actions running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 11s remote-cache, linux-sandbox ... (4 actions running) 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... [4,073 / 4,571] GoCompilePkg pkg/expression/expression.a; 16s remote-cache, linux-sandbox [4,073 / 4,571] GoCompilePkg pkg/expression/expression.a; 16s remote-cache, linux-sandbox [4,074 / 4,568] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (7 actions, 0 running) Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... Starting local Bazel server and connecting to it... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... bazel --output_user_root=/home/jenkins/.tidb/tmp run --config=ci --repository_cache=/share/.cache/bazel-repository-cache //:gazelle Extracting Bazel installation... [4,080 / 4,571] Running nogo on //pkg/table:table; 0s remote-cache, linux-sandbox ... (8 actions running) Starting local Bazel server and connecting to it... [4,516 / 4,582] GoCompilePkg pkg/planner/core/core.a; 13s remote-cache, linux-sandbox ... (4 actions, 2 running) Starting local Bazel server and connecting to it... [4,086 / 4,571] GoCompilePkg pkg/planner/util/tablesampler/tablesampler.a; 0s remote-cache, linux-sandbox ... (8 actions running) INFO: Invocation ID: dfaa0d77-cf7e-4322-ae68-9b9b04914b22 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1134511170/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: 021dc623-e0ff-4a8f-aa66-385888218a23 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1860895246/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... [4,088 / 4,568] GoCompilePkg pkg/statistics/statistics.a; 0s remote-cache, linux-sandbox ... (5 actions, 4 running) INFO: Invocation ID: 9dd6956d-b967-4a2b-a267-90099266be35 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.3045240352/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,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions, 2 running) INFO: Invocation ID: 854cc9a3-bb60-41a0-a8df-ec1f8e7b03ac INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.3574886606/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... [4,094 / 4,571] Running nogo on //pkg/statistics/handle/cache/internal:internal; 0s remote-cache, linux-sandbox ... (9 actions, 8 running) INFO: Invocation ID: b03f9330-4af1-45da-a465-5f21e99943bf INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.771641193/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,517 / 4,582] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (5 actions, 4 running) INFO: Invocation ID: e546cb11-9a1e-405f-969c-f08aec1a27b5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.2908285721/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: [4,093 / 4,571] GoCompilePkg pkg/statistics/handle/cache/internal/internal.a; 0s remote-cache, linux-sandbox ... (11 actions, 10 running) [4,094 / 4,568] GoCompilePkg pkg/planner/property/property.a; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,515 / 4,573] GoCompilePkg pkg/planner/core/core.a; 14s remote-cache, linux-sandbox ... (4 actions running) Loading: Loading: Loading: Loading: 0 packages loaded Loading: INFO: Invocation ID: 9f0bc7f4-ed09-4d52-94b4-7aebbb3cf1eb INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1286640161/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,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (4 actions, 2 running) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [4,517 / 4,573] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (5 actions, 4 running) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) INFO: Invocation ID: 64f666b6-d9a6-4dac-95a9-132f16b3f3b4 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.2911790452/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: [4,110 / 4,571] GoCompilePkg pkg/planner/util/utilfuncp/utilfuncp.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,111 / 4,568] GoCompilePkg pkg/planner/core/rule/util/util.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 15s remote-cache, linux-sandbox ... (4 actions running) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) [4,111 / 4,571] GoCompilePkg pkg/planner/util/util.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Loading: [4,518 / 4,582] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions running) [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions running) Loading: Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Loading: Loading: 0 packages loaded 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 (1 packages loaded, 0 targets configured) [4,136 / 4,571] GoCompilePkg pkg/util/admin/admin.a; 0s remote-cache, linux-sandbox ... (12 actions, 10 running) Loading: Loading: 0 packages loaded [4,127 / 4,571] GoCompilePkg pkg/planner/cardinality/cardinality.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,138 / 4,568] Running nogo on //pkg/store/driver/txn:txn; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,518 / 4,573] GoCompilePkg pkg/planner/core/core.a; 16s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Loading: Loading: 0 packages loaded Analyzing: target //:gazelle (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (9 actions, 2 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (8 actions, 2 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,154 / 4,571] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,156 / 4,571] Running nogo on //pkg/domain/infosync:infosync; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,518 / 4,582] GoCompilePkg pkg/planner/core/core.a; 18s remote-cache, linux-sandbox ... (4 actions running) [4,154 / 4,568] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; 0s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,521 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (13 actions, 12 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,170 / 4,568] GoCompilePkg pkg/store/mockstore/mockcopr/mockcopr.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,519 / 4,573] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (7 actions, 2 running) [4,523 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (13 actions, 12 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,165 / 4,571] GoCompilePkg br/pkg/streamhelper/streamhelper.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,162 / 4,571] GoCompilePkg pkg/executor/aggfuncs/aggfuncs.a; 1s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,521 / 4,582] GoCompilePkg pkg/executor/sortexec/sortexec.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,526 / 4,573] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,523 / 4,573] GoCompilePkg br/pkg/task/task.a; 4s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,182 / 4,571] Running nogo on //pkg/store/mockstore/mockcopr:mockcopr; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [4,533 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,174 / 4,568] GoCompilePkg pkg/store/mockstore/unistore/tikv/tikv.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,529 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,181 / 4,571] GoCompilePkg pkg/store/copr/copr.a; 1s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,531 / 4,573] GoCompilePkg br/pkg/task/task.a; 5s remote-cache, linux-sandbox ... (12 actions running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5782 targets configured) Analyzing: target //:gazelle (238 packages loaded, 6323 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,204 / 4,568] Running nogo on //pkg/store/mockstore/unistore:unistore; 0s remote-cache, linux-sandbox ... (9 actions, 5 running) [4,532 / 4,573] GoCompilePkg pkg/planner/planner.a; 2s remote-cache, linux-sandbox ... (12 actions, 10 running) [4,539 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (8 actions running) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [4,207 / 4,571] GoCompilePkg pkg/distsql/distsql.a; 0s remote-cache, linux-sandbox ... (10 actions running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,201 / 4,571] Running nogo on //pkg/store/mockstore/unistore/tikv:tikv; 0s remote-cache, linux-sandbox ... (12 actions running) [4,538 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 3s remote-cache, linux-sandbox ... (11 actions, 10 running) Analyzing: target //:gazelle (67 packages loaded, 1786 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) [4,540 / 4,573] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 4s remote-cache, linux-sandbox ... (7 actions, 6 running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured).  checking cached actions INFO: Found 1 target... [0 / 88] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (70 packages loaded, 2209 targets configured) [4,539 / 4,573] GoCompilePkg pkg/planner/planner.a; 3s remote-cache, linux-sandbox ... (9 actions, 8 running) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) Analyzing: target //:gazelle (44 packages loaded, 462 targets configured) [4,222 / 4,571] Running nogo on //pkg/infoschema/internal:internal; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,222 / 4,571] Running nogo on //pkg/infoschema/internal:internal; 0s remote-cache, linux-sandbox ... (4 actions running) [4,542 / 4,582] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 4s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,221 / 4,568] GoCompilePkg pkg/infoschema/infoschema.a; 0s remote-cache, linux-sandbox ... (4 actions, 2 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,544 / 4,573] [Prepa] GoCompilePkg pkg/executor/executor.a Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (66 packages loaded, 1324 targets configured) Analyzing: target //:gazelle (45 packages loaded, 463 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 4.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) Analyzing: target //:gazelle (71 packages loaded, 3987 targets configured) Analyzing: target //:gazelle (45 packages loaded, 462 targets configured) [4,225 / 4,571] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,225 / 4,568] GoCompilePkg pkg/infoschema/infoschema.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,544 / 4,573] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,546 / 4,582] GoCompilePkg br/pkg/task/operator/operator.a; 4s remote-cache, linux-sandbox ... (6 actions running) [4,544 / 4,573] Running nogo on //pkg/executor:executor; 0s remote-cache, linux-sandbox ... (4 actions running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/net/http.a, 7.0 MiB / 8.3 MiB; 1s remote-cache ... (4 actions, 0 running) [4,227 / 4,571] [Prepa] GoCompilePkg pkg/lock/lock.a ... (8 actions, 0 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,544 / 4,573] Running nogo on //pkg/executor:executor; 1s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,243 / 4,571] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,547 / 4,582] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,239 / 4,568] GoCompilePkg pkg/privilege/privileges/privileges.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,251 / 4,571] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache, linux-sandbox ... (14 actions, 12 running) [25 / 530] 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; 2s remote-cache ... (6 actions, 0 running) [4,268 / 4,571] Running nogo on //pkg/lightning/common:common; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,273 / 4,568] Running nogo on //pkg/privilege/privileges:privileges; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) ./t/ddl/default_as_expression.test: ok! 411 test cases passed, take time 20.71730825 s ./t/ddl/fail_db.test: ok! 12 test cases passed, take time 0.177176508 s [4,265 / 4,571] GoCompilePkg pkg/privilege/privileges/privileges.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [50 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (5 actions, 0 running) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,295 / 4,571] GoCompilePkg pkg/lightning/mydump/mydump.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,285 / 4,571] GoCompilePkg br/pkg/restore/split/split.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,290 / 4,568] GoCompilePkg pkg/lightning/backend/kv/kv.a; 0s remote-cache, linux-sandbox ... (16 actions running) [4,545 / 4,573] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [354 / 530] GoCompilePkg build/linter/predeclared/predeclared.a [for tool]; Downloading build/linter/predeclared/predeclared.x, 32.0 KiB / 62.1 KiB; 0s remote-cache ... (7 actions, 0 running) [4,548 / 4,582] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 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 Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 34.353s, Critical Path: 5.08s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [4,305 / 4,571] Running nogo on //pkg/lightning/backend/kv:kv; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,305 / 4,568] Running nogo on //pkg/lightning/backend/kv:kv; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,314 / 4,571] Running nogo on //pkg/lightning/mydump:mydump; 0s remote-cache, linux-sandbox ... (15 actions, 14 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: 74b6fa9b-c42e-44e7-86ab-073dcb157334 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_16.2870061700/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) [4,325 / 4,571] GoCompilePkg pkg/statistics/handle/autoanalyze/priorityqueue/priorityqueue.a; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,332 / 4,568] Running nogo on //pkg/lightning/mydump:mydump; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,549 / 4,582] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,334 / 4,571] GoCompilePkg pkg/lightning/backend/external/external.a; 0s remote-cache, linux-sandbox ... (16 actions running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5463 targets configured) [4,350 / 4,571] GoCompilePkg pkg/statistics/handle/autoanalyze/autoanalyze.a; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,341 / 4,571] Running nogo on //pkg/ttl/ttlworker:ttlworker; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,345 / 4,568] Running nogo on //pkg/lightning/checkpoints:checkpoints; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tools/tazel:tazel (43 packages loaded, 7270 targets configured) ./t/ddl/foreign_key.test: ok! 181 test cases passed, take time 6.942007365 s [4,363 / 4,571] Running nogo on //pkg/statistics/handle/syncload:syncload; 0s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,368 / 4,568] Running nogo on //pkg/statistics/handle/ddl:ddl; 0s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,372 / 4,571] Running nogo on //pkg/statistics/handle:handle; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tools/tazel:tazel (251 packages loaded, 8089 targets configured) [4,379 / 4,568] GoCompilePkg pkg/lightning/backend/local/local.a; 0s remote-cache, linux-sandbox ... (6 actions, 2 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,381 / 4,571] Running nogo on //br/pkg/config:config; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,378 / 4,571] Running nogo on //br/pkg/metautil:metautil; 0s 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,386 / 4,571] GoCompilePkg pkg/lightning/backend/local/local.a; 1s remote-cache, linux-sandbox ... (4 actions running) [1,117 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 6.8 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [4,390 / 4,571] Running nogo on //pkg/ddl/ingest:ingest; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) [4,391 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.140s, 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 //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5898 targets configured) [4,392 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5867 targets configured) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 1s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //:gazelle (170 packages loaded, 5933 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5912 targets configured) Analyzing: target //:gazelle (406 packages loaded, 6339 targets configured) Analyzing: target //:gazelle (411 packages loaded, 6410 targets configured) Analyzing: target //:gazelle (401 packages loaded, 6329 targets configured) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 2s remote-cache, linux-sandbox ... (4 actions 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: 20c3b3b1-86b8-4fa3-842d-782ce2414a6e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_16.2870061700/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 //:gazelle (399 packages loaded, 6230 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target...  checking cached actions Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5920 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1 packages loaded, 0 targets configured) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5923 targets configured) [0 / 99] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) Analyzing: target //:gazelle (170 packages loaded, 5919 targets configured) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 85] [Prepa] BazelWorkspaceStatusAction stable-status.txt ... ( 1 action running) [4,392 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //:gazelle (100 packages loaded, 5086 targets configured) Analyzing: target //:gazelle (170 packages loaded, 5918 targets configured) Analyzing: target //:gazelle (404 packages loaded, 6343 targets configured) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 14s remote-cache, linux-sandbox Analyzing: target //:gazelle (416 packages loaded, 6346 targets configured) Analyzing: target //:gazelle (413 packages loaded, 6388 targets configured) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 14s remote-cache, linux-sandbox [4,393 / 4,568] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 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) 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) [4,393 / 4,571] GoCompilePkg pkg/ddl/ddl.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (270 packages loaded, 4427 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) [4,547 / 4,573] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions 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) 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 (414 packages loaded, 6340 targets configured) [4,547 / 4,573] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (4 actions running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/reflect.a, 167.5 KiB / 2.9 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, 7.0 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [4,396 / 4,568] GoCompilePkg pkg/resourcegroup/runaway/runaway.a; 0s remote-cache, linux-sandbox ... (10 actions running) INFO: Analyzed target //:gazelle (430 packages loaded, 6967 targets configured). INFO: Found 1 target... [0 / 85] [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, 1.4 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [4,546 / 4,573] GoCompilePkg pkg/executor/executor.a; 14s remote-cache, linux-sandbox [4,547 / 4,573] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions 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, 3.8 MiB / 4.1 MiB; 0s remote-cache ... (4 actions, 0 running) [4,397 / 4,571] GoCompilePkg pkg/ddl/schematracker/schematracker.a; 0s remote-cache, linux-sandbox ... (9 actions, 8 running) [4,397 / 4,571] GoCompilePkg pkg/resourcegroup/runaway/runaway.a; 0s remote-cache, linux-sandbox ... (9 actions, 8 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (615 packages loaded, 6788 targets configured) [4,549 / 4,582] GoCompilePkg pkg/executor/executor.a; 14s remote-cache, linux-sandbox ./t/ddl/index_modify.test: ok! 39 test cases passed, take time 7.30578186 s [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/crypto/tls.a, 2.5 MiB / 4.0 MiB; 1s remote-cache ... (4 actions, 0 running) [4,551 / 4,582] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 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, 8.2 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (4 actions, 0 running) [4,404 / 4,568] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (4 actions running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.8 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (886 packages loaded, 8339 targets configured) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace/traceviewer.a, 3.0 MiB / 3.4 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, 11.0 MiB / 12.2 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/internal/trace/traceviewer.a, 2.0 MiB / 3.4 MiB; 0s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 4.7 MiB / 18.9 MiB; 2s remote-cache ... (4 actions, 0 running) [4,404 / 4,571] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,405 / 4,571] GoCompilePkg pkg/domain/domain.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 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, 18.8 MiB / 18.9 MiB; 1s remote-cache ... (4 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 10.8 MiB / 11.8 MiB; 1s remote-cache ... (4 actions, 0 running) [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/pprof, 9.0 MiB / 11.8 MiB; 3s 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/compile, 7.0 MiB / 18.9 MiB; 2s remote-cache ... (8 actions, 0 running) [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [4,549 / 4,573] GoCompilePkg pkg/session/session.a; 3s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1024 packages loaded, 9133 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, 8.1 MiB / 8.3 MiB; 2s remote-cache ... (4 actions, 0 running) [4,407 / 4,568] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a [34 / 530] 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; 3s remote-cache ... (8 actions, 0 running) [4,552 / 4,582] GoCompilePkg pkg/session/session.a; 2s remote-cache, linux-sandbox [4,406 / 4,571] GoCompilePkg pkg/domain/domain.a; 1s remote-cache, linux-sandbox [4,407 / 4,571] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (6 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/trace, 11.9 MiB / 12.0 MiB; 1s remote-cache ... (4 actions, 0 running) [51 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 3s remote-cache ... (8 actions, 0 running) [24 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (4 actions, 0 running) [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1296 packages loaded, 10774 targets configured) [30 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (8 actions, 0 running) [27 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 7.1 MiB / 18.9 MiB; 2s remote-cache ... (6 actions, 0 running) [25 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 17.9 MiB / 18.9 MiB; 2s remote-cache ... (3 actions, 0 running) [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [194 / 530] GoCompilePkg external/com_github_golangci_gosec/rules/rules.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [229 / 530] [Prepa] GoCompilePkg external/co_honnef_go_tools/stylecheck/st1022/st1022.a [for tool] ... (8 actions, 0 running) [4,411 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,413 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 1s remote-cache, linux-sandbox ... (16 actions running) [321 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4023/sa4023.a [for tool]; 0s remote-cache ... (7 actions, 0 running) [26 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 4.6 MiB / 12.2 MiB; 2s remote-cache ... (8 actions, 0 running) [342 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4012/sa4012.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4012/sa4012.a, 79.8 KiB / 350.5 KiB; 0s remote-cache ... (8 actions, 0 running) [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.052s, Critical Path: 4.70s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [292 / 530] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4028/sa4028.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [289 / 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: 31.803s, Critical Path: 4.72s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [250 / 530] GoLink external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle; Downloading external/bazel_gazelle/cmd/gazelle/gazelle_/gazelle, 3.3 MiB / 7.4 MiB; 0s remote-cache ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.270s, Critical Path: 4.75s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [4,413 / 4,568] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 1s remote-cache, linux-sandbox ... (16 actions running) [4,553 / 4,582] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,554 / 4,573] GoCompilePkg pkg/store/driver/driver.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1429 packages loaded, 12123 targets configured) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.818s, Critical Path: 4.74s 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 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: dc6a49d4-16f8-409c-b3b5-5e5a664ed49e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.3574886606/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 [4,554 / 4,573] GoCompilePkg pkg/store/driver/driver.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 31.043s, Critical Path: 4.18s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle [116 / 530] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 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: d6b21436-e723-4651-a461-e358f2e28f98 Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.908s, Critical Path: 4.15s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.3045240352/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) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle INFO: Elapsed time: 30.900s, Critical Path: 4.23s INFO: 530 processes: 510 remote cache hit, 20 internal. INFO: Build completed successfully, 530 total actions INFO: Running command line: bazel-bin/gazelle INFO: Invocation ID: 0bc8f6f9-3f40-4b21-b599-2bf9a31f1b57 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1134511170/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 [4,414 / 4,568] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 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: caaab91f-adc4-4f73-a093-94a2a11986a7 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.771641193/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 (1 packages loaded, 0 targets configured) INFO: Invocation ID: 408047bb-afba-4931-9276-1ecc32b992e5 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1860895246/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. [4,559 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 0s remote-cache, linux-sandbox ... (8 actions running) [4,555 / 4,573] GoCompilePkg pkg/store/driver/driver.a; 0s remote-cache, linux-sandbox 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: bcf400af-4263-4a2c-8c4d-6ebc09b589af INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.2908285721/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) [4,412 / 4,571] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1461 packages loaded, 12364 targets configured) [4,414 / 4,571] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 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: 86b140f1-ea61-4aba-be92-275ed8b07b07 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.1286640161/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 (1 packages loaded, 0 targets configured) [486 / 530] [Prepa] Running nogo on @org_golang_x_mod//semver:semver ... (8 actions, 0 running) Target //:gazelle up-to-date: bazel-bin/gazelle-runner.bash bazel-bin/gazelle [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ./t/ddl/integration.test: ok! 91 test cases passed, take time 5.392261182 s [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox INFO: Elapsed time: 31.425s, Critical Path: 4.61s 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 (2 packages loaded, 5311 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5369 targets configured) Analyzing: target //tools/tazel:tazel (2 packages loaded, 4945 targets configured) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1611 packages loaded, 13107 targets configured) [4,423 / 4,571] GoCompilePkg pkg/executor/internal/exec/exec.a; 3s remote-cache, linux-sandbox ... (11 actions, 10 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: 1258a40a-9d82-48aa-93bc-19dff1486647 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'run' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'run' from /data/..2025_04_05_06_53_21.2911790452/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. [4,426 / 4,568] GoCompilePkg br/pkg/glue/glue.a; 3s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5506 targets configured) Analyzing: target //tools/tazel:tazel (1 packages loaded, 0 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5395 targets configured) [4,427 / 4,571] Running nogo on //pkg/planner/core/operator/logicalop:logicalop; 0s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tools/tazel:tazel (2 packages loaded, 5424 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5241 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (35 packages loaded, 7163 targets configured) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox [4,563 / 4,582] GoCompilePkg br/pkg/gluetikv/gluetikv.a; 2s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1639 packages loaded, 13601 targets configured) [4,430 / 4,571] Running nogo on //pkg/planner/core/operator/logicalop:logicalop; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox Analyzing: target //tools/tazel:tazel (76 packages loaded, 7319 targets configured) Analyzing: target //tools/tazel:tazel (3 packages loaded, 5391 targets configured) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) [4,437 / 4,571] GoCompilePkg br/pkg/conn/conn.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,559 / 4,573] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (2 actions, 0 running) Analyzing: target //tools/tazel:tazel (46 packages loaded, 7303 targets configured) Analyzing: target //tools/tazel:tazel (16 packages loaded, 6817 targets configured) [4,432 / 4,568] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tools/tazel:tazel (256 packages loaded, 8236 targets configured) Analyzing: target //tools/tazel:tazel (227 packages loaded, 7919 targets configured) [4,558 / 4,573] GoCompilePkg pkg/testkit/testkit.a; 2s remote-cache, linux-sandbox Analyzing: target //tools/tazel:tazel (258 packages loaded, 8304 targets configured) Analyzing: target //tools/tazel:tazel (99 packages loaded, 7430 targets configured) Analyzing: target //tools/tazel:tazel (262 packages loaded, 8287 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 [4,570 / 4,582] GoCompilePkg br/pkg/gluetidb/gluetidb.a; 1s remote-cache, linux-sandbox ... (4 actions, 2 running) Analyzing: target //tests/realtikvtest/addindextest2:addindextest2_test (1694 packages loaded, 13932 targets configured) [4,441 / 4,571] GoCompilePkg br/pkg/conn/conn.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,435 / 4,571] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,563 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (253 packages loaded, 8096 targets configured) Analyzing: target //tools/tazel:tazel (99 packages loaded, 7430 targets configured) [4,563 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,439 / 4,568] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tools/tazel:tazel (43 packages loaded, 7270 targets configured) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 32] [Prepa] BazelWorkspaceStatusAction stable-status.txt INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 3] [Prepa] BazelWorkspaceStatusAction stable-status.txt 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).  checking cached actions INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt [1,111 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (8 actions, 0 running) 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 [4,447 / 4,571] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,442 / 4,571] GoCompilePkg pkg/executor/lockstats/lockstats.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [0 / 4] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,457 / 4,568] GoCompilePkg br/pkg/conn/conn.a; 2s remote-cache, linux-sandbox ... (11 actions, 10 running) [1,116 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 8.0 MiB / 8.0 MiB; 0s remote-cache ... (7 actions, 0 running) Analyzing: target //tools/tazel:tazel (252 packages loaded, 7960 targets configured) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox [1,177 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a; Downloading external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a; 0s remote-cache ... (5 actions, 0 running) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 1s remote-cache, linux-sandbox [1,178 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a; Downloading external/com_github_pingcap_kvproto/pkg/raft_serverpb/raft_serverpb.a, 1.3 MiB / 2.2 MiB; 0s remote-cache ... (5 actions, 0 running) [1,130 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; 0s remote-cache ... (7 actions, 0 running) INFO: Analyzed target //tools/tazel:tazel (277 packages loaded, 8593 targets configured). INFO: Found 1 target... [0 / 7] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,461 / 4,571] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 3s remote-cache, linux-sandbox ... (16 actions running) [4,572 / 4,582] GoCompilePkg br/pkg/gluetidb/gluetidb.a; 2s remote-cache, linux-sandbox ... (4 actions running) [1,141 / 1,307] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 7.2 MiB / 10.2 MiB; 0s remote-cache ... (7 actions, 0 running) [4,465 / 4,571] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 0s remote-cache, linux-sandbox ... (14 actions, 13 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.588s, Critical Path: 1.40s 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,089 / 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.5 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 2s remote-cache, linux-sandbox Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.117s, Critical Path: 1.43s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.980s, Critical Path: 1.60s 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 ' [16 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 6.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.615s, Critical Path: 1.43s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' [4,564 / 4,573] GoCompilePkg tests/realtikvtest/realtikvtest.a; 2s remote-cache, linux-sandbox [4,573 / 4,582] GoCompilePkg tests/realtikvtest/realtikvtest.a; 2s remote-cache, linux-sandbox [4,472 / 4,568] GoCompilePkg br/pkg/stream/stream.a; 0s remote-cache, linux-sandbox ... (13 actions, 12 running) [1,119 / 1,307] GoCompilePkg external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a; Downloading external/io_etcd_go_etcd_api_v3/etcdserverpb/etcdserverpb.a, 3.6 MiB / 8.0 MiB; 0s remote-cache ... (8 actions, 0 running) [4,565 / 4,573] [Prepa] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a ... (2 actions, 0 running) Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.258s, Critical Path: 1.49s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 5.912s, Critical Path: 1.43s INFO: 867 processes: 864 remote cache hit, 3 internal. INFO: Build completed successfully, 867 total actions INFO: Running command line: /bin/bash -c 'cd /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb && bazel-bin/tools/tazel/tazel_/tazel ' Target //tools/tazel:tazel up-to-date: bazel-bin/tools/tazel/tazel_/tazel INFO: Elapsed time: 6.631s, 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 ' [4,567 / 4,573] GoCompilePkg tests/realtikvtest/statisticstest/statisticstest_test.internal.a; 0s remote-cache, linux-sandbox [17 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/math/big.a, 1.1 MiB / 1.8 MiB; 2s remote-cache ... (8 actions, 0 running) [4,473 / 4,571] GoCompilePkg br/pkg/restore/data/data.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) [4,475 / 4,571] GoCompilePkg br/pkg/checkpoint/checkpoint.a; 2s remote-cache, linux-sandbox ... (14 actions running) [4,479 / 4,568] GoCompilePkg br/pkg/stream/stream.a; 1s remote-cache, linux-sandbox ... (16 actions 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/... 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: a2c69e81-fc16-49d3-8b68-33f0b577bf13 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.3574886606/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: 5.989s, 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 ' 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: d53eaf5a-3023-44b7-8b71-7f463cac6088 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.2908285721/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: [4,568 / 4,573] [Prepa] GoCompilePkgExternal tests/realtikvtest/txntest/txntest_test_test.external.a ... (2 actions, 0 running) INFO: Invocation ID: ab23f911-c292-4676-9f4e-a3d2fc44d243 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.3045240352/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. 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: 4b1298e0-8e1a-4671-a8cf-c10924141c45 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.771641193/bazel: Inherited 'build' options: --remote_cache=http://ats.apps.svc/brc/tidb --remote_timeout=30s INFO: Reading rc options for 'test' from /home/jenkins/.bazelrc: Inherited 'build' options: --local_ram_resources=29491 --local_cpu_resources=8 --jobs=8 --repository_cache=/share/.cache/bazel-repository-cache INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: 'test' options: --test_output=errors --test_summary=detailed INFO: Found applicable config definition build:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --experimental_remote_cache_compression INFO: Found applicable config definition test:ci in file /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --color=yes --verbose_failures --test_verbose_timeout_warnings --test_env=GO_TEST_WRAP_TESTV=1 --experimental_ui_max_stdouterr_bytes=268435456 --test_timeout=150,300,900,3600 --flaky_test_attempts=5 Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1 packages loaded, 0 targets configured) [87 / 4,637] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 3s remote-cache ... (6 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1 packages loaded, 0 targets configured) [4,484 / 4,571] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_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_output=all --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/importintotest3/... INFO: Invocation ID: 9c275c13-c326-4469-aa1d-a62b1947671e INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.1286640161/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 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: 8033b92e-494d-48bf-a9b6-92ed19b6ca04 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.1134511170/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 options --define, --run_under, and --test_env have changed, discarding analysis cache. [4,567 / 4,573] GoCompilePkg tests/realtikvtest/sessiontest/sessiontest_test.internal.a; 1s remote-cache, linux-sandbox [4,485 / 4,571] GoCompilePkg br/pkg/stream/stream.a; 2s remote-cache, linux-sandbox ... (13 actions, 12 running) Loading: Loading: Loading: 0 packages loaded INFO: Build options --define, --run_under, and --test_env have changed, discarding analysis cache. bazel --output_user_root=/home/jenkins/.tidb/tmp test --config=ci --repository_cache=/share/.cache/bazel-repository-cache --test_arg=-with-real-tikv --define gotags=deadlock,intest \ -- //tests/realtikvtest/addindextest4/... INFO: Invocation ID: 5218ca0e-a1ee-4e87-8bec-693634b94c66 INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.1860895246/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/importintotest3:importintotest3_test (1 packages loaded, 0 targets configured) [4,490 / 4,568] GoCompilePkg br/pkg/stream/stream.a; 3s remote-cache, linux-sandbox ... (11 actions, 10 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1 packages loaded, 0 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1 packages loaded, 0 targets configured) [4,576 / 4,582] GoCompilePkg tests/realtikvtest/brietest/brietest_test.internal.a; 1s remote-cache, linux-sandbox [4,567 / 4,573] GoCompilePkg tests/realtikvtest/statisticstest/statisticstest_test.internal.a; 2s remote-cache, linux-sandbox [432 / 4,637] GoCompilePkg external/in_gopkg_natefinch_lumberjack_v2/lumberjack_v2.a; 0s remote-cache ... (8 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 1s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (199 packages loaded, 5223 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (308 packages loaded, 803 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (253 packages loaded, 5064 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (209 packages loaded, 5207 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: 64cc22d3-5f71-45ee-b4a1-05e53615d0fc INFO: Reading 'startup' options from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: --host_jvm_args=-Xmx4g, --unlimit_coredumps INFO: Options provided by the client: Inherited 'common' options: --isatty=0 --terminal_columns=80 INFO: Reading rc options for 'test' from /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb/.bazelrc: Inherited 'build' options: --http_timeout_scaling=0.1 --announce_rc --experimental_guard_against_concurrent_changes --incompatible_strict_action_env --incompatible_enable_cc_toolchain_resolution INFO: Reading rc options for 'test' from /data/..2025_04_05_06_53_21.2911790452/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. [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 0s remote-cache [4,496 / 4,571] GoCompilePkg br/pkg/restore/restore.a; 1s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,500 / 4,571] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache, linux-sandbox ... (6 actions, 4 running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1 packages loaded, 0 targets configured) [4,501 / 4,568] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,577 / 4,582] [Prepa] GoCompilePkgExternal tests/realtikvtest/brietest/brietest_test_test.external.a ... (2 actions, 0 running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (564 packages loaded, 5309 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (52 packages loaded, 220 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (293 packages loaded, 3820 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (191 packages loaded, 4423 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (637 packages loaded, 6038 targets configured) [721 / 4,637] GoCompilePkg external/com_github_datadog_zstd/zstd.a; Downloading external/com_github_datadog_zstd/zstd.a, 991.8 KiB / 2.6 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (664 packages loaded, 6436 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (526 packages loaded, 6459 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (200 packages loaded, 4880 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 1s remote-cache, linux-sandbox [4,502 / 4,571] GoCompilePkg pkg/planner/core/core.a; 1s remote-cache, linux-sandbox ... (6 actions running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (482 packages loaded, 5605 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (765 packages loaded, 6495 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (648 packages loaded, 5305 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (537 packages loaded, 5488 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (938 packages loaded, 7206 targets configured) [911 / 4,637] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1099 packages loaded, 9781 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (817 packages loaded, 7652 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 1s remote-cache, linux-sandbox [4,502 / 4,571] GoCompilePkg pkg/planner/core/core.a; 1s remote-cache, linux-sandbox ... (6 actions running) [4,503 / 4,568] GoCompilePkg pkg/planner/core/core.a; 2s remote-cache, linux-sandbox ... (8 actions running) [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 1s remote-cache, linux-sandbox [4,503 / 4,571] GoCompilePkg pkg/planner/core/core.a; 2s remote-cache, linux-sandbox ... (8 actions running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (857 packages loaded, 8330 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (608 packages loaded, 6034 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (792 packages loaded, 6747 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (942 packages loaded, 6504 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1079 packages loaded, 9266 targets configured) [1,108 / 4,637] GoCompilePkg external/com_google_cloud_go_storage/storage.a; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1172 packages loaded, 10625 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1079 packages loaded, 9378 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1026 packages loaded, 8245 targets configured) [4,504 / 4,568] GoCompilePkg pkg/planner/core/core.a; 3s remote-cache, linux-sandbox ... (7 actions, 6 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1114 packages loaded, 10039 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (970 packages loaded, 9211 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1052 packages loaded, 7913 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1146 packages loaded, 9556 targets configured) [1,215 / 4,637] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 33.9 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1299 packages loaded, 11692 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1136 packages loaded, 10503 targets configured) [4,503 / 4,571] GoCompilePkg pkg/planner/core/core.a; 3s remote-cache, linux-sandbox ... (8 actions running) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1074 packages loaded, 9572 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1151 packages loaded, 9985 targets configured) [4,506 / 4,571] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (5 actions, 4 running) [4,506 / 4,568] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (6 actions, 4 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1128 packages loaded, 9377 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1200 packages loaded, 10187 targets configured) [1,365 / 4,637] GoCompilePkg external/co_honnef_go_tools/staticcheck/sa4014/sa4014.a [for tool]; Downloading external/co_honnef_go_tools/staticcheck/sa4014/sa4014.x; 0s remote-cache ... (8 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1403 packages loaded, 12591 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1254 packages loaded, 11247 targets configured) [4,506 / 4,571] GoCompilePkg pkg/planner/core/core.a; 4s remote-cache, linux-sandbox ... (6 actions, 4 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1250 packages loaded, 11023 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1206 packages loaded, 10175 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1031 packages loaded, 9621 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1270 packages loaded, 11421 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1289 packages loaded, 10662 targets configured) [4,510 / 4,571] GoCompilePkg pkg/planner/core/core.a; 5s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1386 packages loaded, 12295 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1381 packages loaded, 12062 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1246 packages loaded, 11099 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1327 packages loaded, 11136 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1380 packages loaded, 12193 targets configured) [1,755 / 4,637] GoCompilePkg pkg/util/rowcodec/rowcodec.a; 0s remote-cache ... (6 actions, 0 running) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1474 packages loaded, 13189 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1403 packages loaded, 12667 targets configured) [4,510 / 4,568] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (4 actions running) [4,508 / 4,571] GoCompilePkg pkg/planner/core/core.a; 6s remote-cache, linux-sandbox ... (6 actions running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1452 packages loaded, 12891 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1413 packages loaded, 12608 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1423 packages loaded, 12172 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1380 packages loaded, 11700 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1479 packages loaded, 13120 targets configured) [3,087 / 4,637] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 28.0 MiB / 94.8 MiB; 0s remote-cache ... (6 actions, 0 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1429 packages loaded, 12930 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1443 packages loaded, 12941 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1616 packages loaded, 14134 targets configured) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1629 packages loaded, 14172 targets configured) [4,510 / 4,571] GoCompilePkg pkg/planner/core/core.a; 7s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1516 packages loaded, 13244 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1455 packages loaded, 12342 targets configured) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1430 packages loaded, 12268 targets configured) [3,813 / 4,637] GoCompilePkg pkg/disttask/framework/mock/mock.a; 0s remote-cache, linux-sandbox ... (10 actions, 4 running) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1555 packages loaded, 13889 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1517 packages loaded, 13614 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1628 packages loaded, 14026 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1661 packages loaded, 13558 targets configured) Analyzing: target //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test (1671 packages loaded, 14465 targets configured) [4,111 / 4,637] GoCompilePkg pkg/statistics/handle/util/util.a; Downloading pkg/statistics/handle/util/util.a, 543.8 KiB / 732.5 KiB; 0s remote-cache ... (7 actions, 0 running) [4,511 / 4,568] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions, 2 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) 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 Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1639 packages loaded, 14270 targets configured) [4,510 / 4,571] GoCompilePkg pkg/planner/core/core.a; 8s remote-cache, linux-sandbox ... (4 actions running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1510 packages loaded, 12990 targets configured) Analyzing: target //tests/realtikvtest/importintotest2:importintotest2_test (1693 packages loaded, 14598 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14465 targets configured) Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) [4,511 / 4,571] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (4 actions, 2 running) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 10s remote-cache, linux-sandbox [4,348 / 4,637] Running nogo on //pkg/disttask/framework/scheduler/mock:mock; 0s remote-cache, linux-sandbox ... (10 actions, 4 running) [4,512 / 4,568] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //tests/realtikvtest/importintotest3:importintotest3_test (1693 packages loaded, 14598 targets configured) Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1694 packages loaded, 14601 targets configured) [4,512 / 4,571] GoCompilePkg pkg/planner/core/core.a; 9s remote-cache, linux-sandbox ... (5 actions, 4 running) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) Analyzing: target //tests/realtikvtest/flashbacktest:flashbacktest_test (1671 packages loaded, 14465 targets configured) [21 / 4,573] 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 ... (3 actions, 0 running) [4,513 / 4,571] GoCompilePkg br/pkg/task/task.a; 1s remote-cache, linux-sandbox ... (15 actions, 14 running) Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1672 packages loaded, 13803 targets configured) [4,572 / 4,573] GoLink tests/realtikvtest/txntest/txntest_test_/txntest_test; 11s remote-cache, linux-sandbox INFO: Analyzed target //tests/realtikvtest/importintotest2:importintotest2_test (1785 packages loaded, 15224 targets configured).  checking cached actions INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [4,492 / 4,637] GoCompilePkg br/pkg/glue/glue.a; 0s remote-cache ... (8 actions, 0 running) 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 INFO: Analyzed target //tests/realtikvtest/importintotest3:importintotest3_test (1785 packages loaded, 15224 targets configured). INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt Analyzing: target //tests/realtikvtest/importintotest4:importintotest4_test (1786 packages loaded, 15228 targets configured) 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 [4,515 / 4,568] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,515 / 4,571] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 10s remote-cache, linux-sandbox Analyzing: target //tests/realtikvtest/importintotest:importintotest_test (1738 packages loaded, 14795 targets configured) Analyzing: target //tests/realtikvtest/addindextest4:addindextest4_test (1671 packages loaded, 13799 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest4:addindextest4_test (1763 packages loaded, 14424 targets configured). Analyzing: target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14429 targets configured) INFO: Analyzed target //tests/realtikvtest/addindextest3:addindextest3_test (1764 packages loaded, 14429 targets configured). INFO: Found 1 test target... [4,572 / 4,573] GoLink tests/realtikvtest/statisticstest/statisticstest_test_/statisticstest_test; 11s remote-cache, linux-sandbox INFO: Found 1 test target... [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [0 / 1] [Prepa] BazelWorkspaceStatusAction stable-status.txt [22 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/asm, 3.0 MiB / 3.9 MiB; 2s remote-cache ... (8 actions, 0 running) [4,515 / 4,571] GoCompilePkg br/pkg/task/task.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/sessiontest/sessiontest_test_/sessiontest_test; 10s remote-cache, linux-sandbox 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 [4,567 / 4,637] GoCompilePkg br/pkg/restore/snap_client/snap_client.a; Downloading br/pkg/restore/snap_client/snap_client.a; 0s remote-cache ... (4 actions, 0 running) [4,519 / 4,568] GoCompilePkg pkg/planner/planner.a; 1s remote-cache, linux-sandbox ... (16 actions running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64/runtime.a, 9.8 MiB / 12.2 MiB; 0s remote-cache ... (3 actions, 0 running) [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 10s remote-cache, linux-sandbox [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 8.6 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [4,573 / 4,574] [Prepa] Testing //tests/realtikvtest/statisticstest:statisticstest_test [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) [173 / 4,573] GoCompilePkg external/org_uber_go_zap/zap.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [4,524 / 4,571] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 2s remote-cache, linux-sandbox ... (15 actions, 14 running) [4,524 / 4,571] GoCompilePkg br/pkg/task/task.a; 3s remote-cache, linux-sandbox ... (14 actions running) [4,573 / 4,574] [Prepa] Testing //tests/realtikvtest/sessiontest:sessiontest_test [4,577 / 4,637] GoCompilePkg pkg/planner/core/core.a; 1s remote-cache ... (3 actions, 0 running) [21 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 15.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [16 / 4,568] 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 ... (3 actions, 0 running) [4,530 / 4,568] GoCompilePkg pkg/planner/planner.a; 2s remote-cache, linux-sandbox ... (10 actions running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [4,581 / 4,582] GoLink tests/realtikvtest/brietest/brietest_test_/brietest_test; 12s remote-cache, linux-sandbox [21 / 4,750] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; Downloading external/io_bazel_rules_go/stdlib_/pkg/linux_amd64_race/net/http.a, 7.0 MiB / 9.3 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,639] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) [16 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; Downloading external/io_bazel_rules_go/stdlib_/pkg/tool/linux_amd64/compile, 13.0 MiB / 18.9 MiB; 1s remote-cache ... (3 actions, 0 running) [21 / 4,573] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (3 actions, 0 running) ./t/ddl/modify_column.test: ok! 672 test cases passed, take time 19.310735112 s [456 / 4,573] GoCompilePkg external/org_golang_x_net/http2/http2.a; 0s remote-cache ... (8 actions, 0 running) [4,532 / 4,571] Running nogo on //pkg/executor/join:join; 2s remote-cache, linux-sandbox ... (6 actions running) [4,536 / 4,571] [Prepa] GoCompilePkg pkg/disttask/importinto/importinto.a [36 / 4,642] GoStdlib external/io_bazel_rules_go/stdlib_/pkg [for tool]; 2s remote-cache ... (8 actions, 0 running) [152 / 4,639] GoCompilePkg external/org_golang_x_tools/go/ssa/ssa.a [for tool]; 0s remote-cache ... (8 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 1s remote-cache, linux-sandbox [346 / 4,639] GoCompilePkg external/com_github_klauspost_compress/zstd/zstd.a; Downloading external/com_github_klauspost_compress/zstd/zstd.a, 303.8 KiB / 3.1 MiB; 0s remote-cache ... (8 actions, 0 running) [17 / 4,568] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (3 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 1s remote-cache, linux-sandbox [93 / 4,571] GoStdlib external/io_bazel_rules_go/stdlib_/pkg; 2s remote-cache ... (7 actions, 0 running) [367 / 4,573] GoCompilePkg external/io_etcd_go_etcd_client_pkg_v3/transport/transport.a; Downloading external/io_etcd_go_etcd_client_pkg_v3/transport/transport.a; 0s remote-cache ... (8 actions, 0 running) [782 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/internal/strings/strings.a; Downloading external/com_github_aws_aws_sdk_go/internal/strings/strings.a; 0s remote-cache ... (7 actions, 0 running) [22 / 4,750] 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) [4,595 / 4,637] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; 1s remote-cache, linux-sandbox ... (10 actions running) [605 / 4,639] GoCompilePkg external/com_github_go_logr_logr/funcr/funcr.a; Downloading external/com_github_go_logr_logr/funcr/funcr.a; 0s remote-cache ... (8 actions, 0 running) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 1s remote-cache, linux-sandbox [686 / 4,639] 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 ... (8 actions, 0 running) [386 / 4,642] GoCompilePkg external/com_github_andybalholm_brotli/brotli.a; 0s remote-cache ... (8 actions, 0 running) [335 / 4,568] GoCompilePkg external/com_github_google_uuid/uuid.a; Downloading external/com_github_google_uuid/uuid.a; 0s remote-cache ... (8 actions, 0 running) [444 / 4,571] GoCompilePkg external/com_github_danjacques_gofslock/fslock/fslock.a; Downloading external/com_github_danjacques_gofslock/fslock/fslock.x; 0s remote-cache ... (8 actions, 0 running) [797 / 4,573] GoCompilePkg external/com_github_google_pprof/profile/profile.a; Downloading external/com_github_google_pprof/profile/profile.a, 103.8 KiB / 1.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,038 / 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, 9.8 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,539 / 4,571] 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) [69 / 4,750] GoCompilePkg external/org_golang_x_tools/go/analysis/passes/fieldalignment/fieldalignment.a [for tool]; Downloading external/org_golang_x_tools/go/analysis/passes/fieldalignment/fieldalignment.a; 0s remote-cache ... (8 actions, 0 running) [4,539 / 4,568] GoCompilePkg pkg/executor/executor.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,602 / 4,637] GoCompilePkg pkg/executor/executor.a; 0s remote-cache, linux-sandbox ... (4 actions running) [1,005 / 4,639] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 2.1 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [702 / 4,642] GoCompilePkg external/com_github_pierrec_lz4_v4/internal/lz4stream/lz4stream.a; Downloading external/com_github_pierrec_lz4_v4/internal/lz4stream/lz4stream.a, 56.0 KiB / 286.2 KiB; 0s remote-cache ... (7 actions, 0 running) [690 / 4,568] GoCompilePkg external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a; Downloading external/com_github_aws_aws_sdk_go/aws/endpoints/endpoints.a, 5.2 MiB / 5.8 MiB; 0s remote-cache ... (8 actions, 0 running) [403 / 4,750] GoCompilePkg external/org_golang_google_protobuf/internal/impl/impl.a; Downloading external/org_golang_google_protobuf/internal/impl/impl.a, 5.0 MiB / 6.8 MiB; 0s remote-cache ... (8 actions, 0 running) [998 / 4,639] GoCompilePkg external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a; Downloading external/io_k8s_apimachinery/pkg/apis/meta/v1/meta.a, 6.2 MiB / 6.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,072 / 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, 45.9 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [897 / 4,571] GoCompilePkg external/com_github_zyedidia_generic/hashmap/hashmap.a; Downloading external/com_github_zyedidia_generic/hashmap/hashmap.a; 0s remote-cache ... (8 actions, 0 running) [1,174 / 4,573] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2iface/ec2iface.a, 6.0 MiB / 7.5 MiB; 0s remote-cache ... (8 actions, 0 running) [935 / 4,642] GoCompilePkg external/com_github_ks3sdklib_aws_sdk_go/service/s3/s3.a; Downloading external/com_github_ks3sdklib_aws_sdk_go/service/s3/s3.a, 2.2 MiB / 2.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,086 / 4,568] GoCompilePkg external/io_opencensus_go/plugin/ochttp/ochttp.a; 0s remote-cache ... (8 actions, 0 running) [1,259 / 4,639] GoCompilePkg external/com_github_azure_azure_sdk_for_go_sdk_azcore/internal/pollers/body/body.a; Downloading external/com_github_azure_azure_sdk_for_go_sdk_azcore/internal/pollers/body/body.x; 0s remote-cache ... (8 actions, 0 running) [1,202 / 4,639] GoCompilePkg external/com_github_apache_arrow_go_v12/arrow/array/array.a; Downloading external/com_github_apache_arrow_go_v12/arrow/array/array.a, 7.1 MiB / 13.4 MiB; 0s remote-cache ... (8 actions, 0 running) [741 / 4,750] GoCompilePkg pkg/parser/parser.a; Downloading pkg/parser/parser.a, 5.0 MiB / 13.1 MiB; 0s remote-cache ... (8 actions, 0 running) [1,307 / 4,573] GoCompilePkg external/com_github_googleapis_gax_go_v2/gax-go.a; Downloading external/com_github_googleapis_gax_go_v2/gax-go.a, 287.8 KiB / 368.8 KiB; 0s remote-cache ... (8 actions, 0 running) [1,130 / 4,571] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; 0s remote-cache ... (8 actions, 0 running) [1,334 / 4,573] GoCompilePkg external/com_github_xitongsys_parquet_go/common/common.a; Downloading external/com_github_xitongsys_parquet_go/common/common.x; 0s remote-cache ... (8 actions, 0 running) [1,097 / 4,642] GoCompilePkg external/com_github_aws_aws_sdk_go/service/ec2/ec2.a; Downloading external/com_github_aws_aws_sdk_go/service/ec2/ec2.a, 43.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,540 / 4,571] GoCompilePkg pkg/executor/executor.a; 3s 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) [1,407 / 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, 59.8 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,335 / 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, 41.3 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,035 / 4,750] GoCompilePkg external/io_k8s_api/core/v1/core.a; Downloading external/io_k8s_api/core/v1/core.a, 1.2 MiB / 25.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,263 / 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, 67.0 MiB / 71.4 MiB; 0s remote-cache ... (8 actions, 0 running) [1,697 / 4,573] GoCompilePkg external/com_github_pingcap_kvproto/pkg/brpb/brpb.a; Downloading external/com_github_pingcap_kvproto/pkg/brpb/brpb.a, 6.0 MiB / 6.7 MiB; 0s remote-cache ... (7 actions, 0 running) [1,379 / 4,571] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 9.7 MiB / 10.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,466 / 4,573] GoLink build/tidb_nogo_actual_/tidb_nogo_actual [for tool]; 0s remote-cache ... (6 actions, 0 running) [4,540 / 4,571] GoCompilePkg pkg/executor/executor.a; 4s remote-cache, linux-sandbox ... (3 actions, 2 running) [1,202 / 4,642] GoCompilePkg external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a; Downloading external/com_github_pingcap_kvproto/pkg/kvrpcpb/kvrpcpb.a, 12.0 MiB / 12.2 MiB; 0s remote-cache ... (8 actions, 0 running) [4,541 / 4,568] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [2,138 / 4,639] Running nogo on @com_github_segmentio_fasthash//fnv1a:fnv1a; 0s remote-cache ... (8 actions, 0 running) [1,471 / 4,639] GoCompilePkg external/org_golang_google_api/storage/v1/storage.a; 0s remote-cache ... (8 actions, 0 running) [1,188 / 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, 35.0 MiB / 77.2 MiB; 0s remote-cache ... (8 actions, 0 running) [1,461 / 4,568] GoCompilePkg external/com_github_tikv_pd_client/clients/tso/tso.a; 0s remote-cache ... (7 actions, 0 running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [2,990 / 4,573] GoCompilePkg external/com_github_tikv_client_go_v2/internal/locate/locate.a; 0s remote-cache ... (7 actions, 0 running) [2,501 / 4,571] [Prepa] Running nogo on @com_github_cockroachdb_errors//errbase:errbase ... (8 actions, 0 running) [2,983 / 4,573] GoCompilePkg pkg/util/collate/collate.a; Downloading pkg/util/collate/collate.a, 2.1 MiB / 5.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [4,603 / 4,637] GoCompilePkg pkg/executor/executor.a; 3s remote-cache, linux-sandbox ... (3 actions, 2 running) [3,692 / 4,639] GoCompilePkg pkg/sessionctx/variable/variable.a; Downloading pkg/sessionctx/variable/variable.a, 2.8 MiB / 5.5 MiB; 0s remote-cache ... (8 actions, 0 running) [2,452 / 4,639] Running nogo on @com_github_shirou_gopsutil_v3//disk:disk; Downloading external/com_github_shirou_gopsutil_v3/disk/disk.facts; 0s remote-cache ... (8 actions, 0 running) [1,500 / 4,642] GoCompilePkg external/com_github_tikv_client_go_v2/kv/kv.a; 0s remote-cache ... (4 actions, 0 running) [2,803 / 4,568] GoCompilePkg pkg/statistics/asyncload/asyncload.a; 0s remote-cache ... (8 actions, 0 running) [3,969 / 4,573] GoCompilePkg pkg/sessionctx/variable/variable.a; 0s remote-cache ... (2 actions, 0 running) [3,868 / 4,571] [Prepa] GoCompilePkg pkg/sessionctx/sysproctrack/sysproctrack.a ... (7 actions, 0 running) [3,882 / 4,573] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 10.0 MiB / 108.6 MiB; 0s remote-cache ... (8 actions, 0 running) [1,364 / 4,750] GoCompilePkg external/com_github_pingcap_kvproto/pkg/resource_manager/resource_manager.a; 0s remote-cache ... (8 actions, 0 running) [4,604 / 4,637] GoCompilePkg pkg/executor/executor.a; 5s remote-cache, linux-sandbox [3,964 / 4,639] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 106.1 MiB / 108.6 MiB; 0s remote-cache ... (6 actions, 2 running) [2,819 / 4,642] Running nogo on @com_github_azure_azure_sdk_for_go_sdk_internal//log:log; Downloading external/com_github_azure_azure_sdk_for_go_sdk_internal/log/log.facts; 0s remote-cache ... (8 actions, 0 running) [3,930 / 4,568] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 6.0 MiB / 94.8 MiB; 0s remote-cache ... (8 actions, 0 running) [3,736 / 4,639] GoCompilePkg pkg/planner/planctx/planctx.a; Downloading pkg/planner/planctx/planctx.x; 0s remote-cache ... (8 actions, 0 running) [1,452 / 4,750] GoCompilePkg external/org_golang_google_api/storage/v1/storage.a; 0s remote-cache ... (8 actions, 0 running) [4,541 / 4,571] GoCompilePkg pkg/executor/executor.a; 7s remote-cache, linux-sandbox [4,079 / 4,573] [Prepa] GoCompilePkg pkg/executor/internal/vecgroupchecker/vecgroupchecker.a ... (5 actions, 0 running) [4,074 / 4,571] [Prepa] GoCompilePkg pkg/session/types/types.a [4,079 / 4,573] [Prepa] GoCompilePkg pkg/session/types/types.a ... (7 actions, 0 running) [3,824 / 4,642] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 5.9 MiB / 108.6 MiB; 0s remote-cache ... (6 actions, 0 running) [4,074 / 4,568] [Prepa] GoCompilePkg pkg/session/types/types.a ... (8 actions, 0 running) [4,292 / 4,639] [Prepa] GoCompilePkg pkg/infoschema/infoschema.a [4,542 / 4,568] [Prepa] GoCompilePkg pkg/session/session.a [3,976 / 4,639] GoCompilePkg pkg/expression/expression.a; 0s remote-cache ... (7 actions, 0 running) [2,425 / 4,750] GoCompilePkg pkg/lightning/log/log.a; 0s remote-cache ... (4 actions, 0 running) [4,542 / 4,571] GoCompilePkg pkg/session/session.a; 0s remote-cache, linux-sandbox ... (4 actions running) [4,542 / 4,571] [Prepa] GoCompilePkg pkg/session/session.a ... (2 actions, 0 running) [4,308 / 4,571] GoCompilePkg pkg/lightning/mydump/mydump.a; 0s remote-cache ... (8 actions, 0 running) [4,249 / 4,573] GoCompilePkg pkg/privilege/privileges/privileges.a; 0s remote-cache ... (8 actions, 0 running) [4,543 / 4,568] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,118 / 4,642] GoCompilePkg pkg/expression/expression.a; 1s remote-cache ... (8 actions, 0 running) [4,286 / 4,568] Running nogo on //pkg/lightning/verification:verification; 0s remote-cache ... (8 actions, 0 running) [4,291 / 4,573] GoCompilePkg pkg/ddl/notifier/notifier.a; Downloading pkg/ddl/notifier/notifier.x; 0s remote-cache ... (8 actions, 0 running) [4,463 / 4,639] [Prepa] GoCompilePkg pkg/resourcegroup/runaway/runaway.a ... (6 actions, 0 running) [4,543 / 4,571] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,280 / 4,639] [Prepa] GoCompilePkg pkg/store/mockstore/unistore/server/server.a ... (2 actions, 0 running) [3,842 / 4,750] GoCompilePkg pkg/timer/runtime/runtime.a; Downloading pkg/timer/runtime/runtime.a; 0s remote-cache ... (8 actions, 0 running) [4,411 / 4,571] GoCompilePkg pkg/planner/indexadvisor/indexadvisor.a; Downloading pkg/planner/indexadvisor/indexadvisor.a, 3.9 MiB / 11.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,409 / 4,573] [Prepa] GoCompilePkg pkg/domain/domain.a [4,545 / 4,568] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,545 / 4,571] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 11s remote-cache, linux-sandbox [4,412 / 4,573] [Prepa] GoCompilePkg pkg/planner/util/domainmisc/domainmisc.a ... (6 actions, 0 running) [4,605 / 4,637] [Prepa] GoCompilePkg pkg/session/session.a [4,543 / 4,639] GoCompilePkg br/pkg/restore/restore.a; Downloading br/pkg/restore/restore.a, 9.0 MiB / 11.8 MiB; 0s remote-cache ... (5 actions, 0 running) [4,545 / 4,571] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a ... (2 actions, 0 running) [4,457 / 4,639] [Prepa] GoCompilePkg pkg/ddl/ingest/ingest.a [4,573 / 4,574] Testing //tests/realtikvtest/statisticstest:statisticstest_test; 11s remote-cache, linux-sandbox [4,041 / 4,750] GoCompilePkg pkg/expression/expression.a; Downloading pkg/expression/expression.a, 69.0 MiB / 108.6 MiB; 0s remote-cache ... (7 actions, 1 running) [4,295 / 4,642] [Prepa] GoCompilePkg pkg/sessiontxn/sessiontxn.a ... (8 actions, 0 running) [4,407 / 4,568] [Prepa] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a ... (6 actions, 0 running) [4,495 / 4,571] GoCompilePkg br/pkg/restore/internal/prealloc_db/prealloc_db.a; Downloading br/pkg/restore/internal/prealloc_db/prealloc_db.a, 9.1 MiB / 10.2 MiB; 0s remote-cache ... (4 actions, 0 running) [4,457 / 4,573] Running nogo on //br/pkg/checkpoint:checkpoint; Downloading br/pkg/checkpoint/checkpoint.facts; 0s remote-cache ... (8 actions, 0 running) [4,607 / 4,637] GoCompilePkg pkg/session/session.a; 1s remote-cache, linux-sandbox [4,549 / 4,568] Running nogo on //pkg/store/driver:driver; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,466 / 4,573] GoCompilePkg pkg/executor/internal/calibrateresource/calibrateresource.a; 0s remote-cache ... (8 actions, 0 running) [4,478 / 4,639] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 10.0 MiB / 11.3 MiB; 0s remote-cache ... (8 actions, 0 running) [4,463 / 4,642] [Prepa] GoCompilePkg pkg/infoschema/perfschema/perfschema.a ... (6 actions, 0 running) [4,552 / 4,571] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,463 / 4,568] GoCompilePkg br/pkg/backup/backup.a; Downloading br/pkg/backup/backup.a, 1.7 MiB / 11.6 MiB; 0s remote-cache ... (8 actions, 0 running) [4,540 / 4,571] GoCompilePkg pkg/executor/executor.a; Downloading pkg/executor/executor.a, 10.8 MiB / 44.3 MiB; 0s remote-cache ... (2 actions, 0 running) [4,608 / 4,639] GoCompilePkg pkg/executor/executor.a; Downloading pkg/executor/executor.a, 5.6 MiB / 51.0 MiB; 0s remote-cache ... (2 actions, 0 running) [4,552 / 4,571] GoCompilePkg pkg/testkit/testkit.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,290 / 4,750] GoCompilePkg pkg/planner/cardinality/cardinality.a; Downloading pkg/planner/cardinality/cardinality.a, 2.0 MiB / 2.0 MiB; 0s remote-cache ... (9 actions, 2 running) [4,519 / 4,573] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [4,516 / 4,573] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (2 actions, 0 running) [4,611 / 4,637] [Prepa] GoCompilePkg pkg/store/driver/driver.a ... (2 actions, 0 running) [4,553 / 4,568] GoCompilePkg pkg/testkit/testkit.a; 1s remote-cache, linux-sandbox [4,497 / 4,642] GoCompilePkg pkg/planner/core/operator/logicalop/logicalop.a; Downloading pkg/planner/core/operator/logicalop/logicalop.a, 7.6 MiB / 9.4 MiB; 0s remote-cache ... (8 actions, 0 running) [4,555 / 4,571] Running nogo on //pkg/ddl/ingest/testutil:testutil; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,517 / 4,568] GoCompilePkg br/pkg/task/task.a; 0s remote-cache ... (8 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 11s remote-cache, linux-sandbox [4,629 / 4,639] GoCompilePkg pkg/disttask/framework/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,555 / 4,571] GoCompilePkg pkg/testkit/external/external.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,563 / 4,639] GoCompilePkg br/pkg/backup/backup.a; Downloading br/pkg/backup/backup.a, 8.0 MiB / 13.0 MiB; 0s remote-cache ... (7 actions, 0 running) [4,484 / 4,750] GoCompilePkg pkg/statistics/handle/usage/predicatecolumn/predicatecolumn.a; 0s remote-cache ... (9 actions, 4 running) [4,555 / 4,571] GoCompilePkg pkg/ddl/testutil/testutil.a; 0s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,557 / 4,573] GoCompilePkg pkg/testkit/testkit.a; Downloading pkg/testkit/testkit.a, 2.0 MiB / 12.8 MiB; 0s remote-cache ... (2 actions, 0 running) [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 11s remote-cache, linux-sandbox [4,550 / 4,573] [Prepa] GoCompilePkg pkg/store/gcworker/gcworker.a [4,617 / 4,637] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a ... (3 actions, 0 running) [4,561 / 4,571] GoCompilePkg pkg/testkit/external/external.a; 1s remote-cache, linux-sandbox ... (4 actions running) [4,558 / 4,568] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,588 / 4,639] GoCompilePkg pkg/sessiontxn/isolation/isolation.a; Downloading pkg/sessiontxn/isolation/isolation.a, 5.0 MiB / 12.1 MiB; 0s remote-cache ... (8 actions, 0 running) [4,576 / 4,642] GoCompilePkg pkg/planner/core/core.a; Downloading pkg/planner/core/core.a, 13.7 MiB / 53.0 MiB; 0s remote-cache ... (3 actions, 0 running) [4,560 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/testutils/testutils.a [4,568 / 4,750] GoCompilePkg pkg/extension/extensionimpl/extensionimpl.a; Downloading pkg/extension/extensionimpl/extensionimpl.a, 5.1 MiB / 11.3 MiB; 0s remote-cache ... (7 actions, 0 running) [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/statisticstest:statisticstest_test; 14s 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: 128.677s, Critical Path: 111.21s INFO: 4571 processes: 4459 remote cache hit, 13 internal, 99 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/statisticstest:statisticstest_test PASSED in 14.7s PASSED statisticstest_test.TestAsyncMergeFMSketch (1.5s) PASSED statisticstest_test.TestBlockMergeFMSketch (1.3s) PASSED statisticstest_test.TestNewCollationStatsWithPrefixIndex (6.1s) 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] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [4,559 / 4,568] GoCompilePkg tests/realtikvtest/realtikvtest.a; 0s remote-cache, linux-sandbox [4,563 / 4,571] [Prepa] GoCompilePkg tests/realtikvtest/addindextest3/addindextest3_test.internal.a ... (2 actions, 0 running) None of the test reports contained any result [Checks API] No suitable checks publisher found. [Pipeline] } [4,634 / 4,639] [Prepa] Running nogo on //tests/realtikvtest/importintotest3:importintotest3_test ... (2 actions, 0 running) [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] script [Pipeline] { [4,561 / 4,568] GoCompilePkg tests/realtikvtest/addindextest1/addindextest1_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,622 / 4,639] [Prepa] GoCompilePkg pkg/ddl/ingest/testutil/testutil.a [Pipeline] sh [4,610 / 4,642] [Prepa] GoCompilePkg pkg/session/session.a [4,564 / 4,571] GoCompilePkg tests/realtikvtest/addindextest/addindextest_test.internal.a; 0s remote-cache, linux-sandbox ... (3 actions, 2 running) [4,628 / 4,750] GoCompilePkg br/pkg/restore/restore.a; 0s remote-cache ... (8 actions, 0 running) [4,567 / 4,573] GoCompilePkg tests/realtikvtest/flashbacktest/flashbacktest_test.internal.a; 1s remote-cache, linux-sandbox [4,567 / 4,573] GoCompilePkg tests/realtikvtest/pipelineddmltest/pipelineddmltest_test.internal.a; 1s remote-cache, linux-sandbox [4,626 / 4,637] [Prepa] Running nogo on //tests/realtikvtest/testutils:testutils No test report files were found. Configuration error? [4,563 / 4,568] GoCompilePkgExternal tests/realtikvtest/addindextest4/addindextest4_test_test.external.a; 0s remote-cache, linux-sandbox ... (4 actions running) [Pipeline] } [Pipeline] // script [Pipeline] } [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 0s remote-cache, linux-sandbox [Pipeline] // dir [4,566 / 4,571] [Prepa] GoCompilePkgExternal tests/realtikvtest/pessimistictest/pessimistictest_test_test.external.a ... (2 actions, 0 running) [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [4,666 / 4,750] GoCompilePkg pkg/planner/core/core.a; 0s remote-cache ... (3 actions, 0 running) [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 0s remote-cache, linux-sandbox [Pipeline] // stage [4,566 / 4,571] [Prepa] GoCompilePkgExternal tests/realtikvtest/addindextest3/addindextest3_test_test.external.a ... (2 actions, 0 running) [Pipeline] } [4,631 / 4,637] GoCompilePkg tests/realtikvtest/addindextest2/addindextest2_test.internal.a; 1s remote-cache, linux-sandbox [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [4,633 / 4,642] GoCompilePkg tests/realtikvtest/testutils/testutils.a; 0s remote-cache, linux-sandbox [Pipeline] // node [4,570 / 4,571] GoLink tests/realtikvtest/addindextest/addindextest_test_/addindextest_test; 0s remote-cache, linux-sandbox [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,567 / 4,568] GoLink tests/realtikvtest/addindextest1/addindextest1_test_/addindextest1_test; 1s remote-cache, linux-sandbox [4,633 / 4,639] GoCompilePkg tests/realtikvtest/importintotest2/importintotest2_test.internal.a; 1s remote-cache, linux-sandbox [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 0s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 1s remote-cache, linux-sandbox [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 1s remote-cache, linux-sandbox [4,700 / 4,750] [Prepa] GoCompilePkg pkg/session/session.a [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 1s remote-cache, linux-sandbox [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 0s remote-cache, linux-sandbox [4,634 / 4,639] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest2/importintotest2_test_test.external.a ... (2 actions, 0 running) [4,637 / 4,642] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest4/importintotest4_test_test.external.a ... (2 actions, 0 running) [4,723 / 4,750] GoCompilePkg pkg/server/handler/handler.a; 1s remote-cache, linux-sandbox [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 1s remote-cache, linux-sandbox [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 1s remote-cache, linux-sandbox [4,724 / 4,750] [Prepa] GoCompilePkg pkg/server/handler/extractorhandler/extractorhandler.a ... (8 actions, 0 running) [4,732 / 4,750] GoCompilePkg pkg/server/handler/ttlhandler/ttlhandler.a; 1s remote-cache, linux-sandbox ... (7 actions, 6 running) [4,733 / 4,750] GoCompilePkg pkg/server/handler/ttlhandler/ttlhandler.a; 2s remote-cache, linux-sandbox ... (6 actions running) [4,736 / 4,750] Running nogo on //pkg/server:server; 0s remote-cache, linux-sandbox ... (4 actions running) [4,738 / 4,750] GoCompilePkg pkg/server/server.a; 1s remote-cache, linux-sandbox [4,638 / 4,639] GoLink tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test; 10s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 10s remote-cache, linux-sandbox [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; 10s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test; 11s remote-cache, linux-sandbox [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 10s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 10s remote-cache, linux-sandbox [4,572 / 4,573] GoLink tests/realtikvtest/pipelineddmltest/pipelineddmltest_test_/pipelineddmltest_test; 11s remote-cache, linux-sandbox [4,568 / 4,569] [Prepa] Testing //tests/realtikvtest/addindextest1:addindextest1_test [4,570 / 4,571] GoLink tests/realtikvtest/pessimistictest/pessimistictest_test_/pessimistictest_test; 10s remote-cache, linux-sandbox [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/addindextest:addindextest_test [4,567 / 4,568] GoLink tests/realtikvtest/addindextest4/addindextest4_test_/addindextest4_test; 10s remote-cache, linux-sandbox [4,639 / 4,640] [Prepa] Testing //tests/realtikvtest/importintotest3:importintotest3_test [4,568 / 4,569] [Prepa] Testing //tests/realtikvtest/addindextest4:addindextest4_test [4,739 / 4,750] [Prepa] Running nogo on //br/pkg/mock:mock ... (2 actions, 0 running) [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 0s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 1s remote-cache, linux-sandbox [4,570 / 4,571] GoLink tests/realtikvtest/addindextest3/addindextest3_test_/addindextest3_test; 11s remote-cache, linux-sandbox [4,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 1s remote-cache, linux-sandbox [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 1s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 1s remote-cache, linux-sandbox [4,741 / 4,750] GoCompilePkg br/pkg/mock/mock.a; 1s 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 INFO: Elapsed time: 43.683s, Critical Path: 25.55s INFO: 4269 processes: 4258 remote cache hit, 3 internal, 8 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 [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 1s remote-cache, linux-sandbox [4,641 / 4,642] GoLink tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test; 11s remote-cache, linux-sandbox [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 11s remote-cache, linux-sandbox [4,636 / 4,637] GoLink tests/realtikvtest/addindextest2/addindextest2_test_/addindextest2_test; 12s remote-cache, linux-sandbox 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,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 10s remote-cache, linux-sandbox [4,638 / 4,639] GoLink tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test; 11s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 1s remote-cache, linux-sandbox [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 0s 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] } [4,642 / 4,643] [Prepa] Testing //tests/realtikvtest/importintotest4:importintotest4_test [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 1s remote-cache, linux-sandbox [4,742 / 4,750] [Prepa] GoCompilePkg tests/realtikvtest/importintotest/importintotest_test.internal.a ... (2 actions, 0 running) [4,642 / 4,643] Testing //tests/realtikvtest/importintotest4:importintotest4_test; 1s remote-cache, linux-sandbox [4,744 / 4,750] GoCompilePkg tests/realtikvtest/importintotest/importintotest_test.internal.a; 1s remote-cache, linux-sandbox [4,745 / 4,750] [Prepa] GoCompilePkgExternal tests/realtikvtest/importintotest/importintotest_test_test.external.a [4,749 / 4,750] GoLink tests/realtikvtest/importintotest/importintotest_test_/importintotest_test; 1s remote-cache, linux-sandbox [4,639 / 4,640] Testing //tests/realtikvtest/importintotest3:importintotest3_test; 11s remote-cache, linux-sandbox ./t/ddl/multi_schema_change.test: ok! 305 test cases passed, take time 36.092348878 s [4,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 11s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_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/flashbacktest:flashbacktest_test; 11s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 11s remote-cache, linux-sandbox ./t/ddl/partition.test: ok! 138 test cases passed, take time 8.462166391 s [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 41s remote-cache, linux-sandbox [4,642 / 4,643] Testing //tests/realtikvtest/importintotest4:importintotest4_test; 11s remote-cache, linux-sandbox [4,639 / 4,640] 1 / 1 tests; Testing //tests/realtikvtest/importintotest3:importintotest3_test; 16s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest3:importintotest3_test: ==================== Test output for //tests/realtikvtest/importintotest3:importintotest3_test: === RUN TestImportInto [2025/04/05 06:58:36.988 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:36.989 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:36.990 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:36.991 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:36.991 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:36.991 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:36.991 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:36.991 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:36.992 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:36.992 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:36.992 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:36.998 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:37.005 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.006 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.006 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.030 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.030 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.035 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.035 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.047 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.070 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719514177082207] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:37.092 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:37.130 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=818] ["lease id"=3eaa9604bcf42ef5] [2025/04/05 06:58:37.133 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:37.139 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest3/importintotest3_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest3/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest3/importintotest3_test.TestImportInto\n\ttests/realtikvtest/importintotest3/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:37.242 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=102.746368ms] [2025/04/05 06:58:37.242 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:37.243 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:37.243 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:37.243 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:37.245 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:37.247 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:37.247 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320718172160/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:37.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.247 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.247 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [2025/04/05 06:58:37.249 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf429e9] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:37.249 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:37.249 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ownerKey=/tidb/ddl/fg/owner/22319604bcf429e9] [currRev=93] [2025/04/05 06:58:37.250 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:37.250 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.250 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:37.250 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf429eb] [ownerID=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [op=none] [2025/04/05 06:58:37.251 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [2025/04/05 06:58:37.251 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [ownerKey=/tidb/br-stream/owner/22319604bcf429eb] [currRev=94] [2025/04/05 06:58:37.251 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf429e9] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:37.251 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:37.251 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:37.254 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:37.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:37.269 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.414 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=124.063006ms] [2025/04/05 06:58:37.414 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:37.419 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:37.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=1] ["take time"=132.935558ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.448 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:37.449 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:37.450 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:37.454 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/05 06:58:37.479 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.479 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.542 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.547819ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.546 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.546 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58:37.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=2] ["take time"=14.506016ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.567 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:37.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:37.612 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.612 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:37.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.03934ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.639 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.639 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:37.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=3] ["take time"=8.695056ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.651 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.664 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:37.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:37.678 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.678 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:37.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.702 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.962013ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.706 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:37.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=4] ["take time"=8.826743ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.718 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.731 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:37.732 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:37.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.444633ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.801 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.801 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:37.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=5] ["take time"=15.202291ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.819 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.840 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:37.840 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:37.856 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.856 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.885 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.655688ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.888 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:37.890 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=9.390871ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.901 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.916 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:37.916 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:37.930 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.930 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.422439ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.960 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.960 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:37.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=8.974572ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.972 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.985 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:58:37.986 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:37.998 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.998 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:58:38.003 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=2.090321ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.023 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:58:38.024 +00:00] [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.430987ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.034 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.978 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.046 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:58:38.046 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:58:38.058 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.058 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:58:38.064 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.844443ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.084 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.084 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:58:38.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=9] ["take time"=8.735308ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.096 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.107 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:58:38.108 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:58:38.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:58:38.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.1649ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.149 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:58:38.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=10] ["take time"=8.391869ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.161 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:58:38.174 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:58:38.187 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.187 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:58:38.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.18008ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.216 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:58:38.217 +00:00] [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.660101ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.228 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.240 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:58:38.241 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:58:38.242 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:38.248 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:38.257 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.257 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.263 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.064112ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.292 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.292 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:58:38.294 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=9.667768ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.305 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:58:38.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.338 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.338 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:58:38.343 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.585699ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.369 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:58:38.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=13] ["take time"=9.158697ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.382 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:58:38.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:58:38.410 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.410 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:38.416 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.114042ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.439 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.439 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:58:38.440 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=14] ["take time"=8.968511ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.451 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.464 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:58:38.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:38.478 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.478 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:38.484 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.511 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.168297ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.514 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.514 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:58:38.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=15] ["take time"=16.991047ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.527 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.540 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:58:38.541 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:38.554 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.554 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.561 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.579 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.95036ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.583 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.583 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:58:38.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=16] ["take time"=8.494095ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.595 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:58:38.607 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.621 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.621 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:58:38.627 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.204599ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.650 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:58:38.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=17] ["take time"=9.140885ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.663 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.579 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.676 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:58:38.676 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:58:38.689 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.689 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:58:38.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.164924ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.718 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:58:38.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=18] ["take time"=8.742705ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.730 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.678 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.743 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:58:38.743 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:58:38.760 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.760 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:38.766 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.984692ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.794 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:58:38.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.231544ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.808 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.824 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:58:38.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:38.844 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.844 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.850 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.042512ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.873 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:58:38.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=20] ["take time"=8.736089ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.885 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:58:38.898 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.911 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.911 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:58:38.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.77208ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.938 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:58:38.941 +00:00] [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.689022ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.951 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.879 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:58:38.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:58:38.974 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.974 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:58:38.979 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.434842ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.997 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:58:38.998 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:38.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=22] ["take time"=7.906293ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.009 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.019 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:58:39.019 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:58:39.034 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.034 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:58:39.040 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.661733ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.065 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:58:39.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=23] ["take time"=9.477984ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.078 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.092 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:58:39.093 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:58:39.107 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.107 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.990269ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:58:39.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=24] ["take time"=9.0599ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.079 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.159 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:58:39.160 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.173 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.173 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:58:39.179 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.198 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.039699ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.201 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.201 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:58:39.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=25] ["take time"=8.645295ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.129 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:58:39.231 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:58:39.244 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.244 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:58:39.246 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:39.247 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:58:39.250 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.861648ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.271 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.271 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:58:39.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=26] ["take time"=8.761845ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.283 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.228 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:58:39.295 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:58:39.308 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:58:39.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.332 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.002453ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.336 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:58:39.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=27] ["take time"=8.694975ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.347 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.359 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:58:39.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:39.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:58:39.379 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.397 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.868912ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.400 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:58:39.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=28] ["take time"=8.500263ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:58:39.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:58:39.426 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:39.439 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.439 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:58:39.444 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.465 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.288843ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.468 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:58:39.470 +00:00] [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.057325ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.481 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.428 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.494 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:58:39.495 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:39.509 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.509 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:39.515 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.304142ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:58:39.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=30] ["take time"=8.76826ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.553 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.566 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:58:39.566 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:39.581 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.580 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:39.586 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.607 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.603076ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.611 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:58:39.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=31] ["take time"=9.946931ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.626 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.529 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:58:39.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:39.659 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.659 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:58:39.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.74315ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.702 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.702 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:58:39.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=32] ["take time"=12.226924ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.717 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.629 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:58:39.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:58:39.748 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.748 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:58:39.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.769 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.651047ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.773 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.773 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:58:39.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=33] ["take time"=8.379281ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.784 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.795 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:58:39.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:58:39.812 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.812 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:58:39.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.264512ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:39.843 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:58:39.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=34] ["take time"=8.420213ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.855 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.778 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:58:39.884 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.884 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:58:39.890 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.314394ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.914 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:58:39.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=35] ["take time"=9.264289ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.926 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.939 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:58:39.940 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:58:39.953 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.953 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:58:39.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=5.836269ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.983 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:58: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=36] ["take time"=13.040423ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.998 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.011 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:58:40.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:58:40.026 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.026 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:58:40.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.049 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.828651ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.053 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.053 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:58:40.054 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.544488ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.065 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.077 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:58:40.077 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:58:40.094 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.094 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:58:40.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.452104ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.132 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:58:40.134 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.086707ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.146 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.078 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.164 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:58:40.164 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:58:40.180 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.180 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:58:40.186 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.212 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.138701ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.215 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:58:40.217 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=9.982519ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:58:40.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:58:40.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.264 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:58:40.271 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.471785ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.302 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:58:40.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"=9.619831ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.316 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:58:40.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:58:40.351 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.351 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:40.358 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.807918ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.391 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.391 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:58:40.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=41] ["take time"=10.562838ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.405 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.328 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.423 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:58:40.423 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:40.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:40.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.668265ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.480 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.480 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:58:40.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=42] ["take time"=10.450235ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.513 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:58:40.513 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:40.530 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.530 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:58:40.536 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.38376ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.567 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:58:40.568 +00:00] [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.612142ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.581 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.479 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:58:40.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:58:40.614 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.614 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:40.620 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.644 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.786781ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.647 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.647 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:58:40.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=44] ["take time"=9.449062ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.660 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.578 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.676 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:58:40.676 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:40.692 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.692 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:40.698 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.722 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.780752ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.725 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:58:40.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=45] ["take time"=9.313183ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.754 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:58:40.755 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:40.773 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.773 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:58:40.780 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.815 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.99716ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.819 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.819 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:58:40.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=46] ["take time"=11.165648ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.834 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.729 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:58:40.853 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:58:40.869 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.869 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:40.875 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.84556ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.902 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:58:40.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=47] ["take time"=9.410143ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.829 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.930 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:58:40.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:40.943 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.943 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:58:40.949 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.967 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=2.033615ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.970 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.970 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:58:40.972 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=48] ["take time"=8.438068ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.928 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.994 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:58:40.994 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/05 06:58:41.009 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:58:41.009 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.033 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.13814ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.036 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:58:41.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=49] ["take time"=8.332733ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.048 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.979 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.061 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:58:41.061 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:58:41.063 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:41.075 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.075 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:58:41.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.100 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.21168ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.103 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:58:41.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=50] ["take time"=8.853015ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.115 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.029 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.128 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:58:41.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:58:41.139 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.139 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:58:41.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.157 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=601.549µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:41.160 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:58:41.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=51] ["take time"=6.967663ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.170 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.128 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.179 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:58:41.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:58:41.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:58:41.199 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.217 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.801496ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:41.220 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:58:41.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.137772ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.232 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.178 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.245 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:58:41.255 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:41.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:41.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:41.255 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:41.262 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.262 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:58:41.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.217146ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.298 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:58:41.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=53] ["take time"=10.40257ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.312 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.229 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.328 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:58:41.328 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:58:41.342 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.342 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:58:41.348 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.368 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.263716ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.371 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:58:41.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=54] ["take time"=8.971409ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.383 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.397 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:58:41.397 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:58:41.411 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.411 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:58:41.417 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.420267ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.441 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:58:41.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=8.988262ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.379 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:58:41.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:58:41.609 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.35897592s] [2025/04/05 06:58:41.612 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:41.612 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:41.612 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.612 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:41.612 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=45.681µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=30.808µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=28.656µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=28.931µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=29.346µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=25.29µs] [2025/04/05 06:58:41.612 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=26.715µs] [2025/04/05 06:58:41.613 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=28.479µs] [2025/04/05 06:58:41.613 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=43.263µs] [2025/04/05 06:58:41.613 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=26.474µs] [2025/04/05 06:58:41.613 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.613 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.614 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:41.614 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:41.625 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] ["take time"=12.963889ms] [2025/04/05 06:58:41.625 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=818] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:41.626 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:41.626 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:41.626 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [2025/04/05 06:58:41.626 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [2025/04/05 06:58:41.626 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:41.626 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [2025/04/05 06:58:41.627 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cd3b65c8-1895-4c7d-bf83-ef6b27db3b18] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.627 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:41.627 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:41.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:41.627 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:41.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:41.627 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:41.628 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:41.632 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.246939ms] [2025/04/05 06:58:41.632 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719514177082207] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:41.646 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:41.684 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1819] ["lease id"=3eaa9604bcf42f69] [2025/04/05 06:58:41.687 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:41.804 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.909792ms] [2025/04/05 06:58:41.805 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:41.813 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:41.813 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:41.814 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [lease=22319604bcf429e9] [2025/04/05 06:58:41.815 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:41.815 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 320718233600/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:41.815 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:41.815 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.815 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [2025/04/05 06:58:41.817 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf429e9] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:41.817 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.817 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ownerKey=/tidb/ddl/fg/owner/22319604bcf429e9] [currRev=273] [2025/04/05 06:58:41.818 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:41.818 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.818 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf42a5b] [ownerID=f7a0f387-c192-4900-89bf-ae2090e02d92] [op=none] [2025/04/05 06:58:41.818 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [2025/04/05 06:58:41.818 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:41.818 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [ownerKey=/tidb/br-stream/owner/22319604bcf42a5b] [currRev=274] [2025/04/05 06:58:41.819 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf429e9] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:41.819 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:41.819 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:41.827 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:41.828 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:41.830 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9604bcf42f72] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:41.830 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.830 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ownerKey=/tidb/bindinfo/owner/3eaa9604bcf42f72] [currRev=275] [2025/04/05 06:58:41.837 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:58:41.839 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:41.840 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:41.846 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:41.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:41.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:41.854 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:41.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:41.854 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:41.854 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:41.854 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:41.854 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:41.854 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:41.855 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:41.855 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:41.856 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:41.856 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:58:41.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:41.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:41.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:41.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:41.858 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf42a61] [ownerID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [op=none] [2025/04/05 06:58:41.858 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.859 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ownerKey=/tidb/stats/owner/22319604bcf42a61] [currRev=276] [2025/04/05 06:58:41.859 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:58:41.862 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c1b7b8e5-b451-4048-ac3f-42405811a105] [2025/04/05 06:58:41.862 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ttl-worker=task-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [originalCount=0] [newCount=4] [2025/04/05 06:58:41.862 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ttl-worker=task-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [originalCount=0] [newCount=4] [2025/04/05 06:58:41.862 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:41.863 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:41.870 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:41.870 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:41.870 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836321870792033 [2025/04/05 06:58:41.872 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:41.879 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.681697ms] [2025/04/05 06:58:41.879 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:41.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:41.883 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836321884997185 === RUN TestImportInto/TestGzipAndMixedCompression [2025/04/05 06:58:41.888 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gzip"] [user=] [2025/04/05 06:58:41.899 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gzip"] [2025/04/05 06:58:41.899 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.905 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.919 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=639.494µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:41.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:58:41.924 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=7.428267ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.935 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.878 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.948 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:58:41.948 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gzip"] [user=] [2025/04/05 06:58:41.965 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.965 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 06:58:41.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.974 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 06:58:41.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.571208ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 06:58:41.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=57] ["take time"=8.162728ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.007 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.929 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 06:58:42.018 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gzip] [sql="CREATE TABLE gzip.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 06:58:42.080 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:42.139 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:42.168 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:58:42.828 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:42.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:42.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:42.828 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:42.862 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:42.862 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:42.862 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c1b7b8e5-b451-4048-ac3f-42405811a105] [watcherID=6134d5f7-f27d-4fa4-863b-c423137fbecc] [2025/04/05 06:58:42.870 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:42.876 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 06:58:42.876 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:42.876 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:42.876 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:42.876 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:42.892 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:42.892 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:58:42.995 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:42.996 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:42.997 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 06:58:43.005 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:43.017 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:43.018 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/05 06:58:43.018 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=107.963µs] [2025/04/05 06:58:43.018 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=205.908µs] [] [2025/04/05 06:58:43.018 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:43.018 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:58:43.053 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:43.073 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:58:43.073 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:43.074 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 06:58:43.081 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:43.081 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:43.082 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:43.082 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:43.082 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:43.082 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:43.082 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:43.082 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:43.083 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:43.083 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:43.097 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:43.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/05 06:58:43.099 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:43.099 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:43.099 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:43.099 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/05 06:58:43.101 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 06:58:43.114 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 06:58:43.114 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 06:58:43.136 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 06:58:43.136 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:43.140 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:43.140 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:58:43.143 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [2025/04/05 06:58:43.144 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gz:0] [readDur=79.825µs] [encodeDur=119.071µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=32.33µs] [type=file] [takeTime=587.538µs] [] [2025/04/05 06:58:43.145 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:58:43.145 +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/bff72277-dbcb-4050-b932-9351ca2c822f.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000002] [2025/04/05 06:58:43.214 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [2025/04/05 06:58:43.214 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.001.csv.gzip:0] [readDur=85.767µs] [encodeDur=191.811µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=26.133µs] [type=file] [takeTime=498.263µs] [] [2025/04/05 06:58:43.215 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:58:43.215 +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/83cd8ae4-0fde-4cf0-b9e7-3dc9b19434f5.sst] [firstKey=7480000000000000725F728000000000000003] [lastKey=7480000000000000725F728000000000000004] [2025/04/05 06:58:43.253 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [2025/04/05 06:58:43.254 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=compress.002.csv:0] [readDur=910.029µs] [encodeDur=215.785µs] [checksum="{cksum=17289666951678080828,size=165,kvs=5}"] [deliverDur=27.392µs] [type=file] [takeTime=1.344348ms] [] [2025/04/05 06:58:43.255 +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/3cdf1650-e094-4ba4-97cb-882ddd55be44.sst] [firstKey=7480000000000000725F728000000000000005] [lastKey=7480000000000000725F728000000000000009] [2025/04/05 06:58:43.255 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:43.255 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:43.255 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:43.258 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=2.196902ms] [] [2025/04/05 06:58:43.258 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/05 06:58:43.262 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:43.285 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=9] [size=297] [2025/04/05 06:58:43.285 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:43.287 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff00000a0000000000fa] [2025/04/05 06:58:43.299 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=297] [kvs=9] [importedSize=297] [importedCount=9] [2025/04/05 06:58:43.301 +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.463166ms] [] [2025/04/05 06:58:43.301 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:43.303 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.241201ms] [] [2025/04/05 06:58:43.303 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:43.303 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:43.304 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.490134ms] [] [2025/04/05 06:58:43.304 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/05 06:58:43.308 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:43.308 +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.537275ms] [] [2025/04/05 06:58:43.308 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:43.309 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=979.086µs] [] [2025/04/05 06:58:43.309 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=194.719017ms] [] [2025/04/05 06:58:43.309 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=194.902399ms] [] [2025/04/05 06:58:43.399 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:43.400 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:43.401 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:43.401 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:43.429 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 06:58:43.431 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:43.431 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:58:43.451 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:43.451 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:58:43.454 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:43.454 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:43.454 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:43.454 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:43.454 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:43.454 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:43.454 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:43.454 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:43.454 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:43.454 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:43.454 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:43.454 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:43.456 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:43.456 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:43.456 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:43.456 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:43.456 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=356.902075ms] [] [2025/04/05 06:58:43.456 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:58:43.462 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:43.482 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:43.489 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/05 06:58:43.489 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:43.489 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:43.489 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:43.489 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=1.557µs] [] [2025/04/05 06:58:43.489 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=297] [kvs=9] [checksum=8090491426016633849] [2025/04/05 06:58:43.489 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/05 06:58:43.489 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/05 06:58:43.489 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/05 06:58:43.491 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=8090491426016633849] [totalKvs=9] [totalBytes=297] [2025/04/05 06:58:43.492 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:43.492 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=8090491426016633849,size=297,kvs=9}"] [2025/04/05 06:58:43.492 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.580802ms] [] [2025/04/05 06:58:43.492 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=2.701507ms] [] [2025/04/05 06:58:43.492 +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.829557ms] [] [2025/04/05 06:58:43.495 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:43.600 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:43.600 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 06:58:43.602 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 06:58:43.626 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [takeTime=144.062214ms] [] [2025/04/05 06:58:43.626 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:58:43.684 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.66159021\n# Parse_time: 0.00019427\n# Compile_time: 0.000485184\n# Rewrite_time: 0.00009028\n# Optimize_time: 0.000073889\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuNjZzLCBvcGVuOjY4Mm5zLCBjbG9zZTo5MTZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuNjZzLCBvcGVuOjY4Mm5zLCBjbG9zZTo5MTZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gzip;\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:58:43.694 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:43.699 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table gzip.t"] [2025/04/05 06:58:43.699 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.700 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:43.700 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:43.704 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.711 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/05 06:58:43.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.758212ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:43.730 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:43.731 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 06:58:43.733 +00:00] [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.857067ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.743 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/05 06:58:43.752 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/05 06:58:43.753 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.679 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 06:58:43.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="truncate table gzip.t"] [user=] [2025/04/05 06:58:43.778 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:43.815 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:43.833 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:43.851 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=111B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:58:43.865 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:43.865 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:58:43.967 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:43.968 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:43.969 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 06:58:43.977 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:43.989 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:43.989 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=111] [2025/04/05 06:58:43.989 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=111] [cost=86.124µs] [2025/04/05 06:58:43.989 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=174.021µs] [] [2025/04/05 06:58:43.989 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:43.989 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:58:44.023 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:44.043 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:58:44.043 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:44.051 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:44.051 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:44.051 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:44.051 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:44.052 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:44.052 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:44.052 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:44.052 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:44.052 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:44.052 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:44.065 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:44.066 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:44.066 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:44.067 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:44.067 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/05 06:58:44.067 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:44.074 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 06:58:44.075 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/05 06:58:44.075 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/05 06:58:44.080 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:44.084 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:44.084 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 06:58:44.088 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [2025/04/05 06:58:44.089 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gz:0] [readDur=39.304µs] [encodeDur=564.774µs] [checksum="{cksum=7821157384024914867,size=33,kvs=1}"] [deliverDur=128.316µs] [type=file] [takeTime=1.071516ms] [] [2025/04/05 06:58:44.090 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 06:58:44.090 +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/bca2898f-de0b-41d3-b5cb-7469b11f3f3d.sst] [firstKey=7480000000000000745F728000000000000002] [lastKey=7480000000000000745F728000000000000002] [2025/04/05 06:58:44.093 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [2025/04/05 06:58:44.094 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.001.csv.gzip:0] [readDur=70.583µs] [encodeDur=163.954µs] [checksum="{cksum=8469875042060741206,size=33,kvs=1}"] [deliverDur=25.783µs] [type=file] [takeTime=558.568µs] [] [2025/04/05 06:58:44.095 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 06:58:44.095 +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/a1085d6d-1574-410a-b223-e698c04665ce.sst] [firstKey=7480000000000000745F728000000000000004] [lastKey=7480000000000000745F728000000000000004] [2025/04/05 06:58:44.099 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 06:58:44.111 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [2025/04/05 06:58:44.112 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=compress.002.csv:0] [readDur=79.726µs] [encodeDur=232.45µs] [checksum="{cksum=0,size=132,kvs=4}"] [deliverDur=27.195µs] [type=file] [takeTime=578.874µs] [] [2025/04/05 06:58:44.113 +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/66dc8b49-c6d3-4a87-8332-f388b381cc82.sst] [firstKey=7480000000000000745F728000000000000006] [lastKey=7480000000000000745F728000000000000009] [2025/04/05 06:58:44.113 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:44.113 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:44.113 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:44.115 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=2.004557ms] [] [2025/04/05 06:58:44.115 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [2025/04/05 06:58:44.120 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:44.142 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] ["region ranges"=1] [count=6] [size=198] [2025/04/05 06:58:44.142 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:44.144 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000002] [endOfAllRanges=7480000000000000745f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000020000000000fa] [endKeyOfLastRegion=7480000000000000ff745f728000000000ff00000a0000000000fa] [2025/04/05 06:58:44.156 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a44d817b-cb07-5b2e-a759-37c0e04df925] [size=198] [kvs=6] [importedSize=198] [importedCount=6] [2025/04/05 06:58:44.157 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [retryCnt=0] [takeTime=42.154446ms] [] [2025/04/05 06:58:44.158 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [2025/04/05 06:58:44.159 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:0] [engineUUID=a44d817b-cb07-5b2e-a759-37c0e04df925] [takeTime=1.227222ms] [] [2025/04/05 06:58:44.159 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:44.159 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:44.161 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=1.647096ms] [] [2025/04/05 06:58:44.161 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [retryCnt=0] [2025/04/05 06:58:44.164 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:44.164 +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.515886ms] [] [2025/04/05 06:58:44.164 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [2025/04/05 06:58:44.165 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`gzip`.`t`:-1] [engineUUID=f882bfdb-7ec8-58cc-95d6-d70a2c99a1d9] [takeTime=867.084µs] [] [2025/04/05 06:58:44.165 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=90.056766ms] [] [2025/04/05 06:58:44.165 +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.232016ms] [] [2025/04/05 06:58:44.271 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:44.272 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:44.273 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:44.273 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:44.302 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:58:44.304 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:44.304 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:58:44.311 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:44.311 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:58:44.314 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:44.314 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:44.314 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:44.314 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:44.314 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:44.314 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:44.314 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:44.314 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:44.314 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:44.314 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:44.314 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:44.314 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:44.316 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:44.316 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:44.316 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:44.316 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:44.316 +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=249.173325ms] [] [2025/04/05 06:58:44.316 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:44.332 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:44.352 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:44.358 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/05 06:58:44.358 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:44.359 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:44.359 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:44.359 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=1.765µs] [] [2025/04/05 06:58:44.359 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=198] [kvs=6] [checksum=1801826099013898725] [2025/04/05 06:58:44.359 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/05 06:58:44.359 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/05 06:58:44.359 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/05 06:58:44.360 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=1801826099013898725] [totalKvs=6] [totalBytes=198] [2025/04/05 06:58:44.361 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:44.361 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=1801826099013898725,size=198,kvs=6}"] [2025/04/05 06:58:44.361 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.346359ms] [] [2025/04/05 06:58:44.361 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=2.470689ms] [] [2025/04/05 06:58:44.361 +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.59898ms] [] [2025/04/05 06:58:44.367 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:44.371 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:44.371 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 06:58:44.374 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 06:58:44.405 +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=52.955151ms] [] [2025/04/05 06:58:44.405 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:44.466 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.693418784\n# Parse_time: 0.000112602\n# Compile_time: 0.000455865\n# Rewrite_time: 0.000090356\n# Optimize_time: 0.000246148\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi42bXMsIG9wZW46Njk0bnMsIGNsb3NlOjc1MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi42bXMsIG9wZW46Njk0bnMsIGNsb3NlOjc1MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `gzip`.`t` FROM 'gs://gzip/compress.*?endpoint=http://127.0.0.1:4443/storage/v1/' WITH skip_rows=1, thread=1;"] [2025/04/05 06:58:44.467 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] --- PASS: TestImportInto/TestGzipAndMixedCompression (2.58s) === NAME TestImportInto === RUN TestImportInto/TestImportFromServer [2025/04/05 06:58:44.471 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gzip] [sql="drop database if exists from_server"] [user=] [2025/04/05 06:58:44.473 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:44.473 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:44.482 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.482 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_server"] [2025/04/05 06:58:44.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:queueing, SchemaState:none, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.493 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:44.502 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=681.137µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:44.506 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 06:58:44.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=59] ["take time"=7.447393ms] [job="ID:119, Type:create schema, State:done, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.518 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create schema, State:synced, SchemaState:public, SchemaID:118, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 06:58:44.528 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gzip] [sql="create database from_server"] [user=] [2025/04/05 06:58:44.541 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.541 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100));"] [2025/04/05 06:58:44.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.551 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/05 06:58:44.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.704573ms] [gotSchemaVersion=60] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/05 06:58:44.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=8.580447ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.583 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.528 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 06:58:44.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=from_server] [sql="create table t (a bigint, b varchar(100));"] [user=] [2025/04/05 06:58:44.641 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3384444159/001/server-0.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:44.641 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:44.641 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 06:58:44.641 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=49.12µs] [2025/04/05 06:58:44.641 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=148.846µs] [] [2025/04/05 06:58:44.659 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=18B] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:44.673 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:44.673 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:44.775 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:44.776 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:44.777 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 06:58:44.785 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:44.785 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:58:44.824 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 06:58:44.843 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:58:44.850 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:44.850 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:44.850 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:44.850 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:44.851 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:44.851 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:44.851 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:44.851 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:44.851 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:44.852 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:44.859 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 06:58:44.860 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:58:44.864 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:44.865 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:44.866 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:44.866 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:44.866 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/05 06:58:44.866 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:44.873 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/05 06:58:44.873 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/05 06:58:44.877 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:44.881 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:44.881 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=120] [2025/04/05 06:58:44.881 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 06:58:44.892 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [2025/04/05 06:58:44.893 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=120] [key=server-0.csv:0] [readDur=59.756µs] [encodeDur=203.225µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=215.335µs] [type=file] [takeTime=711.205µs] [] [2025/04/05 06:58:44.893 +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/afc299c4-f9d4-4e65-ad2e-0e5e987f8071.sst] [firstKey=7480000000000000785F728000000000000001] [lastKey=7480000000000000785F728000000000000002] [2025/04/05 06:58:44.894 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:44.894 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:44.894 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:44.896 +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.183859ms] [] [2025/04/05 06:58:44.896 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 06:58:44.900 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 06:58:44.900 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:44.922 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=76] [2025/04/05 06:58:44.922 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:44.923 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f728000000000000001] [endOfAllRanges=7480000000000000785f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff785f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff785f728000000000ff0000030000000000fa] [2025/04/05 06:58:44.934 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 06:58:44.936 +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=39.63857ms] [] [2025/04/05 06:58:44.936 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:44.937 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.073151ms] [] [2025/04/05 06:58:44.937 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:44.937 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:44.938 +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.464624ms] [] [2025/04/05 06:58:44.938 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 06:58:44.942 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:44.942 +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.48712ms] [] [2025/04/05 06:58:44.942 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:44.943 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=942.227µs] [] [2025/04/05 06:58:44.943 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=69.888634ms] [] [2025/04/05 06:58:44.943 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=70.029835ms] [] [2025/04/05 06:58:44.980 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:44.981 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:44.983 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:44.983 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:45.012 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:58:45.014 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:45.014 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:45.045 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:45.051 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:58:45.054 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:45.054 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:45.054 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:45.054 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:45.054 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:45.054 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:45.054 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:45.054 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.054 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.054 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.054 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:45.054 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:45.057 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:45.057 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.057 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.057 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.057 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=191.037166ms] [] [2025/04/05 06:58:45.058 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:45.066 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/05 06:58:45.066 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:45.066 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:45.066 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:45.072 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=5.70567ms] [] [2025/04/05 06:58:45.072 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=76] [kvs=2] [checksum=4217614283895359297] [2025/04/05 06:58:45.072 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/05 06:58:45.072 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/05 06:58:45.072 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/05 06:58:45.074 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=120] [physicalTableID=120] [indexID=-1] [checksum=4217614283895359297] [totalKvs=2] [totalBytes=76] [2025/04/05 06:58:45.074 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:45.074 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=4217614283895359297,size=76,kvs=2}"] [2025/04/05 06:58:45.074 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.315668ms] [] [2025/04/05 06:58:45.074 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=8.454647ms] [] [2025/04/05 06:58:45.074 +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.579857ms] [] [2025/04/05 06:58:45.075 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:45.180 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:45.180 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 06:58:45.183 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 06:58:45.212 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=154.368699ms] [] [2025/04/05 06:58:45.213 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 06:58:45.275 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:45.278 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.682775086\n# Parse_time: 0.000073155\n# Compile_time: 0.000483321\n# Rewrite_time: 0.000107639\n# Optimize_time: 0.000236662\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4MS45bXMsIG9wZW46NTYwbnMsIGNsb3NlOjEuMTbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4MS45bXMsIG9wZW46NTYwbnMsIGNsb3NlOjEuMTbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse from_server;\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3384444159/001/server-0.csv';"] [2025/04/05 06:58:45.281 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:45.281 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:45.295 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.295 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:58:45.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.304 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:45.309 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 122, Table Name: t, Old Table ID: 120, Old Table Name: t)"] [2025/04/05 06:58:45.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.785637ms] [gotSchemaVersion=61] [phyTblIDs="[120,122]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:45.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/05 06:58:45.330 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=9.713909ms] [job="ID:123, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.341 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[120]"] [comment="truncate table: table ID"] [2025/04/05 06:58:45.345 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="truncate table"] [2025/04/05 06:58:45.346 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.364 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 06:58:45.365 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/05 06:58:45.412 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3384444159/001/server-*.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:45.412 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:45.412 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=54] [2025/04/05 06:58:45.412 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=54] [cost=63.74µs] [2025/04/05 06:58:45.412 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=190.9µs] [] [2025/04/05 06:58:45.432 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=54B] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:45.446 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:45.446 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:45.548 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:45.549 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:45.550 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 06:58:45.558 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:45.558 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:58:45.593 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 06:58:45.613 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:58:45.620 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:45.620 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:45.620 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:45.620 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:45.620 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:45.620 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:45.620 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:45.621 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:45.621 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:45.621 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:45.633 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:45.635 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:45.635 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:45.635 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:45.635 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/05 06:58:45.635 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:45.643 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/05 06:58:45.643 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/05 06:58:45.647 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:45.651 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:45.651 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:45.651 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:45.651 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:45.656 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 06:58:45.679 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 06:58:45.701 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [2025/04/05 06:58:45.703 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-2.csv:0] [readDur=123.62µs] [encodeDur=384.337µs] [checksum="{cksum=13627491968562561727,size=76,kvs=2}"] [deliverDur=356.824µs] [type=file] [takeTime=1.338906ms] [] [2025/04/05 06:58:45.704 +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/d9bbdd0a-630c-44e0-9a01-f1f5dce4c5f9.sst] [firstKey=74800000000000007A5F728000000000000013] [lastKey=74800000000000007A5F728000000000000014] [2025/04/05 06:58:45.716 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [2025/04/05 06:58:45.717 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-0.csv:0] [readDur=104.593µs] [encodeDur=170.749µs] [checksum="{cksum=4217614283895359297,size=76,kvs=2}"] [deliverDur=313.59µs] [type=file] [takeTime=929.135µs] [] [2025/04/05 06:58:45.718 +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/10f0d7af-ac55-468c-bf99-4d7288772d25.sst] [firstKey=74800000000000007A5F728000000000000001] [lastKey=74800000000000007A5F728000000000000002] [2025/04/05 06:58:45.738 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [2025/04/05 06:58:45.739 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=server-1.csv:0] [readDur=99.237µs] [encodeDur=575.434µs] [checksum="{cksum=8740164075696154046,size=76,kvs=2}"] [deliverDur=245.446µs] [type=file] [takeTime=1.146524ms] [] [2025/04/05 06:58:45.740 +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/75e0ee86-961b-4fcd-b94e-e4d06a6f2cbc.sst] [firstKey=74800000000000007A5F72800000000000000A] [lastKey=74800000000000007A5F72800000000000000B] [2025/04/05 06:58:45.740 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:45.740 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:45.740 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:45.742 +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.102732ms] [] [2025/04/05 06:58:45.742 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 06:58:45.747 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:45.768 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=6] [size=228] [2025/04/05 06:58:45.769 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:45.771 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000001] [endOfAllRanges=74800000000000007a5f728000000000000015] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7a5f728000000000ff0000150000000000fa] [2025/04/05 06:58:45.783 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/05 06:58:45.785 +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.662083ms] [] [2025/04/05 06:58:45.785 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:45.786 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.240096ms] [] [2025/04/05 06:58:45.787 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:45.787 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:45.788 +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.46109ms] [] [2025/04/05 06:58:45.788 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 06:58:45.792 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:45.792 +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.598876ms] [] [2025/04/05 06:58:45.792 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:45.793 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=875.075µs] [] [2025/04/05 06:58:45.793 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=149.578001ms] [] [2025/04/05 06:58:45.793 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=149.719775ms] [] [2025/04/05 06:58:45.853 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:45.854 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:45.855 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:45.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:45.889 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:58:45.890 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:45.890 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:45.915 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:45.922 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:58:45.925 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:45.925 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:45.925 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:45.925 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:45.925 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:45.925 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:45.925 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:45.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.925 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:45.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.925 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:45.927 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:45.927 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.927 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.927 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.927 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=291.785392ms] [] [2025/04/05 06:58:45.929 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:45.936 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/05 06:58:45.936 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:45.936 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:45.936 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:45.942 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.444147ms] [] [2025/04/05 06:58:45.942 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=228] [kvs=6] [checksum=18361781019534991424] [2025/04/05 06:58:45.942 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/05 06:58:45.942 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/05 06:58:45.942 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/05 06:58:45.944 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=18361781019534991424] [totalKvs=6] [totalBytes=228] [2025/04/05 06:58:45.944 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:45.944 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=18361781019534991424,size=228,kvs=6}"] [2025/04/05 06:58:45.944 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.071408ms] [] [2025/04/05 06:58:45.944 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=8.211101ms] [] [2025/04/05 06:58:45.945 +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.353679ms] [] [2025/04/05 06:58:45.951 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:46.053 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:46.053 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 06:58:46.055 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 06:58:46.086 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=157.118721ms] [] [2025/04/05 06:58:46.086 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 06:58:46.148 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:46.154 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:46.154 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:46.175 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:46.349 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.984074024\n# Parse_time: 0.000091902\n# Compile_time: 0.000509583\n# Rewrite_time: 0.00013447\n# Optimize_time: 0.000347663\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4My4ybXMsIG9wZW46NjU5bnMsIGNsb3NlOjcyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4My4ybXMsIG9wZW46NjU5bnMsIGNsb3NlOjcyM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3384444159/001/server-*.csv';"] [2025/04/05 06:58:46.366 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:46.366 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:58:46.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:queueing, SchemaState:none, SchemaID:118, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.380 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 124, Table Name: t, Old Table ID: 122, Old Table Name: t)"] [2025/04/05 06:58:46.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.702174ms] [gotSchemaVersion=62] [phyTblIDs="[122,124]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:46.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=62] [2025/04/05 06:58:46.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=62] ["take time"=8.821596ms] [job="ID:125, Type:truncate table, State:done, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.412 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[122]"] [comment="truncate table: table ID"] [2025/04/05 06:58:46.417 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="truncate table"] [2025/04/05 06:58:46.418 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:truncate table, State:synced, SchemaState:public, SchemaID:118, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 06:58:46.437 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="truncate table t"] [user=] [2025/04/05 06:58:46.488 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportFromServer3384444159/001/test.csv.gz\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:46.488 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:46.488 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:46.488 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=36] [cost=48.518µs] [2025/04/05 06:58:46.488 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=151.473µs] [] [2025/04/05 06:58:46.516 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:46.532 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:46.532 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:46.636 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:46.638 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:46.639 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 06:58:46.648 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:46.648 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:58:46.684 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 06:58:46.704 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:58:46.712 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:46.712 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:46.712 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:46.712 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:46.713 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:46.713 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:46.713 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:46.713 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:46.713 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:46.714 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:46.727 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:46.729 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:46.730 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:46.730 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:46.730 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/05 06:58:46.730 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:46.738 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/05 06:58:46.739 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/05 06:58:46.741 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 06:58:46.744 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:46.748 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:46.748 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=124] [2025/04/05 06:58:46.762 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 06:58:46.786 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [2025/04/05 06:58:46.787 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=124] [key=test.csv.gz:0] [readDur=98.359µs] [encodeDur=181.344µs] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [deliverDur=285.739µs] [type=file] [takeTime=930.003µs] [] [2025/04/05 06:58:46.788 +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/1ef3890e-86b9-411e-9e13-69af339f9dcd.sst] [firstKey=74800000000000007C5F728000000000000001] [lastKey=74800000000000007C5F728000000000000002] [2025/04/05 06:58:46.788 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:46.788 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:46.788 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:46.790 +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.153462ms] [] [2025/04/05 06:58:46.790 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [2025/04/05 06:58:46.794 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:46.816 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] ["region ranges"=1] [count=2] [size=74] [2025/04/05 06:58:46.816 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:46.818 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007c5f728000000000000001] [endOfAllRanges=74800000000000007c5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7c5f728000000000ff0000030000000000fa] [2025/04/05 06:58:46.830 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=490acc05-2370-5ec4-8393-939390984a58] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/05 06:58:46.832 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [retryCnt=0] [takeTime=41.569037ms] [] [2025/04/05 06:58:46.832 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [2025/04/05 06:58:46.833 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:0] [engineUUID=490acc05-2370-5ec4-8393-939390984a58] [takeTime=1.333601ms] [] [2025/04/05 06:58:46.833 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:46.833 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:46.835 +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.701699ms] [] [2025/04/05 06:58:46.835 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [retryCnt=0] [2025/04/05 06:58:46.839 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:46.839 +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.525784ms] [] [2025/04/05 06:58:46.839 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [2025/04/05 06:58:46.840 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_server`.`t`:-1] [engineUUID=cdc70700-12ab-529a-b4ba-b188e4e6e47d] [takeTime=944.642µs] [] [2025/04/05 06:58:46.840 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=101.355013ms] [] [2025/04/05 06:58:46.840 +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.987171ms] [] [2025/04/05 06:58:46.940 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:46.941 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:46.942 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:46.942 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:46.973 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:58:46.974 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:46.974 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:46.996 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:46.996 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:58:46.998 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:46.998 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:46.998 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:46.998 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:46.998 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:46.998 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:46.998 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:46.998 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:46.998 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:46.998 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:46.998 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:46.998 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.001 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:47.001 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.001 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.001 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.001 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=271.109077ms] [] [2025/04/05 06:58:47.001 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:58:47.013 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=44] [2025/04/05 06:58:47.033 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [2025/04/05 06:58:47.040 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/05 06:58:47.040 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:47.041 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:47.041 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:47.046 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=5.587484ms] [] [2025/04/05 06:58:47.046 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=74] [kvs=2] [checksum=3639429438335945898] [2025/04/05 06:58:47.046 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/05 06:58:47.046 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/05 06:58:47.047 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/05 06:58:47.054 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=124] [physicalTableID=124] [indexID=-1] [checksum=3639429438335945898] [totalKvs=2] [totalBytes=74] [2025/04/05 06:58:47.054 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:47.054 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=3639429438335945898,size=74,kvs=2}"] [2025/04/05 06:58:47.055 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=13.898114ms] [] [2025/04/05 06:58:47.055 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=14.04569ms] [] [2025/04/05 06:58:47.055 +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=14.183065ms] [] [2025/04/05 06:58:47.063 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:47.139 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:47.140 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 06:58:47.142 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 06:58:47.156 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=4.923GiB]"] [takeTime=123.363119ms] [] [2025/04/05 06:58:47.157 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:58:47.235 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:47.241 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:47.241 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:47.262 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:47.433 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.995717362\n# Parse_time: 0.000068284\n# Compile_time: 0.000498425\n# Rewrite_time: 0.000119546\n# Optimize_time: 0.000293927\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC44bXMsIG9wZW46NzIybnMsIGNsb3NlOjYzMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC44bXMsIG9wZW46NzIybnMsIGNsb3NlOjYzMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `from_server`.`t` FROM '/tmp/TestImportIntoTestImportFromServer3384444159/001/test.csv.gz';"] --- PASS: TestImportInto/TestImportFromServer (2.98s) === NAME TestImportInto === RUN TestImportInto/TestSnappy [2025/04/05 06:58:47.449 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_server] [sql="drop database if exists snappy"] [user=] [2025/04/05 06:58:47.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database snappy"] [2025/04/05 06:58:47.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:queueing, SchemaState:none, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.481 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=748.01µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:47.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=63] [2025/04/05 06:58:47.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=63] ["take time"=8.278054ms] [job="ID:127, Type:create schema, State:done, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.498 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=2] [job="ID:127, Type:create schema, State:synced, SchemaState:public, SchemaID:126, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.429 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/05 06:58:47.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_server] [sql="create database snappy"] [user=] [2025/04/05 06:58:47.522 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 06:58:47.522 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:queueing, SchemaState:none, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.533 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 128, Table Name: t)"] [2025/04/05 06:58:47.548 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.722803ms] [gotSchemaVersion=64] [phyTblIDs="[128]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:47.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=64] [2025/04/05 06:58:47.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=64] ["take time"=8.999271ms] [job="ID:129, Type:create table, State:done, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:create table, State:synced, SchemaState:public, SchemaID:126, TableID:128, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.478 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 06:58:47.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="CREATE TABLE snappy.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 06:58:47.583 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.640 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://snappy/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:47.659 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=33B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:58:47.673 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 06:58:47.673 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:58:47.775 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:47.777 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:47.777 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 06:58:47.785 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.793 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:47.793 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=33] [2025/04/05 06:58:47.793 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=33] [cost=44.745µs] [2025/04/05 06:58:47.793 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=151.068µs] [] [2025/04/05 06:58:47.793 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:47.793 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:58:47.823 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:47.842 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:58:47.842 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.855 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.855 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:47.856 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.856 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.858 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.858 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.858 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.859 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.859 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.859 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.872 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:47.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/05 06:58:47.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/05 06:58:47.875 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:47.875 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/05 06:58:47.875 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:47.883 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 06:58:47.883 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [2025/04/05 06:58:47.884 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [2025/04/05 06:58:47.888 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 06:58:47.892 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 06:58:47.892 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=128] [2025/04/05 06:58:47.895 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [2025/04/05 06:58:47.897 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=128] [key=t.01.csv.snappy:0] [readDur=964.198µs] [encodeDur=528.089µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=25.907µs] [type=file] [takeTime=1.863814ms] [] [2025/04/05 06:58:47.898 +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/9f17e2cd-c861-4c6a-9dc1-cbd6e4a0a262.sst] [firstKey=7480000000000000805F728000000000000001] [lastKey=7480000000000000805F728000000000000002] [2025/04/05 06:58:47.898 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:47.898 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:47.898 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 06:58:47.900 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=2.153128ms] [] [2025/04/05 06:58:47.900 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [2025/04/05 06:58:47.905 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.906 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 06:58:47.926 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] ["region ranges"=1] [count=2] [size=66] [2025/04/05 06:58:47.926 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.928 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000805f728000000000000001] [endOfAllRanges=7480000000000000805f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff805f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff805f728000000000ff0000030000000000fa] [2025/04/05 06:58:47.939 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=a921513b-a672-5c3e-93ed-fa772552849b] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 06:58:47.954 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [retryCnt=0] [takeTime=53.656013ms] [] [2025/04/05 06:58:47.954 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [2025/04/05 06:58:47.955 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:0] [engineUUID=a921513b-a672-5c3e-93ed-fa772552849b] [takeTime=1.105174ms] [] [2025/04/05 06:58:47.955 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:47.955 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 06:58:47.957 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=1.669167ms] [] [2025/04/05 06:58:47.957 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [retryCnt=0] [2025/04/05 06:58:47.961 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 06:58:47.961 +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.653648ms] [] [2025/04/05 06:58:47.961 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [2025/04/05 06:58:47.962 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`snappy`.`t`:-1] [engineUUID=bc711958-5bcc-5308-aaa0-eede094ecd2e] [takeTime=945.015µs] [] [2025/04/05 06:58:47.962 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=11] [takeTime=78.445081ms] [] [2025/04/05 06:58:47.962 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=import] [takeTime=78.585508ms] [] [2025/04/05 06:58:47.980 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:47.981 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:47.982 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:47.983 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:48.013 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:58:48.014 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:48.014 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:58:48.052 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:48.060 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:58:48.063 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:48.063 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:48.063 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:48.063 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:48.063 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:48.063 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:48.063 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.063 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:48.064 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.064 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.064 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:48.063 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:48.066 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:48.066 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.066 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.066 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.066 +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=191.321503ms] [] [2025/04/05 06:58:48.067 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:48.075 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=post-process] [2025/04/05 06:58:48.075 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 06:58:48.075 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 06:58:48.075 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [2025/04/05 06:58:48.075 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=1.446µs] [] [2025/04/05 06:58:48.075 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [groupId=-1] [size=66] [kvs=2] [checksum=14262047008891545520] [2025/04/05 06:58:48.075 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/05 06:58:48.075 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [weight=30] [2025/04/05 06:58:48.075 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [concurrency=15] [2025/04/05 06:58:48.077 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=128] [physicalTableID=128] [indexID=-1] [checksum=14262047008891545520] [totalKvs=2] [totalBytes=66] [2025/04/05 06:58:48.077 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:48.077 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [local="{cksum=14262047008891545520,size=66,kvs=2}"] [2025/04/05 06:58:48.077 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.661368ms] [] [2025/04/05 06:58:48.078 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=12] [takeTime=2.785509ms] [] [2025/04/05 06:58:48.078 +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=2.931181ms] [] [2025/04/05 06:58:48.085 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:48.181 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:48.181 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 06:58:48.184 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 06:58:48.199 +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=131.948582ms] [] [2025/04/05 06:58:48.199 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 06:58:48.275 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 06:58:48.276 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.698366637\n# Parse_time: 0.000093797\n# Compile_time: 0.000476432\n# Rewrite_time: 0.000117085\n# Optimize_time: 0.000287014\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ny41bXMsIG9wZW46NjEwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Ny41bXMsIG9wZW46NjEwbnMsIGNsb3NlOjk3NG5zLCBsb29wczoycP////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/05 06:58:48.283 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:48.283 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] --- PASS: TestImportInto/TestSnappy (0.84s) === NAME TestImportInto === RUN TestImportInto/TestZStd [2025/04/05 06:58:48.286 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=snappy] [sql="drop database if exists zstd"] [user=] [2025/04/05 06:58:48.298 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.298 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database zstd"] [2025/04/05 06:58:48.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.306 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:48.318 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=704.652µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:48.322 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=65] [2025/04/05 06:58:48.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=65] ["take time"=7.939737ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.335 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.279 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.344 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 06:58:48.345 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=snappy] [sql="create database zstd"] [user=] [2025/04/05 06:58:48.361 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [2025/04/05 06:58:48.361 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.368 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.373 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: t)"] [2025/04/05 06:58:48.388 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.672013ms] [gotSchemaVersion=66] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:48.392 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=66] [2025/04/05 06:58:48.394 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.861913ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.406 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.329 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.418 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 06:58:48.418 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=zstd] [sql="CREATE TABLE zstd.t (i INT PRIMARY KEY, s varchar(32));"] [user=] [2025/04/05 06:58:48.433 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.494 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://zstd/t.*?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:48.512 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=56B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:58:48.527 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:48.527 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:58:48.630 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:48.631 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:48.632 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 06:58:48.640 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.652 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:48.652 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=56] [2025/04/05 06:58:48.652 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=56] [cost=61.184µs] [2025/04/05 06:58:48.652 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=190.589µs] [] [2025/04/05 06:58:48.652 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:48.652 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:58:48.683 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=51] [2025/04/05 06:58:48.702 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:58:48.703 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.710 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:48.710 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719514177082207] [2025/04/05 06:58:48.711 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:48.711 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:48.711 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:48.711 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:48.711 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:48.711 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:48.712 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:48.712 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:48.724 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:48.726 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:48.726 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:48.726 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:48.726 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/05 06:58:48.726 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:48.735 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [2025/04/05 06:58:48.735 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [2025/04/05 06:58:48.738 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 06:58:48.739 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 06:58:48.744 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 06:58:48.744 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/05 06:58:48.766 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [2025/04/05 06:58:48.768 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.01.csv.zst:0] [readDur=1.18363ms] [encodeDur=197.313µs] [checksum="{cksum=14262047008891545520,size=66,kvs=2}"] [deliverDur=36.315µs] [type=file] [takeTime=1.774193ms] [] [2025/04/05 06:58:48.769 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=132] [2025/04/05 06:58:48.769 +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/ab1c1679-c494-46a3-bdb7-70cf88f0c7a3.sst] [firstKey=7480000000000000845F728000000000000001] [lastKey=7480000000000000845F728000000000000002] [2025/04/05 06:58:48.770 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 06:58:48.902 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [2025/04/05 06:58:48.904 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=132] [key=t.02.csv.zstd:0] [readDur=1.002152ms] [encodeDur=463.37µs] [checksum="{cksum=6510788178300023669,size=66,kvs=2}"] [deliverDur=25.748µs] [type=file] [takeTime=1.792732ms] [] [2025/04/05 06:58:48.905 +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/0dd5cb07-f716-4254-bc5c-4ccd548bfff4.sst] [firstKey=7480000000000000845F728000000000000003] [lastKey=7480000000000000845F728000000000000004] [2025/04/05 06:58:48.905 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:48.905 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:48.905 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 06:58:48.908 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=3.008387ms] [] [2025/04/05 06:58:48.909 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [2025/04/05 06:58:48.913 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:48.935 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] ["region ranges"=1] [count=4] [size=132] [2025/04/05 06:58:48.935 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:48.937 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000845f728000000000000001] [endOfAllRanges=7480000000000000845f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff845f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff845f728000000000ff0000050000000000fa] [2025/04/05 06:58:48.948 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [size=132] [kvs=4] [importedSize=132] [importedCount=4] [2025/04/05 06:58:48.950 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [retryCnt=0] [takeTime=41.766699ms] [] [2025/04/05 06:58:48.950 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [2025/04/05 06:58:48.952 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:0] [engineUUID=dbc9135c-0d8b-582b-8c22-5316c1b4dadf] [takeTime=1.283957ms] [] [2025/04/05 06:58:48.952 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:48.952 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 06:58:48.954 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.559807ms] [] [2025/04/05 06:58:48.954 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [2025/04/05 06:58:48.957 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 06:58:48.957 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [retryCnt=0] [takeTime=3.685929ms] [] [2025/04/05 06:58:48.957 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [2025/04/05 06:58:48.958 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`zstd`.`t`:-1] [engineUUID=e9c114a8-45b3-5791-b514-c60a7e19a6dd] [takeTime=1.021184ms] [] [2025/04/05 06:58:48.959 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=13] [takeTime=223.337378ms] [] [2025/04/05 06:58:48.959 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=import] [takeTime=223.486143ms] [] [2025/04/05 06:58:49.034 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:49.035 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:49.036 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:49.037 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:49.068 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:49.070 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:49.070 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:58:49.106 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:49.113 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:58:49.116 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.116 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.116 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.116 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.116 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.116 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.116 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.116 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.116 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.116 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.116 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.116 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.118 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:49.118 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.118 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.118 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.118 +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=391.954847ms] [] [2025/04/05 06:58:49.120 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=630.2MiB]"] [2025/04/05 06:58:49.127 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=post-process] [2025/04/05 06:58:49.127 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 06:58:49.127 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 06:58:49.127 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [2025/04/05 06:58:49.128 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.751µs] [] [2025/04/05 06:58:49.128 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [groupId=-1] [size=132] [kvs=4] [checksum=11508402849382241477] [2025/04/05 06:58:49.128 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [checksum="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/05 06:58:49.128 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [weight=30] [2025/04/05 06:58:49.128 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [concurrency=15] [2025/04/05 06:58:49.130 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=132] [physicalTableID=132] [indexID=-1] [checksum=11508402849382241477] [totalKvs=4] [totalBytes=132] [2025/04/05 06:58:49.130 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:49.130 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [local="{cksum=11508402849382241477,size=132,kvs=4}"] [2025/04/05 06:58:49.130 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.803003ms] [] [2025/04/05 06:58:49.130 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=14] [takeTime=2.930376ms] [] [2025/04/05 06:58:49.130 +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.074477ms] [] [2025/04/05 06:58:49.140 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:49.235 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:49.235 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 06:58:49.237 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 06:58:49.272 +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=152.643615ms] [] [2025/04/05 06:58:49.272 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 06:58:49.330 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:49.337 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:49.337 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:49.357 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:49.430 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.002148397\n# Parse_time: 0.000127951\n# Compile_time: 0.000519324\n# Rewrite_time: 0.000088784\n# Optimize_time: 0.000242615\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('Q/BCMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjY5MW5zLCBjbG9zZTo3NjducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('XvBJCloKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWil0aW1lOjFzLCBvcGVuOjY5MW5zLCBjbG9zZTo3NjducywgbG9vcHM6MnD///8JAzQBeP///////////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.15s) === NAME TestImportInto [2025/04/05 06:58:49.435 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:49.435 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [] [2025/04/05 06:58:49.435 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:49.435 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.435 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:49.435 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=71.938µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=51.192µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=49.036µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=46.351µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=69.713µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=57.821µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=34.229µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=33.772µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=29.12µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=47.413µs] [2025/04/05 06:58:49.436 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.437 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.437 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:49.438 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:49.441 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] ["take time"=6.129882ms] [2025/04/05 06:58:49.441 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.441 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:49.442 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:49.442 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c1b7b8e5-b451-4048-ac3f-42405811a105] [watcherID=6134d5f7-f27d-4fa4-863b-c423137fbecc] [2025/04/05 06:58:49.442 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c1b7b8e5-b451-4048-ac3f-42405811a105] [2025/04/05 06:58:49.442 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ttl-worker=task-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [originalCount=4] [newCount=0] [2025/04/05 06:58:49.442 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:49.442 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:49.442 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:49.442 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:49.442 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [ttl-worker=task-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [originalCount=4] [newCount=0] [2025/04/05 06:58:49.445 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:49.445 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:49.445 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:49.445 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:49.447 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.447 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1819] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.449 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:49.449 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:49.449 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:49.449 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:49.448 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [2025/04/05 06:58:49.449 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:49.449 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:49.448 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:49.450 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:49.448 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:49.448 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:49.450 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:49.449 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:49.449 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:49.449 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.450 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:49.449 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:49.450 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.450 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.450 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:49.450 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:49.450 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:49.450 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:49.450 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:49.450 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:49.450 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:49.450 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f7a0f387-c192-4900-89bf-ae2090e02d92] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:49.450 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:49.451 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [] [2025/04/05 06:58:49.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:49.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:49.451 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:49.451 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [error="context canceled"] [2025/04/05 06:58:49.451 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.451 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:49.451 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:49.451 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:49.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:49.451 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.451 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [2025/04/05 06:58:49.512 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=5dd4e853-7977-4850-ac31-e1aedfc04a4c] [error="context canceled"] [2025/04/05 06:58:49.512 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:49.512 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:49.522 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.131545ms] [2025/04/05 06:58:49.525 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.525 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.525 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.525 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.525 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.525 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.525 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.525 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.525 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.525 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.525 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.525 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.526 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (12.56s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest3:importintotest3_test up-to-date: bazel-bin/tests/realtikvtest/importintotest3/importintotest3_test_/importintotest3_test INFO: Elapsed time: 58.437s, Critical Path: 41.52s INFO: 4637 processes: 4611 remote cache hit, 13 internal, 13 linux-sandbox. INFO: Build completed successfully, 4637 total actions //tests/realtikvtest/importintotest3:importintotest3_test PASSED in 16.2s PASSED importintotest3_test.TestImportInto (12.6s) PASSED importintotest3_test.TestImportInto/TestGzipAndMixedCompression (2.6s) PASSED importintotest3_test.TestImportInto/TestImportFromServer (3.0s) PASSED importintotest3_test.TestImportInto/TestSnappy (0.8s) 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] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [4,639 / 4,640] Testing //tests/realtikvtest/importintotest2:importintotest2_test; 11s remote-cache, linux-sandbox 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,573 / 4,574] Testing //tests/realtikvtest/sessiontest:sessiontest_test; 41s 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,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 41s 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; 13s remote-cache, linux-sandbox ./t/ddl/primary_key_handle.test: ok! 191 test cases passed, take time 7.4850343089999996 s [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 1s remote-cache, linux-sandbox [4,639 / 4,640] 1 / 1 tests; Testing //tests/realtikvtest/importintotest2:importintotest2_test; 21s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest2:importintotest2_test: ==================== Test output for //tests/realtikvtest/importintotest2:importintotest2_test: === RUN TestImportInto [2025/04/05 06:58:40.239 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:40.240 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:40.241 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:40.242 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:40.242 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:40.242 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:40.242 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:40.242 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:40.243 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:40.243 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:40.243 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:40.248 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:40.255 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.256 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.256 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.281 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.281 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.286 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.286 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.297 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.319 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719509928623311] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:40.344 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:40.384 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=529] ["lease id"=22319604bcf47bed] [2025/04/05 06:58:40.387 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:40.392 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest2/main_test.go:63\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest2/importintotest2_test.TestImportInto\n\ttests/realtikvtest/importintotest2/main_test.go:48\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:40.496 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.383737ms] [2025/04/05 06:58:40.496 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:40.498 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:40.498 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:40.498 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:40.500 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:40.501 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:40.501 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 135950155776/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:40.502 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:40.502 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:40.502 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [2025/04/05 06:58:40.504 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:40.504 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:40.504 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [currRev=95] [2025/04/05 06:58:40.505 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:40.505 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:40.505 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf08f5f] [ownerID=eded7e74-7c87-442f-bd5e-297c8714e67a] [op=none] [2025/04/05 06:58:40.506 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [2025/04/05 06:58:40.506 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [ownerKey=/tidb/br-stream/owner/6f189604bcf08f5f] [currRev=96] [2025/04/05 06:58:40.506 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:40.506 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:40.507 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:40.507 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:40.509 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:40.525 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.525 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:40.531 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.668 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=122.341157ms] [2025/04/05 06:58:40.669 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:40.674 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:40.676 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=132.156676ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.704 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:40.704 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:40.706 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:40.710 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/05 06:58:40.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:40.745 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.481845ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.803 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58:40.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=2] ["take time"=14.259147ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.824 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:40.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:40.870 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.870 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:40.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.066729ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.899 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.899 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:40.901 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=9.040253ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.912 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.859 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:40.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:40.938 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.938 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:40.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.974941ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.966 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:40.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.771392ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.909 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.991 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:40.991 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:41.018 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.018 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.564151ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.065 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:41.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=5] ["take time"=11.480515ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.081 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:41.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.117 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.117 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.146 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.734083ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.149 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.149 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:41.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=6] ["take time"=9.362751ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.162 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.177 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:41.177 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.577587ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:41.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=7] ["take time"=9.096093ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:58:41.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.262 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.262 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:58:41.268 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.284 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.794089ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.288 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.288 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:58:41.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=8] ["take time"=8.097606ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.299 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:58:41.311 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:58:41.324 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.324 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:58:41.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.84392ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.350 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:58:41.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=9] ["take time"=8.623645ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.362 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.374 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:58:41.374 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:58:41.388 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.388 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:58:41.394 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.207353ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.417 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:58:41.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=10] ["take time"=8.685101ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.430 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.443 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:58:41.444 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:58:41.457 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.457 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:58:41.462 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.240807ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.485 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.485 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:58:41.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=11] ["take time"=8.670843ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.498 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.409 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.503 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:41.511 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:58:41.512 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:58:41.514 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:41.528 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.528 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:41.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.561 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.241078ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.564 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.564 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:58:41.566 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=12] ["take time"=10.154025ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.578 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.595 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:58:41.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:41.610 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.610 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:58:41.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.713656ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.643 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:58:41.645 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.641532ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.657 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.672 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:58:41.672 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:58:41.686 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.686 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:41.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.716 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.107113ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.719 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.719 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:58:41.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=14] ["take time"=9.093387ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.732 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.744 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:58:41.744 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:41.758 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.758 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:41.763 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.782 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.083758ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.785 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.785 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:58:41.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=15] ["take time"=8.7428ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.797 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.810 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:58:41.810 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:41.823 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.823 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:41.828 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.956736ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.850 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:58:41.852 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.558008ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.862 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.874 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:58:41.874 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:41.887 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.887 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:58:41.892 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.179797ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.915 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.915 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:58: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=17] ["take time"=8.716405ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.939 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:58:41.940 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:58:41.953 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.953 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:58:41.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.977 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.111869ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.980 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.980 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:58:41.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=18] ["take time"=8.558679ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.005 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:58:42.005 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:58:42.021 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.021 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:42.027 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.093085ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.056 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.056 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:58:42.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=19] ["take time"=9.580658ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.070 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.086 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:58:42.086 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:42.106 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.106 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.131 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.12834ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.134 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:58:42.135 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.567945ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.146 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.159 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:58:42.159 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:42.171 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.171 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:58:42.177 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.699819ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.200 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:58:42.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=21] ["take time"=8.836401ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.159 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.224 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:58:42.224 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:58:42.236 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.236 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:58:42.241 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.249 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:42.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.440337ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.258 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:58:42.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=22] ["take time"=6.327297ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.270 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:58:42.280 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:58:42.295 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:58:42.295 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.564877ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.326 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:58:42.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=23] ["take time"=9.206765ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.339 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:58:42.354 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:58:42.367 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.367 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.372 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.042157ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.394 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:58:42.395 +00:00] [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.765694ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.406 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:58:42.419 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:42.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:58:42.439 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.462 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.056884ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.466 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.466 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:58:42.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=25] ["take time"=8.833145ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.478 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.491 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:58:42.491 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:58:42.502 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:42.502 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:58:42.504 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.504 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:58:42.510 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.527 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.835993ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.530 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.530 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:58:42.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=26] ["take time"=8.126214ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.542 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.554 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:58:42.554 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:58:42.567 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.567 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:58:42.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.027921ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.594 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.594 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:58:42.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.627978ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.606 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.618 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:58:42.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:42.631 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.631 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:58:42.637 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.654 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.778936ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.657 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.658 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:58:42.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=28] ["take time"=8.488987ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.670 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.681 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:58:42.681 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:58:42.683 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:42.695 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:58:42.695 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.185774ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.724 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.724 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:58:42.725 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.673522ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.736 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.750 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:58:42.750 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:42.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:42.770 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.791 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.440648ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.795 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:58:42.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.422072ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:58:42.822 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:42.836 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.836 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:42.841 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.862 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.504744ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.865 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:58:42.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=31] ["take time"=9.040226ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.878 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.81 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.892 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:58:42.892 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:42.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:58:42.917 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.945 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.40026ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.949 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.949 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:58:42.950 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=32] ["take time"=10.110777ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.963 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.86 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.980 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:58:42.980 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:58:42.991 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.991 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:58:42.996 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.605215ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.015 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:58:43.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=33] ["take time"=8.081075ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.026 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.96 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.036 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:58:43.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:58:43.052 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.053 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:58:43.058 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.079 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.126548ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:43.082 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.082 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:58:43.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=34] ["take time"=8.247474ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.093 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.009 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.107 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:58:43.120 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.120 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:58:43.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.202522ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.148 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:58:43.149 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=8.131692ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.160 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.174 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:58:43.174 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:58:43.187 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.187 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:58:43.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.218 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.051173ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.221 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.221 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:58:43.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=36] ["take time"=9.670719ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.234 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:58:43.246 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:58:43.260 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.260 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:58:43.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.284 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.833744ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.287 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.287 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:58:43.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=37] ["take time"=8.531762ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.299 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:58:43.312 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:58:43.328 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.328 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:58:43.334 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.362 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.506329ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.365 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.365 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:58:43.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=38] ["take time"=9.975515ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.380 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.398 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:58:43.398 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:58:43.414 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.414 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:58:43.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.446 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.118251ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.449 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:58:43.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=39] ["take time"=9.720952ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.463 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.480 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:58:43.480 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:58:43.499 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.499 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:58:43.505 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.651431ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.538 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:58:43.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.597575ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.552 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.570 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:58:43.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:58:43.588 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.588 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:43.595 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.624 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.780792ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.628 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.628 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:58:43.629 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.393156ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.643 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.661 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:58:43.661 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:43.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:43.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.796845ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.718 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:58:43.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=42] ["take time"=10.731951ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.733 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.751 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:58:43.752 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:43.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:58:43.776 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.803 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.387949ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.807 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.807 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:58:43.808 +00:00] [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.125173ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.821 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.709 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:58:43.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:58:43.855 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:43.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.777131ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.888 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:58:43.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=44] ["take time"=9.420581ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.901 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.917 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:58:43.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:43.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:43.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.848242ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.969 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.969 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:58:43.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=45] ["take time"=9.741462ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.983 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:58:43.999 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:44.019 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.019 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:58:44.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.976474ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.066 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:58:44.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=46] ["take time"=11.297509ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.081 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.100 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:58:44.101 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:58:44.117 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.117 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:44.123 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.148 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.871658ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.151 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.151 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:58: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=47] ["take time"=9.668411ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.165 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.180 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:58:44.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:44.193 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.193 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:58:44.198 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.796101ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.219 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.219 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:58:44.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=48] ["take time"=8.192135ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.231 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:58:44.242 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/05 06:58:44.255 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.255 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:58:44.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.280 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.064663ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.284 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.284 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:58:44.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=49] ["take time"=8.819376ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.296 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.309 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:58:44.309 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:58:44.311 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:44.323 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.323 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:58:44.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.348 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.015477ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.352 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:58:44.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=50] ["take time"=8.435975ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.364 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.376 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:58:44.376 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:58:44.387 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.387 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:58:44.392 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=578.953µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:44.406 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:58:44.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=51] ["take time"=6.897793ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.417 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:58:44.426 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:58:44.439 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.439 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:58:44.445 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.653509ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:44.466 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.466 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:58:44.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=52] ["take time"=7.861227ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.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-05 06:58:44.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:58:44.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-05 06:58:44.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.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-05 06:58:44.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:58:44.509 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:44.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:44.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:44.509 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:44.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-05 06:58:44.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.184699ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:58:44.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=53] ["take time"=9.69594ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.553 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.459 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.569 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:58:44.569 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:58:44.583 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:58:44.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.608 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.205396ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.611 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.611 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:58:44.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=54] ["take time"=8.629966ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.623 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.636 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:58:44.636 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:58:44.650 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.650 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:58:44.656 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.676 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.351496ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.680 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.680 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:58:44.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=55] ["take time"=8.786994ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.692 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.705 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:58:44.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:58:44.846 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.340512997s] [2025/04/05 06:58:44.849 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:44.849 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [] [2025/04/05 06:58:44.849 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:44.849 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:44.849 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=44.83µs] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=38.711µs] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.581µs] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=30.573µs] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=37.82µs] [2025/04/05 06:58:44.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=28.71µs] [2025/04/05 06:58:44.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=37.801µs] [2025/04/05 06:58:44.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=30.158µs] [2025/04/05 06:58:44.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=40.545µs] [2025/04/05 06:58:44.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=28.335µs] [2025/04/05 06:58:44.850 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:44.850 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:44.851 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:44.851 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:44.861 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] ["take time"=12.054041ms] [2025/04/05 06:58:44.861 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=529] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:44.862 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:44.862 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:44.862 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:44.862 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [2025/04/05 06:58:44.862 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [2025/04/05 06:58:44.862 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [2025/04/05 06:58:44.863 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:44.863 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=eded7e74-7c87-442f-bd5e-297c8714e67a] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:44.863 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:44.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:44.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:44.863 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:44.863 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:44.863 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:44.868 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.160192ms] [2025/04/05 06:58:44.868 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719509928623311] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:44.882 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:44.921 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=963] ["lease id"=3eaa9604bcf47c70] [2025/04/05 06:58:44.923 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:45.040 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.25289ms] [2025/04/05 06:58:45.040 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:45.049 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:45.049 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:45.051 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [lease=3eaa9604bcf47bff] [2025/04/05 06:58:45.052 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:45.052 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 135950225408/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:45.052 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:45.052 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [2025/04/05 06:58:45.054 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:45.054 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.054 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [currRev=274] [2025/04/05 06:58:45.055 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:45.055 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:45.056 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:45.056 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf47c63] [ownerID=04cfe0cd-a495-4941-a763-8bd37c152425] [op=none] [2025/04/05 06:58:45.056 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [2025/04/05 06:58:45.056 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [ownerKey=/tidb/br-stream/owner/22319604bcf47c63] [currRev=275] [2025/04/05 06:58:45.056 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf47bff] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:45.056 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:45.056 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:45.063 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.064 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:45.064 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:45.066 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9604bcf47c78] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:45.066 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.066 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ownerKey=/tidb/bindinfo/owner/3eaa9604bcf47c78] [currRev=276] [2025/04/05 06:58:45.071 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:58:45.075 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:45.075 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:45.081 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:45.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:45.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:45.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:45.089 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:45.089 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:45.089 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:45.089 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:45.089 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:45.089 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:45.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:45.090 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:45.091 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:45.091 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:58:45.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:45.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:45.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:45.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:45.093 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf47c68] [ownerID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [op=none] [2025/04/05 06:58:45.093 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.093 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ownerKey=/tidb/stats/owner/22319604bcf47c68] [currRev=277] [2025/04/05 06:58:45.094 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:58:45.096 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/093c7d45-3acb-4034-b723-ce3df790ebfc] [2025/04/05 06:58:45.096 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ttl-worker=task-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [originalCount=0] [newCount=4] [2025/04/05 06:58:45.096 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ttl-worker=task-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [originalCount=0] [newCount=4] [2025/04/05 06:58:45.096 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:45.097 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:45.104 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:45.104 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:45.105 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836325105268363 [2025/04/05 06:58:45.106 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:45.114 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.585351ms] [2025/04/05 06:58:45.114 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:45.114 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:45.124 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:45.143 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836325144685986 === RUN TestImportInto/TestCastNegativeToUnsigned [2025/04/05 06:58:45.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 06:58:45.160 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.160 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 06:58:45.170 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.271 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=84.729214ms] [2025/04/05 06:58:45.271 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 06:58:45.271 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:45.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:58:45.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=56] ["take time"=92.85409ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.286 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.109 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.295 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:58:45.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 06:58:45.308 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int unsigned)"] [2025/04/05 06:58:45.312 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.316 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: dt)"] [2025/04/05 06:58:45.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.468723ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 06:58:45.334 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.086974ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.345 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 06:58:45.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=from_select] [sql="create table dt(id int unsigned)"] [user=] [2025/04/05 06:58:45.395 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=beb80b0c-dccc-485e-95e2-c2467354afc2] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/05 06:58:45.395 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=dt] [import_dir=/tmp/tidb/import-4000] [2025/04/05 06:58:45.402 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:45.402 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:45.402 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:45.402 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:45.402 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:45.402 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:45.402 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:45.403 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:45.403 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:45.403 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:45.416 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:45.418 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:45.418 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.2GB] [2025/04/05 06:58:45.422 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.425 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.426 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=beb80b0c-dccc-485e-95e2-c2467354afc2] [key=import-from-select] [2025/04/05 06:58:45.426 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=beb80b0c-dccc-485e-95e2-c2467354afc2] [key=import-from-select] [2025/04/05 06:58:45.426 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=beb80b0c-dccc-485e-95e2-c2467354afc2] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=152.399µs] [] [2025/04/05 06:58:45.426 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [table=dt] [import-id=beb80b0c-dccc-485e-95e2-c2467354afc2] [key=import-from-select] [takeTime=190.704µs] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.func2\n\tpkg/executor/importer/table_import.go:677\ngithub.com/pingcap/tidb/pkg/executor/importer.(*TableImporter).ImportSelectedRows.(*ErrorGroupWithRecover).Go.func3\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78"] [2025/04/05 06:58:45.426 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.428 +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.29419ms] [] [2025/04/05 06:58:45.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=789.572µs] [] [2025/04/05 06:58:45.429 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.430 +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.330059ms] [] [2025/04/05 06:58:45.430 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.431 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=722.924µs] [] [2025/04/05 06:58:45.432 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:45.432 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:45.432 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:45.432 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:45.432 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:45.432 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:45.432 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.432 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:45.432 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:45.432 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.432 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.432 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:45.434 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:45.434 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.434 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.434 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.434 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:58:45.435 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=57] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file import-from-select at offset -1: [types:1690]constant -1 overflows int\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 06:58:45.476 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [concurrency=2] [target-table=`from_select`.`dt`] [target-table-id=114] [2025/04/05 06:58:45.482 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:45.482 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:45.482 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:45.482 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:45.482 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:45.483 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:45.483 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:45.483 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:45.483 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:45.483 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:45.494 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:45.496 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:45.496 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dt] [quota=374.2GB] [2025/04/05 06:58:45.500 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.504 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.516 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [key=import-from-select] [2025/04/05 06:58:45.516 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [key=import-from-select] [2025/04/05 06:58:45.516 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=133.143µs] [] [2025/04/05 06:58:45.517 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [key=import-from-select] [readDur=6.43µs] [encodeDur=101.597µs] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [deliverDur=260.805µs] [type=query] [takeTime=655.612µs] [] [2025/04/05 06:58:45.517 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.517 +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/9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d/fcd3180d-f69e-5c83-84c0-56cb80b9aeb7.sst/701a514c-e2c6-4a02-b9c5-8960d00b6881.sst] [firstKey=7480000000000000725F728000000000000001] [lastKey=7480000000000000725F728000000000000001] [2025/04/05 06:58:45.519 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=2.229916ms] [] [2025/04/05 06:58:45.520 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [retryCnt=0] [2025/04/05 06:58:45.524 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:45.545 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] ["region ranges"=1] [count=1] [size=29] [2025/04/05 06:58:45.545 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:45.547 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff725f728000000000ff0000020000000000fa] [2025/04/05 06:58:45.559 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [size=29] [kvs=1] [importedSize=29] [importedCount=1] [2025/04/05 06:58:45.561 +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.381506ms] [] [2025/04/05 06:58:45.561 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.562 +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.345976ms] [] [2025/04/05 06:58:45.562 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [retryCnt=0] [2025/04/05 06:58:45.566 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.566 +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.742151ms] [] [2025/04/05 06:58:45.566 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [2025/04/05 06:58:45.566 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [2025/04/05 06:58:45.572 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [takeTime=5.757301ms] [] [2025/04/05 06:58:45.572 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [checksum="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/05 06:58:45.572 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [weight=30] [2025/04/05 06:58:45.572 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [concurrency=15] [2025/04/05 06:58:45.574 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=1186353398217297746] [totalKvs=1] [totalBytes=29] [2025/04/05 06:58:45.575 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:45.575 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [local="{cksum=1186353398217297746,size=29,kvs=1}"] [2025/04/05 06:58:45.575 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dt] [import-id=9e7ff8fc-a6a3-44d9-aaa8-598ac2564d0d] [checksum="{\"id=-1\"=\"{cksum=1186353398217297746,size=29,kvs=1}\"}"] [takeTime=8.344559ms] [] [2025/04/05 06:58:45.575 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.575 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=8.494µs] [] [2025/04/05 06:58:45.575 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [2025/04/05 06:58:45.576 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:1] [engineUUID=fcd3180d-f69e-5c83-84c0-56cb80b9aeb7] [takeTime=1.075368ms] [] [2025/04/05 06:58:45.576 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.576 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=6.579µs] [] [2025/04/05 06:58:45.576 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [2025/04/05 06:58:45.577 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dt`:-1] [engineUUID=3673866f-2ff7-5a15-9f3f-29210836fea8] [takeTime=874.74µs] [] [2025/04/05 06:58:45.580 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:45.580 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:45.580 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:45.580 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:45.580 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:45.580 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:45.580 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:45.580 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.580 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.580 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:45.580 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:45.580 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:45.582 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:45.582 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:45.582 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:45.582 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestCastNegativeToUnsigned (0.44s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectBasic [2025/04/05 06:58:45.596 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 06:58:45.597 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.602 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:queueing, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.616 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=121.182µs] [gotSchemaVersion=58] [phyTblIDs="[114]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:45.619 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=58] [2025/04/05 06:58:45.621 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=58] ["take time"=6.816299ms] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.629 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:write only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.641 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=108.225µs] [gotSchemaVersion=59] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:45.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=59] [2025/04/05 06:58:45.646 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=6.077383ms] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.653 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:running, SchemaState:delete only, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.658 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:58:45.667 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=109.917µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:45.670 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/05 06:58:45.672 +00:00] [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.378976ms] [job="ID:116, Type:drop schema, State:done, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.680 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=116] [tableIDs="[114]"] [comment="drop schema: table IDs"] [2025/04/05 06:58:45.687 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=116] [jobType="drop schema"] [2025/04/05 06:58:45.688 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=116] [conn=2] [job="ID:116, Type:drop schema, State:synced, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.559 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.703 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/05 06:58:45.704 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 06:58:45.715 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.715 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 06:58:45.720 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:queueing, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.733 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=627.907µs] [gotSchemaVersion=61] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:45.736 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=61] [2025/04/05 06:58:45.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=61] ["take time"=7.12805ms] [job="ID:118, Type:create schema, State:done, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.748 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=2] [job="ID:118, Type:create schema, State:synced, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.756 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/05 06:58:45.757 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 06:58:45.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/05 06:58:45.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.779 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 119, Table Name: src)"] [2025/04/05 06:58:45.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.399857ms] [gotSchemaVersion=62] [phyTblIDs="[119]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/05 06:58:45.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=62] ["take time"=7.901849ms] [job="ID:120, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 06:58:45.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/05 06:58:45.830 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.830 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/05 06:58:45.835 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.839 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: dst)"] [2025/04/05 06:58:45.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=1.439356ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.857 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/05 06:58:45.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=63] ["take time"=8.072071ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.869 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.880 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 06:58:45.880 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/05 06:58:45.887 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:36\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst FROM select id from src"] [2025/04/05 06:58:45.887 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1136]Column count doesn't match value count at row 1"] [errorVerbose="[planner:1136]Column count doesn't match value count at row 1\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4684\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectBasic\n\ttests/realtikvtest/importintotest2/from_select_test.go:37\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst(id) FROM select * from src"] [2025/04/05 06:58:45.926 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=121] [2025/04/05 06:58:45.933 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:45.933 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:45.933 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:45.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:45.933 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:45.933 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:45.933 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:45.934 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:45.934 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:45.934 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:45.946 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:45.948 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:45.948 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:45.951 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:45.955 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:45.991 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [key=import-from-select] [2025/04/05 06:58:45.991 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [key=import-from-select] [2025/04/05 06:58:45.992 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [key=import-from-select] [readDur=43.497µs] [encodeDur=224.64µs] [checksum="{cksum=2727559089799614776,size=76,kvs=2}"] [deliverDur=247.011µs] [type=query] [takeTime=810.67µs] [] [2025/04/05 06:58:45.992 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [key=import-from-select] [readDur=13.589µs] [encodeDur=233.488µs] [checksum="{cksum=7340296357795544696,size=76,kvs=2}"] [deliverDur=318.812µs] [type=query] [takeTime=928.602µs] [] [2025/04/05 06:58:45.992 +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/fd3a039c-7005-48e4-90a1-c120b9f03304/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/790368fb-435f-47bb-8846-48f72fbb88cc.sst] [firstKey=7480000000000000795F728000000000000002] [lastKey=7480000000000000795F728000000000000004] [2025/04/05 06:58:45.992 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:45.993 +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/fd3a039c-7005-48e4-90a1-c120b9f03304/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a725df12-b20e-4d52-be0a-d638d5a8221c.sst] [firstKey=7480000000000000795F728000000000000001] [lastKey=7480000000000000795F728000000000000003] [2025/04/05 06:58:45.996 +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.325025ms] [] [2025/04/05 06:58:45.996 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:46.000 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:46.022 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:46.022 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:46.024 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000795f728000000000000001] [endOfAllRanges=7480000000000000795f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff795f728000000000ff0000050000000000fa] [2025/04/05 06:58:46.035 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:46.036 +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.593491ms] [] [2025/04/05 06:58:46.037 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.038 +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.35172ms] [] [2025/04/05 06:58:46.038 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:46.042 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.042 +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.646605ms] [] [2025/04/05 06:58:46.042 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/05 06:58:46.042 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [2025/04/05 06:58:46.047 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [takeTime=5.283871ms] [] [2025/04/05 06:58:46.047 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 06:58:46.047 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [weight=30] [2025/04/05 06:58:46.047 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [concurrency=15] [2025/04/05 06:58:46.049 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=121] [physicalTableID=121] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:46.050 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:46.050 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 06:58:46.050 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=fd3a039c-7005-48e4-90a1-c120b9f03304] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=7.917687ms] [] [2025/04/05 06:58:46.050 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.050 +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.301µs] [] [2025/04/05 06:58:46.050 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.051 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.107225ms] [] [2025/04/05 06:58:46.051 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.051 +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.451µs] [] [2025/04/05 06:58:46.051 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.052 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=905.863µs] [] [2025/04/05 06:58:46.055 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:46.055 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:46.055 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:46.055 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:46.055 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:46.055 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:46.055 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:46.055 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:46.055 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:46.055 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:46.056 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:46.056 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:46.057 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:46.058 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:46.058 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:46.058 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:46.060 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:46.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:46.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:46.060 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:46.068 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:58:46.068 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=63] [error="[executor:8173]PreCheck failed: target table is not empty"] [session="{\n \"currDBName\": \"from_select\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 06:58:46.080 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:46.080 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 06:58:46.085 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.093 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 123, Table Name: dst, Old Table ID: 121, Old Table Name: dst)"] [2025/04/05 06:58:46.096 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:46.096 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:46.096 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/093c7d45-3acb-4034-b723-ce3df790ebfc] [watcherID=7795859d-2b31-4af6-bb5f-64f34e4dbaeb] [2025/04/05 06:58:46.105 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:46.108 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.501101ms] [gotSchemaVersion=64] [phyTblIDs="[121,123]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:46.109 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 06:58:46.109 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:46.109 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:46.109 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:46.109 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:46.112 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/05 06:58:46.113 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=8.120753ms] [job="ID:124, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[121]"] [comment="truncate table: table ID"] [2025/04/05 06:58:46.127 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="truncate table"] [2025/04/05 06:58:46.128 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.06 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 06:58:46.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 06:58:46.184 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=123] [2025/04/05 06:58:46.191 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:46.191 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:46.191 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:46.191 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:46.191 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:46.191 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:46.191 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:46.191 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:46.192 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:46.192 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:46.203 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:46.205 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:46.205 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:46.209 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.212 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.213 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [key=import-from-select] [2025/04/05 06:58:46.213 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [key=import-from-select] [2025/04/05 06:58:46.214 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [key=import-from-select] [readDur=7.471µs] [encodeDur=205.414µs] [checksum="{cksum=2314861639778060572,size=38,kvs=1}"] [deliverDur=285.813µs] [type=query] [takeTime=860.245µs] [] [2025/04/05 06:58:46.214 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [key=import-from-select] [readDur=5.939µs] [encodeDur=564.103µs] [checksum="{cksum=17677677924021734206,size=38,kvs=1}"] [deliverDur=329.288µs] [type=query] [takeTime=1.187609ms] [] [2025/04/05 06:58:46.215 +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/fe2d135d-83cf-455c-8c24-8304a6107e99/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/5ebe235d-499e-4dec-9035-8eca90b7b9a4.sst] [firstKey=74800000000000007B5F728000000000000002] [lastKey=74800000000000007B5F728000000000000002] [2025/04/05 06:58:46.215 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.216 +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/fe2d135d-83cf-455c-8c24-8304a6107e99/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/59d6bb28-74d2-4e23-81e0-0977e4cc590b.sst] [firstKey=74800000000000007B5F728000000000000001] [lastKey=74800000000000007B5F728000000000000001] [2025/04/05 06:58:46.218 +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.000027ms] [] [2025/04/05 06:58:46.218 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:46.222 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:46.244 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=76] [2025/04/05 06:58:46.244 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:46.246 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007b5f728000000000000001] [endOfAllRanges=74800000000000007b5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7b5f728000000000ff0000030000000000fa] [2025/04/05 06:58:46.257 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 06:58:46.258 +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.838347ms] [] [2025/04/05 06:58:46.258 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.260 +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.527796ms] [] [2025/04/05 06:58:46.260 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:46.265 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.265 +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=5.527911ms] [] [2025/04/05 06:58:46.265 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [2025/04/05 06:58:46.265 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [2025/04/05 06:58:46.271 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [takeTime=5.220418ms] [] [2025/04/05 06:58:46.271 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [checksum="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/05 06:58:46.271 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [weight=30] [2025/04/05 06:58:46.271 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [concurrency=15] [2025/04/05 06:58:46.273 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=123] [physicalTableID=123] [indexID=-1] [checksum=15380830721546568226] [totalKvs=2] [totalBytes=76] [2025/04/05 06:58:46.273 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:46.273 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [local="{cksum=15380830721546568226,size=76,kvs=2}"] [2025/04/05 06:58:46.273 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=fe2d135d-83cf-455c-8c24-8304a6107e99] [checksum="{\"id=-1\"=\"{cksum=15380830721546568226,size=76,kvs=2}\"}"] [takeTime=7.635886ms] [] [2025/04/05 06:58:46.273 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.273 +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.244µs] [] [2025/04/05 06:58:46.273 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.274 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.039042ms] [] [2025/04/05 06:58:46.274 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.274 +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.631µs] [] [2025/04/05 06:58:46.275 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.275 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=781.118µs] [] [2025/04/05 06:58:46.278 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:46.278 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:46.278 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:46.278 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:46.278 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:46.278 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:46.278 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:46.278 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:46.278 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:46.278 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:46.278 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:46.278 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:46.280 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:46.280 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:46.280 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:46.280 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:46.295 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:46.295 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table src"] [2025/04/05 06:58:46.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:119, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.308 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 125, Table Name: src, Old Table ID: 119, Old Table Name: src)"] [2025/04/05 06:58:46.322 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.446314ms] [gotSchemaVersion=65] [phyTblIDs="[119,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:46.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/05 06:58:46.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=65] ["take time"=8.261812ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.338 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[119]"] [comment="truncate table: table ID"] [2025/04/05 06:58:46.342 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/05 06:58:46.343 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:119, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.359 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 06:58:46.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=from_select] [sql="truncate table src"] [user=] [2025/04/05 06:58:46.370 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 06:58:46.370 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:46.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:queueing, SchemaState:none, SchemaID:117, TableID:123, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 127, Table Name: dst, Old Table ID: 123, Old Table Name: dst)"] [2025/04/05 06:58:46.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.49406ms] [gotSchemaVersion=66] [phyTblIDs="[123,127]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:46.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/05 06:58:46.401 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.397923ms] [job="ID:128, Type:truncate table, State:done, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.411 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=128] [tableIDs="[123]"] [comment="truncate table: table ID"] [2025/04/05 06:58:46.415 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="truncate table"] [2025/04/05 06:58:46.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:truncate table, State:synced, SchemaState:public, SchemaID:117, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.359 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.432 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 06:58:46.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 06:58:46.832 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457136229989744643\n# Conn_ID: 2\n# Query_time: 0.364439116\n# Parse_time: 0.053340221\n# Compile_time: 0.077836251\n# Rewrite_time: 0.017738891\n# Optimize_time: 0.000232315\n# Wait_TS: 0.000090568\n# Prewrite_time: 0.021302407 Commit_time: 0.008530176 Get_commit_ts_time: 0.000299231 Slowest_prewrite_rpc_detail: {total:0.017s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 689.5µs, total_suspend_time: 3.73ms, tikv_grpc_process_time: 65.6µs, tikv_grpc_wait_time: 12.2µs, tikv_wall_time: 4.81ms}, scan_detail: {get_snapshot_time: 6µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 400.1µs, propose_send_wait: 0s, persist_log: {total: 173.6µs, write_leader_wait: 35ns, sync_log: 115.8µs, write_memtable: 868ns}, commit_log: 447.2µs, apply_batch_wait: 60.1µs, apply: {total:2.8ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 31.6µs, write_memtable: 334.5µs}, scheduler: {process: 4.4ms, latch_wait: 309.4µs}}} Commit_primary_rpc_detail: {total:0.006s, region_id: 14, store: 127.0.0.1:20160, time_detail: {total_process_time: 1.68ms, total_suspend_time: 3.33ms, tikv_grpc_process_time: 116.7µs, tikv_grpc_wait_time: 14.3µs, tikv_wall_time: 5.35ms}, scan_detail: {get_snapshot_time: 5.58µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 63.3µs, propose_send_wait: 0s, persist_log: {total: 251.8µs, write_leader_wait: 56ns, sync_log: 133.6µs, write_memtable: 1.07µs}, commit_log: 777.6µs, apply_batch_wait: 12.3µs, apply: {total:2.45ms, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 121.8µs, write_memtable: 1.44ms}, scheduler: {process: 4.99ms, latch_wait: 201.3µ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('+xrwcTAJMjdfMQkwCTAJTi9BCTAJdGltZToxOTEuM21zLCBvcGVuOjEwLjLCtXMsIGNsb3NlOjM0LjXCtXMsIGxvb3BzOjEsIHByZXBhcmU6IHt0b3RhbDogMzMuN21zLCBhdXRvX2lkX2FsbG9jYXRvcjogewUMUF9jbnQ6IDEsIEdldDp7bnVtX3JwYwFLAHQBQQBfBYUoNDQyLjfCtXN9LCABEBxfZGV0YWlsOg1lHF9wcm9jZXNzCSwIIDQ4BSwALA1BDHdhaXQNGgwzNi44Ba8JWyhrdl9yZWFkX3dhbA1oCCA5MgkgHGlrdl9ncnBjOlsADDMuMjM6IQAdXwwyNC45GR4dVgwxMTkuAXkYfSwgc2Nhbj6/AAxrZXlzJQIoZ2V0X3NuYXBzaG8Rswg5LjcBOoAsIHJvY2tzZGI6IHtibG9jazoge2NhY2hlX2hpdF9jb3UhRCQyfX19LCBjb21tAfJEeG46IHtwcmV3cml0ZToxLjA1IcYBYxEiGHM6MzI4LjQFswkUDDo4MzYt0hxzbG93ZXN0XxFCJZYtcRg6IDAuMDAxAZZAZWdpb25faWQ6IDEwLCBzdG8h/DgxMjcuMC4wLjE6MjAxNjCOtQEEOTANiSmbGHN1c3BlbmQtuAg0NzEFpV6XAQgxNi5qlwEEMTclfQGGBGt2LpcBDDYwNS4h8EKXASElOogBBDExDUWiiAEleDnrJRsUX2JhdGNoRTQMOiAyOC1rIHByb3Bvc2VfcwHyQVBAOiAwcywgcGVyc2lzdF9sb2c5eRAxMTUuNiUNCWAUbGVhZGVyDTYoMTU4bnMsIHN5bmMJNgQ2MQXhACwNLTBtZW10YWJsZTogMy4zQatZLwVlBDMyKREYLCBhcHBseTKuAAQxM03dBRsVkQQ2MS24FG11dGV4X0mbAb5KnwAZFxh3YWw6IDE0LVMJKxmdCDkuM23tHHNjaGVkdWxlgS1t5RA6IDUxNy0DAGw9TggxLjVByi4DAxhwcmltYXJ5/roCeroCBDUyUX2FsDa6AggzMjANrGK8AgAxLQYZIUEDTfoEMTEtdgUenVMINDAzJXmOvAIhGE5BBCUsKX21UUanAgQxOA3grqcCFC0yOC4zMIm6CWIyqQIEMzI2qAIAMm2KTqkCADRto4miSakEMThxPEWONqkCce8FG1mpqYMELCDKqQIANyVrRp0ABDEyBRklhABoRqkCDDM1MC6JuTapAgA0IRglfa0/CG51bcHxKSnFDgAxEW0UYnl0ZTozqdosaW5zZXJ0OjE1Ny43ocwtEjrqBQQyMemwgcURIhBzOjI5OY0LCRQMOjguNeXXgugFDDE3cywRqaXoBDQs6ugFCDY4OY32Ui8DBC43BZVF7kqABwA2kf0ZIS4tAwAyDeMFHi4tAwwuODFtKacufgchIjrnBalbRuQFJa4poGorAwQ0MDHxAHCu0wUENzONJAlhNioDADU2KgMIMTE1jTAJLbk2DDg2OG4B5CngaSgINDQ3LRNlDTIoAwA2EawFG3UoCDIuOEFcxiYDBDMxMsYAGZkAMxomCl4nAwg0LjQBcgBsvc0IMzA5aVoq0QhizgUENnP+oAJdoAgxLjYlAFaeAgAzcp4CCDExNh56Cg5qCEXALp8CADStSQUeXZ8MNS4zNZafAgg1LjWBPObNBQQ2Mw2ErqECCDI1MTJ0AjKhAgQ1NjqhAgAzNs4CWQgIMS4w7dcuowIINzc3TThFiDKjAgAx8VsFG12jADQSzArGpAIEMTI2ygAunQAENDQthABoRsoFDDQuOTk+pAIIMjAxJUxFpGLJBQw1MDAwMswFUDIwMzc2Mn0JNzI3LjUgS0IJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('hxvweQqCGwoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTkxLjNtcywgb3BlbjoxMC4ywrVzLCBjbG9zZTozNC41wrVzLCBsb29wczoxYuoOcHJlcGFyZToge3RvdGFsOiAzMy43bXMsIGF1dG9faWRfYWxsb2NhdG9yOiB7BQx4X2NudDogMSwgR2V0OntudW1fcnBjOjEsIHRvdGFsXwWGKDQ0Mi43wrVzfSwgARAgX2RldGFpbDogCWUcX3Byb2Nlc3MJLAggNDgFLBFBDHdhaXQNGgwzNi44Bb8JWyhrdl9yZWFkX3dhbA1oCCA5MgkgHGlrdl9ncnBjOlsADDMuMjM6IQAdXwwyNC45GR4dVgwxMTkuAXkYfSwgc2Nhbj6/AAxrZXlzJQIoZ2V0X3NuYXBzaG8Rswg5LjcBOoAsIHJvY2tzZGI6IHtibG9jazoge2NhY2hlX2hpdF9jb3UhRCQyfX19LCBjb21tAfJEeG46IHtwcmV3cml0ZToxLjA1IYcBYxEiGHM6MzI4LjQFswkUEDo4MzYuKdMcc2xvd2VzdF8RQiWWLXEYOiAwLjAwMQGWkGVnaW9uX2lkOiAxMCwgc3RvcmU6IDEyNy4wLjAuMToyMDE2MCyKtQEEOTANiSmbGHN1c3BlbmQtuAg0NzEFpV6XAQgxNi5qlwEEMTclfUE7BGt2LpcBDDYwNS4h8EKXASElOogBBDExDUWiiAEleDnrJRsUX2JhdGNoRTQMOiAyOC1rIHByb3Bvc2VfcwHyQVBAOiAwcywgcGVyc2lzdF9sb2c5eRAxMTUuNiUNCWAUbGVhZGVyDTYoMTU4bnMsIHN5bmMJNgQ2MQXhACwNLTBtZW10YWJsZTogMy4zQatZLwVlBDMyKREYLCBhcHBseTKuAAQxM03dBRsVkQQ2MS24FG11dGV4X0mbAb5KnwAZFxh3YWw6IDE0LVMJKxmdCDkuM23tHHNjaGVkdWxlgS1t5RA6IDUxNy0DAGw9TggxLjVByi4DAxhwcmltYXJ5/roCeroCBDUyUX2FsDa6AggzMjANrGK8AgAxLQYZIUEDTfoEMTEtdgUenVMINDAzJXmOvAIhGE5BBCUsKX21UUanAgQxOA3grqcCFC0yOC4zMIm6CWIyqQIEMzI2qAIAMm2KTqkCADRto4miSakEMThxPEWONqkCce8FG1mpqYMELCDKqQIANyVrRp0ABDEyBRklhABoRqkCDDM1MC6JuTapAgA0IRglfa0/CG51bcHxKSnFDgAxEW0UYnl0ZTozqdoAaeWkKDoxNTcuN21zYrwLLRM66wUEMjHpsoHGESIQczoyOTmNDAkUDDo4LjXl2YLpBQwxN3MsEaql6QQ0LOrpBQg2ODmN91IwAwQuNwWVRe9KgQcANpH+GSEuLgMAMg3jBR4uLgMMLjgxbSmoLn8HISI66AWpXEblBSWvKaFqLAMENDAx8gBwrtQFBDczjSUJYTYrAwA1NisDCDExNY0xCS25Nww4NjhuAeQp4GkpCDQ0Ny0TZQ4yKQMANhGsBRt1KQgyLjgOKQjGJwMEMzEyxgAZmQQzMxYoCl4oAwg0LjQBci4lAwgzMDlpWyrSCGLPBQQ2c/6gAl2gCDEuNiUAVp4CADNyngIIMTE2HnsKDmsIRcAunwIANK1KBR5dnww1LjM1lp8CCDUuNYE95s4FBDYzDYSuoQIIMjUxMnQCMqECBDU2OqECADM2zgJZCAgxLjDt2C6jAgg3NzdNOEWIMqMCADHxXAUbXaMANBLNCsakAgQxMjbKAC6dAAQ0NC2EAGhGywUMNC45OT6kAggyMDElTEWkYsoFDDUwMDAyzQVcMjAzNzYyfXCovC14////////////ARgB')\n# Resource_group: default\nuse from_select;\ninsert into src values (0, 'abc-0'),(1, 'abc-1'),(2, 'abc-2'),(3, 'abc-3'),(4, 'abc-4'),(5, 'abc-5'),(6, 'abc-6'),(7, 'abc-7'),(8, 'abc-8'),(9, 'abc-9'),(10, 'abc-10'),(11, 'abc-11'),(12, 'abc-12'),(13, 'abc-13'),(14, 'abc-14'),(15, 'abc-15'),(16, 'abc-16'),(17, 'abc-17'),(18, 'abc-18'),(19, 'abc-19'),(20, 'abc-20'),(21, 'abc-21'),(22, 'abc-22'),(23, 'abc-23'),(24, 'abc-24'),(25, 'abc-25'),(26, 'abc-26'),(27, 'abc-27'),(28, 'abc-28'),(29, 'abc-29'),(30, 'abc-30'),(31, 'abc-31'),(32, 'abc-32'),(33, 'abc-33'),(34, 'abc-34'),(35, 'abc-35'),(36, 'abc-36'),(37, 'abc-37'),(38, 'abc-38'),(39, 'abc-39'),(40, 'abc-40'),(41, 'abc-41'),(42, 'abc-42'),(43, 'abc-43'),(44, 'abc-44'),(45, 'abc-45'),(46, 'abc-46'),(47, 'abc-47'),(48, 'abc-48'),(49, 'abc-49'),(50, 'abc-50'),(51, 'abc-51'),(52, 'abc-52'),(53, 'abc-53'),(54, 'abc-54'),(55, 'abc-55'),(56, 'abc-56'),(57, 'abc-57'),(58, 'abc-58'),(59, 'abc-59'),(60, 'abc-60'),(61, 'abc-61'),(62, 'abc-62'),(63, 'abc-63'),(64, 'abc-64'),(65, 'abc-65'),(66, 'abc-66'),(67, 'abc-67'),(68, 'abc-68'),(69, 'abc-69'),(70, 'abc-70'),(71, 'abc-71'),(72, 'abc-72'),(73, 'abc-73'),(74, 'abc-74'),(75, 'abc-75'),(76, 'abc-76'),(77, 'abc-77'),(78, 'abc-78'),(79, 'abc-79'),(80, 'abc-80'),(81, 'abc-81'),(82, 'abc-82'),(83, 'abc-83'),(84, 'abc-84'),(85, 'abc-85'),(86, 'abc-86'),(87, 'abc-87'),(88, 'abc-88'),(89, 'abc-89'),(90, 'abc-90'),(91, 'abc-91'),(92, 'abc-92'),(93, 'abc-93'),(94, 'abc-94'),(95, 'abc-95'),(96, 'abc-96'),(97, 'abc-97'),(98, 'abc-98'),(99, 'abc-99'),(100, 'abc-100'),(101, 'abc-101'),(102, 'abc-102'),(103, 'abc-103'),(104, 'abc-104'),(105, 'abc-105'),(106, 'abc-106'),(107, 'abc-107'),(108, 'abc-108'),(109, 'abc-109'),(110, 'abc-110'),(111, 'abc-111'),(112, 'abc-112'),(113, 'abc-113'),(114, 'abc-114'),(115, 'abc-115'),(116, 'abc-116'),(117, 'abc-117'),(118, 'abc-118'),(119, 'abc-119'),(120, 'abc-120'),(121, 'abc-121'),(122, 'abc-122'),(123, 'abc-123'),(124, 'abc-124'),(125, 'abc-125'),(126, 'abc-126'),(127, 'abc-127'),(128, 'abc-128'),(129, 'abc-129'),(130, 'abc-130'),(131, 'abc-131'),(132, 'abc-132'),(133, 'abc-133'),(134, 'abc-134'),(135, 'abc-135'),(136, 'abc-136'),(137, 'abc-137'),(138, 'abc-138'),(139, 'abc-139'),(140, 'abc-140'),(141, 'abc-141'),(142, 'abc-142'),(143, 'abc-143'),(144, 'abc-144'),(145, 'abc-145'),(146, 'abc-146'),(147, 'abc-147'),(148, 'abc-148'),(149, 'abc-149'),(150, 'abc-150'),(151, 'abc-151'),(152, 'abc-152'),(153, 'abc-153'),(154, 'abc-154'),(155, 'abc-155'),(156, 'abc-156'),(157, 'abc-157'),(158, 'abc-158'),(159, 'abc-159'),(160, 'abc-160'),(161, 'abc-161'),(162, 'abc-162'),(163, 'abc-163'),(164, 'abc-164'),(165, 'abc-165'),(166, 'abc-166'),(167, 'abc-167'),(168, 'abc-168'),(169, 'abc-169'),(170, 'abc-170'),(171, 'abc-171'),(172, 'abc-172'),(173, 'abc-173'),(174, 'abc-174'),(175, 'abc-175'),(176, 'abc-176'),(177, 'abc-177'),(178, 'abc-178'),(179, 'abc-179'),(180, 'abc-180'),(181, 'abc-181'),(182, 'abc-182'),(183, 'abc-183'),(184, 'abc-184'),(185, 'abc-185'),(186, 'abc-186'),(187, 'abc-187'),(188, 'abc-188'),(189, 'abc-189'),(190, 'abc-190'),(191, 'abc-191'),(192, 'abc-192'),(193, 'abc-193'),(194, 'abc-194'),(195, 'abc-195'),(196, 'abc-196'),(197, 'abc-197'),(198, 'abc-198'),(199, 'abc-199'),(200, 'abc-200'),(201, 'abc-201'),(202, 'abc-202'),(203, 'abc-203'),(204, 'abc-204'),(205, 'abc-205'),(206, 'abc-206'),(207, 'abc-207'),(208, 'abc-208'),(209, 'abc-209'),(210, 'abc-210'),(211, 'abc-211'),(212, 'abc-212'),(213, 'abc-213'),(214, 'abc-214'),(215, 'abc-215'),(216, 'abc-216'),(217, 'abc-217'),(218, 'abc-218'),(219, 'abc-219'),(220, 'abc-220'),(221, 'abc-221'),(222, 'abc-222'),(223, 'abc-223'),(224, 'abc-224'),(225, 'abc-225'),(226, 'abc-226'),(227, 'abc-227'),(228, 'abc-228'),(229, 'abc-229'),(230, 'abc-230'),(231, 'abc-231'),(232, 'abc-232'),(233, 'abc-233'),(234, 'abc-234'),(235, 'abc-235'),(236, 'abc-236'),(237, 'abc-237'),(238, 'abc-238'),(239, 'abc-239'),(240, 'abc-240'),(241, 'abc-241'),(242, 'abc-242'),(243, 'abc-243'),(244, 'abc-244'),(245, 'abc-245'),(246, 'abc-246'),(247, 'abc-247'),(248, 'abc-248'),(249, 'abc-249'),(250, 'abc-250'),(251, 'abc-251'),(252, 'ab(len:92802);"] [2025/04/05 06:58:46.877 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [concurrency=8] [target-table=`from_select`.`dst`] [target-table-id=127] [2025/04/05 06:58:46.884 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:46.884 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:46.885 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:46.885 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:46.885 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:46.885 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:46.885 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:46.885 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:46.886 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:46.886 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:46.897 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:46.899 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:46.899 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:46.903 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.907 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.908 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [2025/04/05 06:58:46.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.802819ms] [encodeDur=22.38848ms] [checksum="{cksum=10306377754175901589,size=25556,kvs=627}"] [deliverDur=2.22679ms] [type=query] [takeTime=52.870179ms] [] [2025/04/05 06:58:46.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=24.125208ms] [encodeDur=22.259022ms] [checksum="{cksum=6019620596558942322,size=24577,kvs=603}"] [deliverDur=2.27315ms] [type=query] [takeTime=52.926926ms] [] [2025/04/05 06:58:46.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.374966ms] [encodeDur=22.970553ms] [checksum="{cksum=451574796615998070,size=25600,kvs=628}"] [deliverDur=2.155484ms] [type=query] [takeTime=52.925965ms] [] [2025/04/05 06:58:46.961 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.62529ms] [encodeDur=22.848936ms] [checksum="{cksum=12371041877738990241,size=25541,kvs=627}"] [deliverDur=2.022806ms] [type=query] [takeTime=53.511507ms] [] [2025/04/05 06:58:46.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.895466ms] [encodeDur=22.241383ms] [checksum="{cksum=15459364494967042691,size=25018,kvs=614}"] [deliverDur=2.006235ms] [type=query] [takeTime=53.31595ms] [] [2025/04/05 06:58:46.962 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25556] [kvs=627] [files=1] [sstFileSize=8259] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/4a0d0c75-742a-4ee2-8e95-88e5c73b3d80.sst] [firstKey=74800000000000007F5F728000000000000006] [lastKey=74800000000000007F5F72800000000000137E] [2025/04/05 06:58:46.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=24.139332ms] [encodeDur=22.048291ms] [checksum="{cksum=2642537258932594867,size=25344,kvs=622}"] [deliverDur=2.035116ms] [type=query] [takeTime=53.575247ms] [] [2025/04/05 06:58:46.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.676963ms] [encodeDur=22.734851ms] [checksum="{cksum=7623046900791712331,size=25472,kvs=625}"] [deliverDur=2.072086ms] [type=query] [takeTime=53.830721ms] [] [2025/04/05 06:58:46.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [key=import-from-select] [readDur=23.589613ms] [encodeDur=22.802089ms] [checksum="{cksum=14100402330156699060,size=26654,kvs=654}"] [deliverDur=2.436321ms] [type=query] [takeTime=54.250952ms] [] [2025/04/05 06:58:46.962 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:46.963 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=24577] [kvs=603] [files=1] [sstFileSize=7988] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/6e327da1-744c-4912-8582-97813c079a84.sst] [firstKey=74800000000000007F5F728000000000000005] [lastKey=74800000000000007F5F728000000000001388] [2025/04/05 06:58:46.964 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25600] [kvs=628] [files=1] [sstFileSize=8237] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/19c89bf4-1a49-4d94-8024-91c14c79deda.sst] [firstKey=74800000000000007F5F728000000000000004] [lastKey=74800000000000007F5F728000000000001386] [2025/04/05 06:58:46.965 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=26654] [kvs=654] [files=1] [sstFileSize=8468] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/007b83e0-4a32-4ce4-b394-311121c8581d.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000001383] [2025/04/05 06:58:46.966 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25472] [kvs=625] [files=1] [sstFileSize=8232] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/f88a840a-3960-4c72-aeca-628882148439.sst] [firstKey=74800000000000007F5F728000000000000002] [lastKey=74800000000000007F5F728000000000001384] [2025/04/05 06:58:46.968 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25541] [kvs=627] [files=1] [sstFileSize=8201] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/1f0efff8-41f4-47cb-8fb4-63cf98ac9bec.sst] [firstKey=74800000000000007F5F728000000000000003] [lastKey=74800000000000007F5F728000000000001385] [2025/04/05 06:58:46.969 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25344] [kvs=622] [files=1] [sstFileSize=8191] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/3bfe97b5-4997-4b1f-a4c8-f9fcb26412b5.sst] [firstKey=74800000000000007F5F728000000000000007] [lastKey=74800000000000007F5F72800000000000137D] [2025/04/05 06:58:46.971 +00:00] [INFO] [engine.go:890] ["write data to local DB"] [category=ddl-ingest] [size=25018] [kvs=614] [files=1] [sstFileSize=8145] [file=/tmp/tidb/import-4000/4ba99440-2e17-49a3-bccf-9d36ac698380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/f336dc4c-1f7f-4c07-8fe3-92cf7d6fb0c8.sst] [firstKey=74800000000000007F5F72800000000000000C] [lastKey=74800000000000007F5F728000000000001387] [2025/04/05 06:58:46.974 +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.308165ms] [] [2025/04/05 06:58:46.974 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:46.980 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.002 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=5000] [size=203762] [2025/04/05 06:58:47.002 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.005 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000001389] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0013890000000000fa] [2025/04/05 06:58:47.047 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=203762] [kvs=5000] [importedSize=203762] [importedCount=5000] [2025/04/05 06:58:47.052 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:47.068 +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=94.467811ms] [] [2025/04/05 06:58:47.069 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.070 +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.453394ms] [] [2025/04/05 06:58:47.070 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:47.074 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.074 +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.625918ms] [] [2025/04/05 06:58:47.074 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [2025/04/05 06:58:47.074 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [2025/04/05 06:58:47.079 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [takeTime=5.18076ms] [] [2025/04/05 06:58:47.079 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [checksum="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/05 06:58:47.079 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [weight=30] [2025/04/05 06:58:47.079 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [concurrency=15] [2025/04/05 06:58:47.084 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=2965160055807091455] [totalKvs=5000] [totalBytes=203762] [2025/04/05 06:58:47.084 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:47.085 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [local="{cksum=2965160055807091455,size=203762,kvs=5000}"] [2025/04/05 06:58:47.085 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=4ba99440-2e17-49a3-bccf-9d36ac698380] [checksum="{\"id=-1\"=\"{cksum=2965160055807091455,size=203762,kvs=5000}\"}"] [takeTime=10.646688ms] [] [2025/04/05 06:58:47.085 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.085 +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.225µs] [] [2025/04/05 06:58:47.085 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.086 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.539307ms] [] [2025/04/05 06:58:47.086 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.086 +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.347µs] [] [2025/04/05 06:58:47.086 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.087 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=913.42µs] [] [2025/04/05 06:58:47.090 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.090 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.090 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.090 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.090 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.090 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.090 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.090 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.090 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.090 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.090 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.090 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.092 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:47.092 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.092 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.092 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectBasic (1.58s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectColumnList [2025/04/05 06:58:47.175 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.175 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 06:58:47.180 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:queueing, SchemaState:public, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=162.688µs] [gotSchemaVersion=67] [phyTblIDs="[125,127]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:47.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=67] [2025/04/05 06:58: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=67] ["take time"=6.891665ms] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.211 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:write only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.223 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=140.91µs] [gotSchemaVersion=68] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:47.226 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=68] [2025/04/05 06:58:47.228 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=68] ["take time"=6.614297ms] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:running, SchemaState:delete only, SchemaID:117, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.241 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:58:47.250 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=116.91µs] [gotSchemaVersion=69] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:47.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=69] [2025/04/05 06:58:47.255 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=69] ["take time"=6.395633ms] [job="ID:129, Type:drop schema, State:done, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.263 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[125,127]"] [comment="drop schema: table IDs"] [2025/04/05 06:58:47.267 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop schema"] [2025/04/05 06:58:47.268 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop schema, State:synced, SchemaState:none, SchemaID:117, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.284 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 06:58:47.284 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 06:58:47.295 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.295 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 06:58:47.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:queueing, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=657.899µs] [gotSchemaVersion=70] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:47.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=70] [2025/04/05 06:58:47.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=70] ["take time"=7.632285ms] [job="ID:131, Type:create schema, State:done, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.329 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create schema, State:synced, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.259 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.338 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 06:58:47.339 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 06:58:47.352 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.352 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, a varchar(64))"] [2025/04/05 06:58:47.357 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.361 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 132, Table Name: src)"] [2025/04/05 06:58:47.375 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.454712ms] [gotSchemaVersion=71] [phyTblIDs="[132]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:47.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=71] [2025/04/05 06:58:47.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=71] ["take time"=7.790774ms] [job="ID:133, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.390 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=133] [conn=2] [job="ID:133, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:132, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.31 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 06:58:47.401 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=from_select] [sql="create table src(id int, a varchar(64))"] [user=] [2025/04/05 06:58:47.413 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.413 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [2025/04/05 06:58:47.419 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.423 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 134, Table Name: dst)"] [2025/04/05 06:58:47.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.662172ms] [gotSchemaVersion=72] [phyTblIDs="[134]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:47.442 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=72] [2025/04/05 06:58:47.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=8.342917ms] [job="ID:135, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.454 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/05 06:58:47.466 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=72] [cur_db=from_select] [sql="create table dst(id int auto_increment primary key, a varchar(64), b int default 10, c int)"] [user=] [2025/04/05 06:58:47.512 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=134] [2025/04/05 06:58:47.518 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.518 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:47.519 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.519 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.519 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.519 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.519 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.519 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.520 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.520 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.530 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:47.532 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:47.532 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:47.536 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.539 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.619 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [key=import-from-select] [2025/04/05 06:58:47.621 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [key=import-from-select] [readDur=41.67µs] [encodeDur=287.616µs] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [deliverDur=843.191µs] [type=query] [takeTime=1.499317ms] [] [2025/04/05 06:58:47.622 +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/43147f0a-a84f-467a-97c5-bdea220b79e7/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/80410415-2704-4107-a3ae-61e9596a12ce.sst] [firstKey=7480000000000000865F728000000000000001] [lastKey=7480000000000000865F728000000000000004] [2025/04/05 06:58:47.633 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [key=import-from-select] [2025/04/05 06:58:47.633 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=104.103µs] [] [2025/04/05 06:58:47.633 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.634 +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.286436ms] [] [2025/04/05 06:58:47.634 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:47.639 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.660 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=4] [size=168] [2025/04/05 06:58:47.660 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.662 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000865f728000000000000001] [endOfAllRanges=7480000000000000865f728000000000000005] [startKeyOfFirstRegion=7480000000000000ff865f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff865f728000000000ff0000050000000000fa] [2025/04/05 06:58:47.672 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=168] [kvs=4] [importedSize=168] [importedCount=4] [2025/04/05 06:58:47.673 +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.765473ms] [] [2025/04/05 06:58:47.673 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.675 +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.360364ms] [] [2025/04/05 06:58:47.675 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:47.678 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.678 +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.457373ms] [] [2025/04/05 06:58:47.678 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [2025/04/05 06:58:47.678 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [2025/04/05 06:58:47.684 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [takeTime=5.487603ms] [] [2025/04/05 06:58:47.684 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [checksum="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/05 06:58:47.684 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [weight=30] [2025/04/05 06:58:47.684 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [concurrency=15] [2025/04/05 06:58:47.686 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=134] [physicalTableID=134] [indexID=-1] [checksum=6223226670940176578] [totalKvs=4] [totalBytes=168] [2025/04/05 06:58:47.686 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:47.686 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [local="{cksum=6223226670940176578,size=168,kvs=4}"] [2025/04/05 06:58:47.686 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=43147f0a-a84f-467a-97c5-bdea220b79e7] [checksum="{\"id=-1\"=\"{cksum=6223226670940176578,size=168,kvs=4}\"}"] [takeTime=7.994068ms] [] [2025/04/05 06:58:47.687 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.687 +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.93µs] [] [2025/04/05 06:58:47.687 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.688 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=939.644µs] [] [2025/04/05 06:58:47.688 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.688 +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.314µs] [] [2025/04/05 06:58:47.688 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.689 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=876.764µs] [] [2025/04/05 06:58:47.691 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.691 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.691 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.691 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.691 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.691 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.691 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.692 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.691 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.692 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.692 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.692 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.693 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:47.693 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.694 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.694 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.708 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.708 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 06:58:47.714 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:queueing, SchemaState:none, SchemaID:130, TableID:134, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.722 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 136, Table Name: dst, Old Table ID: 134, Old Table Name: dst)"] [2025/04/05 06:58:47.738 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.683901ms] [gotSchemaVersion=73] [phyTblIDs="[134,136]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:47.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=73] [2025/04/05 06:58:47.743 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=8.456961ms] [job="ID:137, Type:truncate table, State:done, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.753 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=137] [tableIDs="[134]"] [comment="truncate table: table ID"] [2025/04/05 06:58:47.757 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=137] [jobType="truncate table"] [2025/04/05 06:58:47.758 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:truncate table, State:synced, SchemaState:public, SchemaID:130, TableID:134, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.659 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 06:58:47.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=73] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 06:58:47.788 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.788 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src2(id int, a varchar(64))"] [2025/04/05 06:58:47.793 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:queueing, SchemaState:none, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.797 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 138, Table Name: src2)"] [2025/04/05 06:58:47.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.347578ms] [gotSchemaVersion=74] [phyTblIDs="[138]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:47.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=74] [2025/04/05 06:58:47.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=74] ["take time"=8.95857ms] [job="ID:139, Type:create table, State:done, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.828 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=139] [conn=2] [job="ID:139, Type:create table, State:synced, SchemaState:public, SchemaID:130, TableID:138, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.759 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/05 06:58:47.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=from_select] [sql="create table src2(id int, a varchar(64))"] [user=] [2025/04/05 06:58:47.892 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=136] [2025/04/05 06:58:47.899 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.899 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:47.900 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.900 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.900 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.900 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.900 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.900 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.901 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.901 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.914 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:47.916 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:47.916 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:47.921 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.924 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:47.979 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [key=import-from-select] [2025/04/05 06:58:47.979 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [key=import-from-select] [readDur=20.632µs] [encodeDur=502.097µs] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [deliverDur=28.142µs] [type=query] [takeTime=827.513µs] [] [2025/04/05 06:58:47.980 +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/a3f8d068-e9c2-4222-a5f2-3ddc70516380/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/3387ebd6-d119-45c9-8b5d-9325e194faf0.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/05 06:58:47.984 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [key=import-from-select] [2025/04/05 06:58:47.984 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=95.014µs] [] [2025/04/05 06:58:47.984 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:47.985 +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.512962ms] [] [2025/04/05 06:58:47.985 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:47.990 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:48.012 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=80] [2025/04/05 06:58:48.012 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:48.014 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000030000000000fa] [2025/04/05 06:58:48.024 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/05 06:58:48.026 +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.414966ms] [] [2025/04/05 06:58:48.026 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.027 +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.357116ms] [] [2025/04/05 06:58:48.027 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:48.031 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.031 +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.506234ms] [] [2025/04/05 06:58:48.031 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [2025/04/05 06:58:48.031 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [2025/04/05 06:58:48.036 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [takeTime=5.181069ms] [] [2025/04/05 06:58:48.036 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [checksum="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/05 06:58:48.036 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [weight=30] [2025/04/05 06:58:48.036 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [concurrency=15] [2025/04/05 06:58:48.038 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=8162185998638841877] [totalKvs=2] [totalBytes=80] [2025/04/05 06:58:48.039 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:48.039 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [local="{cksum=8162185998638841877,size=80,kvs=2}"] [2025/04/05 06:58:48.039 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=a3f8d068-e9c2-4222-a5f2-3ddc70516380] [checksum="{\"id=-1\"=\"{cksum=8162185998638841877,size=80,kvs=2}\"}"] [takeTime=7.590039ms] [] [2025/04/05 06:58:48.039 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.039 +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.874µs] [] [2025/04/05 06:58:48.039 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.040 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.109045ms] [] [2025/04/05 06:58:48.040 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.040 +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.358µs] [] [2025/04/05 06:58:48.040 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.041 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=895.735µs] [] [2025/04/05 06:58:48.044 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:48.044 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:48.044 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:48.044 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:48.044 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:48.044 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:48.044 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:48.044 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.044 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:48.044 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.044 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.044 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:48.046 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:48.046 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.046 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.046 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectColumnList (0.89s) === NAME TestImportInto === RUN TestImportInto/TestImportFromSelectStaleRead [2025/04/05 06:58:48.062 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.062 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 06:58:48.069 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:queueing, SchemaState:public, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.085 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=161.539µs] [gotSchemaVersion=75] [phyTblIDs="[132,136,138]"] [actionTypes="[2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:48.089 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=75] [2025/04/05 06:58:48.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=75] ["take time"=7.880945ms] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.094 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 06:58:48.095 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=119] [columnID=3] [2025/04/05 06:58:48.095 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:58:48.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:write only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=139.034µs] [gotSchemaVersion=76] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:48.117 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=76] [2025/04/05 06:58:48.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=76] ["take time"=6.801779ms] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:running, SchemaState:delete only, SchemaID:130, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.133 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:58:48.143 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=116.747µs] [gotSchemaVersion=77] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:48.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=77] [2025/04/05 06:58:48.148 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=6.681629ms] [job="ID:140, Type:drop schema, State:done, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.156 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=140] [tableIDs="[132,136,138]"] [comment="drop schema: table IDs"] [2025/04/05 06:58:48.161 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop schema"] [2025/04/05 06:58:48.162 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:drop schema, State:synced, SchemaState:none, SchemaID:130, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.177 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 06:58:48.177 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=77] [cur_db=] [sql="drop database if exists from_select"] [user=] [2025/04/05 06:58:48.188 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.188 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 06:58:48.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:queueing, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.205 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=857.536µs] [gotSchemaVersion=78] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:48.209 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=78] [2025/04/05 06:58:48.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=78] ["take time"=7.529162ms] [job="ID:142, Type:create schema, State:done, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.221 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=2] [job="ID:142, Type:create schema, State:synced, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.230 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/05 06:58:48.230 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=] [sql="create database from_select"] [user=] [2025/04/05 06:58:48.248 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.248 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table src(id int, v varchar(64))"] [2025/04/05 06:58:48.254 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.258 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 143, Table Name: src)"] [2025/04/05 06:58:48.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.456616ms] [gotSchemaVersion=79] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:48.275 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=79] [2025/04/05 06:58:48.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=79] ["take time"=8.100223ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.288 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:143, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.299 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/05 06:58:48.299 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=from_select] [sql="create table src(id int, v varchar(64))"] [user=] [2025/04/05 06:58:48.508 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136230487556102] [2025/04/05 06:58:48.512 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=55ms] [prevState=normal] [newState=adapting] [2025/04/05 06:58:48.526 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.526 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst(id int, v varchar(64))"] [2025/04/05 06:58:48.531 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.536 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: dst)"] [2025/04/05 06:58:48.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.495878ms] [gotSchemaVersion=80] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:48.553 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=80] [2025/04/05 06:58:48.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=80] ["take time"=8.377604ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.575 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 06:58:48.576 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=80] [cur_db=from_select] [sql="create table dst(id int, v varchar(64))"] [user=] [2025/04/05 06:58:48.579 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457136230473400320] [2025/04/05 06:58:48.579 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:115\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-05 06:58:48.405008'"] [2025/04/05 06:58:48.580 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'from_select.dst' doesn't exist"] [errorVerbose="[schema:1146]Table 'from_select.dst' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:116\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/05 06:58:48.620 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=145] [2025/04/05 06:58:48.627 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:48.627 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:48.627 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:48.627 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:48.627 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:48.627 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:48.627 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:48.627 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:48.628 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:48.628 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:48.639 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:48.640 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:48.640 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:48.644 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.647 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.658 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [key=import-from-select] [2025/04/05 06:58:48.658 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [key=import-from-select] [2025/04/05 06:58:48.659 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=145.351µs] [] [2025/04/05 06:58:48.659 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [key=import-from-select] [readDur=6.964µs] [encodeDur=354.939µs] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [deliverDur=268.151µs] [type=query] [takeTime=927.75µs] [] [2025/04/05 06:58:48.660 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.660 +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/85ea6479-5fe2-4760-96df-3ade47fcee12/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/6fe0bd75-7eb5-4f13-b0af-084facf40ef4.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000001] [2025/04/05 06:58:48.662 +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.306101ms] [] [2025/04/05 06:58:48.662 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:48.666 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:48.689 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=1] [size=33] [2025/04/05 06:58:48.689 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:48.690 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000002] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000020000000000fa] [2025/04/05 06:58:48.700 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 06:58:48.701 +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.961208ms] [] [2025/04/05 06:58:48.701 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.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=1.315989ms] [] [2025/04/05 06:58:48.703 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:48.706 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.706 +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.72095ms] [] [2025/04/05 06:58:48.707 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [2025/04/05 06:58:48.707 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [2025/04/05 06:58:48.712 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [takeTime=5.674967ms] [] [2025/04/05 06:58:48.712 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [checksum="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/05 06:58:48.712 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [weight=30] [2025/04/05 06:58:48.712 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [concurrency=15] [2025/04/05 06:58:48.715 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=15050668223368551470] [totalKvs=1] [totalBytes=33] [2025/04/05 06:58:48.715 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:48.715 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [local="{cksum=15050668223368551470,size=33,kvs=1}"] [2025/04/05 06:58:48.715 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=85ea6479-5fe2-4760-96df-3ade47fcee12] [checksum="{\"id=-1\"=\"{cksum=15050668223368551470,size=33,kvs=1}\"}"] [takeTime=8.428557ms] [] [2025/04/05 06:58:48.715 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.715 +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.349µs] [] [2025/04/05 06:58:48.715 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:48.716 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=956.207µs] [] [2025/04/05 06:58:48.716 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.716 +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.407µs] [] [2025/04/05 06:58:48.716 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:48.717 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=837.538µs] [] [2025/04/05 06:58:48.720 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:48.720 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:48.720 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:48.720 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:48.720 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:48.720 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:48.720 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:48.720 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.720 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.720 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:48.720 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.720 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:48.722 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:48.722 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.722 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.722 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.736 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.736 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 06:58:48.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.749 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 147, Table Name: dst, Old Table ID: 145, Old Table Name: dst)"] [2025/04/05 06:58:48.763 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.533338ms] [gotSchemaVersion=81] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:48.766 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=81] [2025/04/05 06:58:48.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=81] ["take time"=8.405545ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.778 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/05 06:58:48.782 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/05 06:58:48.783 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=2] [job="ID:148, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.800 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/05 06:58:48.801 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=81] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 06:58:49.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136230618890245] [2025/04/05 06:58:49.012 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457136230603423744] [2025/04/05 06:58:49.013 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 06:58:49.014 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:58:49.014 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 06:58:49.014 +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\": 457136230603423744,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 06:58:49.015 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 06:58:49.015 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:58:49.016 +00:00] [INFO] [session.go:4296] ["use snapshot schema"] [conn=2] [schemaVersion=81] [2025/04/05 06:58:49.016 +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\": 457136230603423744,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 06:58:49.062 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=147] [2025/04/05 06:58:49.069 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.069 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:49.070 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.070 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.070 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.070 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.070 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.070 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.071 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.071 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.083 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:49.085 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:49.085 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:49.089 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.092 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.131 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [key=import-from-select] [2025/04/05 06:58:49.132 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [key=import-from-select] [2025/04/05 06:58:49.132 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=180.793µs] [] [2025/04/05 06:58:49.132 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [key=import-from-select] [readDur=8.462µs] [encodeDur=516.07µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=307.217µs] [type=query] [takeTime=1.185746ms] [] [2025/04/05 06:58:49.133 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.133 +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/e052e61c-c72a-43c5-b041-b46c6f7ee334/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/e7da60d9-ede2-460a-b56a-a906529f2358.sst] [firstKey=7480000000000000935F728000000000000001] [lastKey=7480000000000000935F728000000000000002] [2025/04/05 06:58:49.135 +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.221792ms] [] [2025/04/05 06:58:49.135 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:49.140 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.162 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/05 06:58:49.162 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.164 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000935f728000000000000001] [endOfAllRanges=7480000000000000935f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff935f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff935f728000000000ff0000030000000000fa] [2025/04/05 06:58:49.175 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 06:58:49.176 +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.78699ms] [] [2025/04/05 06:58:49.176 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.178 +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.621293ms] [] [2025/04/05 06:58:49.178 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:49.182 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.182 +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.632255ms] [] [2025/04/05 06:58:49.182 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/05 06:58:49.182 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [2025/04/05 06:58:49.187 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [takeTime=5.315822ms] [] [2025/04/05 06:58:49.187 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 06:58:49.187 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [weight=30] [2025/04/05 06:58:49.187 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [concurrency=15] [2025/04/05 06:58:49.189 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=147] [physicalTableID=147] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 06:58:49.190 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:49.190 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 06:58:49.190 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=e052e61c-c72a-43c5-b041-b46c6f7ee334] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=7.947562ms] [] [2025/04/05 06:58:49.190 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.190 +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.598µs] [] [2025/04/05 06:58:49.190 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.191 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.081737ms] [] [2025/04/05 06:58:49.191 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.191 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=9.365µs] [] [2025/04/05 06:58:49.191 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.192 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=913.681µs] [] [2025/04/05 06:58:49.195 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.195 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.195 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.195 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.195 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.195 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.195 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.195 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.195 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.195 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.195 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.195 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.197 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:49.197 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.197 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.197 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.212 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:49.212 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table dst"] [2025/04/05 06:58:49.217 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:queueing, SchemaState:none, SchemaID:141, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:49.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.225 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 149, Table Name: dst, Old Table ID: 147, Old Table Name: dst)"] [2025/04/05 06:58:49.239 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.449695ms] [gotSchemaVersion=82] [phyTblIDs="[147,149]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:49.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=82] [2025/04/05 06:58:49.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=82] ["take time"=8.510516ms] [job="ID:150, Type:truncate table, State:done, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.255 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[147]"] [comment="truncate table: table ID"] [2025/04/05 06:58:49.259 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="truncate table"] [2025/04/05 06:58:49.260 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:truncate table, State:synced, SchemaState:public, SchemaID:141, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 06:58:49.332 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="truncate table dst"] [user=] [2025/04/05 06:58:49.335 +00:00] [INFO] [set.go:347] ["load snapshot info schema"] [conn=2] [SnapshotTS=457136230603423744] [2025/04/05 06:58:49.336 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:149\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src as of timestamp '2025-04-05 06:58:48.901905'"] [2025/04/05 06:58:49.337 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="can not execute IMPORT statement when 'tidb_snapshot' is set"] [errorVerbose="can not execute IMPORT statement when 'tidb_snapshot' is set\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4656\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest2/importintotest2_test.(*mockGCSSuite).TestImportFromSelectStaleRead\n\ttests/realtikvtest/importintotest2/from_select_test.go:151\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="import into dst from select * from src"] [2025/04/05 06:58:49.384 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [concurrency=2] [target-table=`from_select`.`dst`] [target-table-id=149] [2025/04/05 06:58:49.391 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.391 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:49.391 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.391 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.392 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.392 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.392 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.392 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.392 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.392 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.404 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:49.406 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:49.406 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=374.2GB] [2025/04/05 06:58:49.411 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.415 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.453 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [key=import-from-select] [2025/04/05 06:58:49.453 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [key=import-from-select] [2025/04/05 06:58:49.454 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [key=import-from-select] [readDur=20.63µs] [encodeDur=311.108µs] [checksum="{cksum=14940627997602284289,size=33,kvs=1}"] [deliverDur=342.893µs] [type=query] [takeTime=1.094578ms] [] [2025/04/05 06:58:49.454 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [key=import-from-select] [readDur=58.036µs] [encodeDur=591.063µs] [checksum="{cksum=17834453017471039398,size=33,kvs=1}"] [deliverDur=335.567µs] [type=query] [takeTime=1.388237ms] [] [2025/04/05 06:58:49.455 +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/ffa26db5-c314-44c1-894a-bb0331d99336/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/a25d6176-e2ff-4a33-899b-99c05c290714.sst] [firstKey=7480000000000000955F728000000000000001] [lastKey=7480000000000000955F728000000000000001] [2025/04/05 06:58:49.455 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.456 +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/ffa26db5-c314-44c1-894a-bb0331d99336/c4140e3b-040a-536c-9317-e3490dc4bcf9.sst/f2ed4516-f87c-4d28-9f34-7d2ecc29cd7e.sst] [firstKey=7480000000000000955F728000000000000002] [lastKey=7480000000000000955F728000000000000002] [2025/04/05 06:58:49.458 +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.86387ms] [] [2025/04/05 06:58:49.458 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [2025/04/05 06:58:49.463 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.485 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] ["region ranges"=1] [count=2] [size=66] [2025/04/05 06:58:49.485 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.487 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000955f728000000000000001] [endOfAllRanges=7480000000000000955f728000000000000003] [startKeyOfFirstRegion=7480000000000000ff955f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff955f728000000000ff0000030000000000fa] [2025/04/05 06:58:49.498 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=c4140e3b-040a-536c-9317-e3490dc4bcf9] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 06:58:49.500 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [retryCnt=0] [takeTime=41.417322ms] [] [2025/04/05 06:58:49.500 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.501 +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.501804ms] [] [2025/04/05 06:58:49.501 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [retryCnt=0] [2025/04/05 06:58:49.505 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.505 +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.520059ms] [] [2025/04/05 06:58:49.505 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [2025/04/05 06:58:49.505 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [2025/04/05 06:58:49.511 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [takeTime=5.94644ms] [] [2025/04/05 06:58:49.511 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 06:58:49.511 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [weight=30] [2025/04/05 06:58:49.511 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [concurrency=15] [2025/04/05 06:58:49.513 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=149] [physicalTableID=149] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 06:58:49.513 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:49.513 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 06:58:49.513 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=ffa26db5-c314-44c1-894a-bb0331d99336] [checksum="{\"id=-1\"=\"{cksum=4095868306028115111,size=66,kvs=2}\"}"] [takeTime=8.363103ms] [] [2025/04/05 06:58:49.513 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.513 +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.326µs] [] [2025/04/05 06:58:49.513 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [2025/04/05 06:58:49.515 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:1] [engineUUID=c4140e3b-040a-536c-9317-e3490dc4bcf9] [takeTime=1.128145ms] [] [2025/04/05 06:58:49.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.515 +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.245µs] [] [2025/04/05 06:58:49.515 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [2025/04/05 06:58:49.516 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`from_select`.`dst`:-1] [engineUUID=3027564c-048c-5b5b-9cb8-05c9a63b83f5] [takeTime=931.031µs] [] [2025/04/05 06:58:49.518 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.518 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.518 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.518 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.518 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.518 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.519 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.519 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.519 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.519 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.519 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.519 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.520 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:49.520 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.520 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.521 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestImportFromSelectStaleRead (1.47s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromFile [2025/04/05 06:58:49.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/05 06:58:49.538 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:49.538 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/05 06:58:49.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:queueing, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:49.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.560 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=675.812µs] [gotSchemaVersion=83] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:49.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=83] [2025/04/05 06:58:49.565 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=10.458604ms] [job="ID:152, Type:create schema, State:done, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.576 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create schema, State:synced, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:49.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 06:58:49.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromFile/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 06:58:49.588 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:49.602 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:49.602 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 06:58:49.608 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:49.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.612 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 153, Table Name: t)"] [2025/04/05 06:58:49.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.50411ms] [gotSchemaVersion=84] [phyTblIDs="[153]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:49.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=84] [2025/04/05 06:58:49.633 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=84] ["take time"=8.488667ms] [job="ID:154, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:49.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.644 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=154] [conn=2] [job="ID:154, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:49.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:49.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/05 06:58:49.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=84] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:49.784 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.836 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:49.861 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 06:58:49.875 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:49.875 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 06:58:49.977 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:49.978 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:49.979 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 06:58:49.987 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.989 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:49.989 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:49.989 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=82.816µs] [2025/04/05 06:58:49.990 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=208.259µs] [] [2025/04/05 06:58:49.990 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:49.990 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 06:58:50.027 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 06:58:50.049 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:58:50.049 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.058 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:50.058 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:50.059 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:50.059 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:50.059 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:50.059 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:50.059 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:50.059 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:50.060 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:50.060 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:50.073 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:50.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/05 06:58:50.075 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:50.075 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:50.075 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=348.5GiB] [2025/04/05 06:58:50.075 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:50.083 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 06:58:50.083 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 06:58:50.085 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 06:58:50.086 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:50.091 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:50.091 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/05 06:58:50.091 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=153] [2025/04/05 06:58:50.105 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 06:58:50.170 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=2.csv:0] [2025/04/05 06:58:50.170 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=153] [key=1.csv:0] [2025/04/05 06:58:50.171 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=1.csv:0] [readDur=1.117782ms] [encodeDur=252.59µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=37.562µs] [type=file] [takeTime=1.732695ms] [] [2025/04/05 06:58:50.172 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=153] [key=2.csv:0] [readDur=985µs] [encodeDur=628.258µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=336.727µs] [type=file] [takeTime=2.353336ms] [] [2025/04/05 06:58:50.172 +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/808fc4f8-0ce8-4c26-a07d-ab5d90d5da3e.sst] [firstKey=7480000000000000995F728000000000000004] [lastKey=7480000000000000995F728000000000000005] [2025/04/05 06:58:50.173 +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/ed9a0ecd-4793-4d5c-a89c-f17abd0c1c72.sst] [firstKey=7480000000000000995F728000000000000006] [lastKey=7480000000000000995F728000000000000007] [2025/04/05 06:58:50.173 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:50.173 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:50.173 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:50.175 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.791209ms] [] [2025/04/05 06:58:50.175 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 06:58:50.181 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:50.203 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/05 06:58:50.203 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:50.205 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000995f728000000000000004] [endOfAllRanges=7480000000000000995f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff995f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff995f728000000000ff0000080000000000fa] [2025/04/05 06:58:50.218 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 06:58:50.220 +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=44.211422ms] [] [2025/04/05 06:58:50.220 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:50.221 +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.077013ms] [] [2025/04/05 06:58:50.221 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=1] [step=import] [engine-id=0] [2025/04/05 06:58:50.221 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:50.222 +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.48645ms] [] [2025/04/05 06:58:50.222 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:50.226 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:50.226 +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.77072ms] [] [2025/04/05 06:58:50.226 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:50.227 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=880.612µs] [] [2025/04/05 06:58:50.227 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=144.712892ms] [] [2025/04/05 06:58:50.228 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [takeTime=144.864321ms] [] [2025/04/05 06:58:50.282 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:50.283 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:50.284 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:50.284 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:50.315 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:50.317 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:50.317 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 06:58:50.337 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:50.343 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:58:50.345 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:50.345 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:50.345 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:50.345 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:50.345 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:50.345 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:50.346 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:50.346 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:50.345 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:50.346 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:50.346 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:50.346 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:50.348 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:50.348 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:50.348 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:50.348 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:50.348 +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=272.859637ms] [] [2025/04/05 06:58:50.349 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:50.362 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=post-process] [2025/04/05 06:58:50.362 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:50.362 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:50.362 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [2025/04/05 06:58:50.368 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=5.72547ms] [] [2025/04/05 06:58:50.368 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/05 06:58:50.368 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:50.368 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [weight=30] [2025/04/05 06:58:50.368 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [concurrency=15] [2025/04/05 06:58:50.370 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=153] [physicalTableID=153] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 06:58:50.371 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:50.371 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:50.371 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=8.438251ms] [] [2025/04/05 06:58:50.371 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=2] [takeTime=8.599949ms] [] [2025/04/05 06:58:50.371 +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.730688ms] [] [2025/04/05 06:58:50.379 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:50.382 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:50.382 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 06:58:50.384 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 06:58:50.399 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=49.600251ms] [] [2025/04/05 06:58:50.399 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:58:50.477 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:50.478 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.822512531\n# Parse_time: 0.000104828\n# Compile_time: 0.000466495\n# Rewrite_time: 0.000094345\n# Optimize_time: 0.000249355\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjgyMS43bXMsIG9wZW46NTUybnMsIGNsb3NlOjY0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjgyMS43bXMsIG9wZW46NTUybnMsIGNsb3NlOjY0OG5zLCBsb29wczoycP////8FAzQBeP///////////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/05 06:58:50.483 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:50.483 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-0 (0.90s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 06:58:50.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:50.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:50.508 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.509 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:50.524 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.792529ms] [gotSchemaVersion=85] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:50.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=85] [2025/04/05 06:58:50.530 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=85] ["take time"=9.097039ms] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.836068ms] [gotSchemaVersion=86] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:50.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=86] [2025/04/05 06:58:50.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=86] ["take time"=8.441535ms] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:153, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.573 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 153, Old Table Name: t)"] [2025/04/05 06:58:50.586 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.048487ms] [gotSchemaVersion=87] [phyTblIDs="[153]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:50.590 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=87] [2025/04/05 06:58:50.592 +00:00] [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.038741ms] [job="ID:155, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.600 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=155] [tableIDs="[153]"] [comment="drop table: table ID"] [2025/04/05 06:58:50.604 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=155] [jobType="drop table"] [2025/04/05 06:58:50.605 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.46 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.623 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 06:58:50.623 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:50.636 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:50.636 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 06:58:50.642 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.647 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 156, Table Name: t)"] [2025/04/05 06:58:50.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.60233ms] [gotSchemaVersion=88] [phyTblIDs="[156]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:50.666 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=88] [2025/04/05 06:58:50.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"=8.423526ms] [job="ID:157, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.678 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=2] [job="ID:157, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.61 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.690 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 06:58:50.690 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=88] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:50.696 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.744 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:50.763 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 06:58:50.777 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:50.777 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 06:58:50.880 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:50.881 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:50.882 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 06:58:50.890 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.892 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:50.892 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:50.892 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=58.552µs] [2025/04/05 06:58:50.893 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=172.487µs] [] [2025/04/05 06:58:50.893 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:50.893 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 06:58:50.927 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 06:58:50.947 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:58:50.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.955 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:50.956 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:50.956 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:50.956 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:50.956 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:50.956 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:50.956 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:50.957 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:50.957 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:50.957 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:50.969 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:50.970 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:50.971 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:50.971 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:50.971 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=348.5GiB] [2025/04/05 06:58:50.971 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:50.978 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [2025/04/05 06:58:50.978 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [2025/04/05 06:58:50.982 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:50.986 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 06:58:50.986 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:50.986 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/05 06:58:50.986 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=156] [2025/04/05 06:58:51.004 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 06:58:51.045 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=2.csv:0] [2025/04/05 06:58:51.047 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=2.csv:0] [readDur=988.464µs] [encodeDur=659.962µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=458.129µs] [type=file] [takeTime=2.408901ms] [] [2025/04/05 06:58:51.048 +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/ec0f7543-a9bd-4b29-a823-180391292439.sst] [firstKey=74800000000000009C5F72800000000000000A] [lastKey=74800000000000009C5F72800000000000000B] [2025/04/05 06:58:51.070 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=156] [key=1.csv:0] [2025/04/05 06:58:51.072 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=156] [key=1.csv:0] [readDur=905.145µs] [encodeDur=284.101µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=313.942µs] [type=file] [takeTime=1.761818ms] [] [2025/04/05 06:58:51.073 +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/5bcd6a7c-8c83-4636-bb0d-9fd7816744a0.sst] [firstKey=74800000000000009C5F728000000000000001] [lastKey=74800000000000009C5F728000000000000002] [2025/04/05 06:58:51.073 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:51.073 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:51.073 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:51.076 +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.366728ms] [] [2025/04/05 06:58:51.076 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 06:58:51.080 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:51.102 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:51.102 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:51.104 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f728000000000000001] [endOfAllRanges=74800000000000009c5f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ff9c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9c5f728000000000ff00000c0000000000fa] [2025/04/05 06:58:51.115 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:51.117 +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.086221ms] [] [2025/04/05 06:58:51.117 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:51.118 +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.141369ms] [] [2025/04/05 06:58:51.118 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:58:51.118 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:51.119 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.081672ms] [file=/tmp/tidb/import-4000/2/630083e6-fc50-5cd2-8645-c17b147197ce.sst/07a4d437-a776-4f94-9a80-9456e18a785e.sst] [2025/04/05 06:58:51.120 +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/07a4d437-a776-4f94-9a80-9456e18a785e.sst] [firstKey=74800000000000009C5F698000000000000001038000000000000004] [lastKey=74800000000000009C5F698000000000000001038000000000000007] [2025/04/05 06:58:51.122 +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.297286ms] [] [2025/04/05 06:58:51.122 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:51.127 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:51.148 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 06:58:51.149 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:51.150 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009c5f698000000000000001038000000000000004] [endOfAllRanges=74800000000000009c5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ff9c5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 06:58:51.161 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 06:58:51.163 +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.97847ms] [] [2025/04/05 06:58:51.163 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:51.164 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=975.684µs] [] [2025/04/05 06:58:51.164 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=3] [takeTime=185.896458ms] [] [2025/04/05 06:58:51.164 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=import] [takeTime=186.041875ms] [] [2025/04/05 06:58:51.184 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:51.186 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:51.187 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:51.187 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:51.225 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:51.227 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:51.227 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 06:58:51.248 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:51.255 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:58:51.259 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:51.259 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:51.259 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:51.259 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:51.259 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:51.259 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:51.259 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:51.259 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:51.259 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:51.259 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:51.259 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:51.259 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.262 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:51.262 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:51.262 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:51.262 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:51.262 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=290.918348ms] [] [2025/04/05 06:58:51.263 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:51.270 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=post-process] [2025/04/05 06:58:51.270 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:51.271 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:51.271 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [2025/04/05 06:58:51.276 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=5.49795ms] [] [2025/04/05 06:58:51.276 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 06:58:51.276 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/05 06:58:51.276 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 06:58:51.276 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [weight=30] [2025/04/05 06:58:51.276 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [concurrency=15] [2025/04/05 06:58:51.282 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:51.283 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=156] [physicalTableID=156] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/05 06:58:51.283 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:51.283 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 06:58:51.284 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=12.90332ms] [] [2025/04/05 06:58:51.284 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=4] [takeTime=13.055224ms] [] [2025/04/05 06:58:51.284 +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=13.207921ms] [] [2025/04/05 06:58:51.299 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:51.385 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:51.385 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 06:58:51.388 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 06:58:51.422 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=159.068249ms] [] [2025/04/05 06:58:51.422 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:51.480 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:51.486 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:51.486 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:51.507 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:51.684 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993273576\n# Parse_time: 0.000090417\n# Compile_time: 0.000373373\n# Rewrite_time: 0.000087556\n# Optimize_time: 0.000240218\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi42bXMsIG9wZW46NjIwbnMsIGNsb3NlOjY5M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi42bXMsIG9wZW46NjIwbnMsIGNsb3NlOjY5M25zLCBsb29wczoycP////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-2 (1.21s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 06:58:51.708 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:51.708 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:51.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.11383ms] [gotSchemaVersion=89] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:51.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=89] [2025/04/05 06:58:51.733 +00:00] [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.19499ms] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.743 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.759 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=2.067597ms] [gotSchemaVersion=90] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:51.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=90] [2025/04/05 06:58:51.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=90] ["take time"=8.914292ms] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.772 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:156, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.779 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 156, Old Table Name: t)"] [2025/04/05 06:58:51.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.035723ms] [gotSchemaVersion=91] [phyTblIDs="[156]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:51.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=91] [2025/04/05 06:58:51.797 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=7.974218ms] [job="ID:158, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.806 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=158] [tableIDs="[156]"] [comment="drop table: table ID"] [2025/04/05 06:58:51.811 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop table"] [2025/04/05 06:58:51.812 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:156, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.66 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.830 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 06:58:51.831 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:51.843 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:51.843 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 06:58:51.849 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.853 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 159, Table Name: t)"] [2025/04/05 06:58:51.868 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.477189ms] [gotSchemaVersion=92] [phyTblIDs="[159]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:51.871 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=92] [2025/04/05 06:58:51.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=92] ["take time"=8.42024ms] [job="ID:160, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=2] [job="ID:160, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.895 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/05 06:58:51.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=92] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:51.902 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.952 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:51.970 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 06:58:51.985 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:51.985 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 06:58:52.088 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:52.089 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:52.090 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 06:58:52.098 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.102 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:52.102 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:52.102 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=89.722µs] [2025/04/05 06:58:52.102 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=283.563µs] [] [2025/04/05 06:58:52.102 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:52.102 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 06:58:52.137 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 06:58:52.158 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:58:52.158 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.166 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.167 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:52.167 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.167 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.167 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.167 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.167 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.167 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.168 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.168 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.181 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:52.183 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:52.183 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:52.183 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:52.183 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:52.183 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=348.5GiB] [2025/04/05 06:58:52.191 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [2025/04/05 06:58:52.191 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [2025/04/05 06:58:52.194 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 06:58:52.196 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:52.200 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:52.201 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/05 06:58:52.201 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=159] [2025/04/05 06:58:52.220 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 06:58:52.270 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=2.csv:0] [2025/04/05 06:58:52.273 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=2.csv:0] [readDur=1.424112ms] [encodeDur=263.438µs] [checksum="{cksum=13585057687600554216,size=68,kvs=2}"] [deliverDur=78.599µs] [type=file] [takeTime=2.284747ms] [] [2025/04/05 06:58:52.274 +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/c1480196-9bd7-455b-b5ac-4a597f59bd15.sst] [firstKey=74800000000000009F5F728000000000000006] [lastKey=74800000000000009F5F728000000000000007] [2025/04/05 06:58:52.311 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=159] [key=1.csv:0] [2025/04/05 06:58:52.313 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=159] [key=1.csv:0] [readDur=1.378779ms] [encodeDur=243.054µs] [checksum="{cksum=8870261354621979222,size=68,kvs=2}"] [deliverDur=24.572µs] [type=file] [takeTime=1.917983ms] [] [2025/04/05 06:58:52.313 +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/270ac683-dda7-4fdd-931f-586183b425fe.sst] [firstKey=74800000000000009F5F728000000000000004] [lastKey=74800000000000009F5F728000000000000005] [2025/04/05 06:58:52.314 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:52.314 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:52.314 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:52.317 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=3.442091ms] [] [2025/04/05 06:58:52.318 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 06:58:52.323 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:52.344 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=136] [2025/04/05 06:58:52.345 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:52.348 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009f5f728000000000000004] [endOfAllRanges=74800000000000009f5f728000000000000008] [startKeyOfFirstRegion=7480000000000000ff9f5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ff9f5f728000000000ff0000080000000000fa] [2025/04/05 06:58:52.361 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 06:58:52.362 +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=44.64996ms] [] [2025/04/05 06:58:52.362 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:52.364 +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.290508ms] [] [2025/04/05 06:58:52.364 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:58:52.364 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:52.365 +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.471093ms] [] [2025/04/05 06:58:52.365 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:52.369 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:52.369 +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.693005ms] [] [2025/04/05 06:58:52.369 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:52.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=884.465µs] [] [2025/04/05 06:58:52.370 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=5] [takeTime=179.397694ms] [] [2025/04/05 06:58:52.370 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=import] [takeTime=179.569227ms] [] [2025/04/05 06:58:52.393 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:52.394 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:52.395 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:52.395 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:52.424 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:52.425 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:52.425 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 06:58:52.456 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:52.462 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:58:52.465 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.465 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.465 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.465 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.465 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.465 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.465 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.465 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.465 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.465 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.465 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.465 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.467 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:52.467 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.467 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.467 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.467 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=284.326242ms] [] [2025/04/05 06:58:52.468 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:52.476 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=post-process] [2025/04/05 06:58:52.476 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:52.476 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:52.476 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [2025/04/05 06:58:52.476 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.159µs] [] [2025/04/05 06:58:52.476 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [groupId=-1] [size=136] [kvs=4] [checksum=14384125892341312190] [2025/04/05 06:58:52.476 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:52.476 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [weight=30] [2025/04/05 06:58:52.476 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [concurrency=15] [2025/04/05 06:58:52.478 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=159] [physicalTableID=159] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 06:58:52.479 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:52.479 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:52.479 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=2.885899ms] [] [2025/04/05 06:58:52.479 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=6] [takeTime=3.025142ms] [] [2025/04/05 06:58:52.479 +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=3.191054ms] [] [2025/04/05 06:58:52.488 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:52.493 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:52.494 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 06:58:52.496 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 06:58:52.524 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=55.899615ms] [] [2025/04/05 06:58:52.524 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 06:58:52.587 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.690337717\n# Parse_time: 0.000077312\n# Compile_time: 0.000378975\n# Rewrite_time: 0.000099134\n# Optimize_time: 0.000336149\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS42bXMsIG9wZW46NTgxbnMsIGNsb3NlOjcwMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS42bXMsIG9wZW46NTgxbnMsIGNsb3NlOjcwMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `write_after_import`.`t` FROM 'gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 06:58:52.587 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:52.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136231562608649] [2025/04/05 06:58:52.593 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:52.593 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] --- PASS: TestImportInto/TestWriteAfterImportFromFile/case-4 (0.90s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/05 06:58:52.609 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:52.609 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:52.613 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:52.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.632 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.949091ms] [gotSchemaVersion=93] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.635 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=93] [2025/04/05 06:58:52.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=93] ["take time"=8.976245ms] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.646 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.798632ms] [gotSchemaVersion=94] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=94] [2025/04/05 06:58:52.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=94] ["take time"=8.675897ms] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:159, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.680 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 159, Old Table Name: t)"] [2025/04/05 06:58:52.693 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=943.857µs] [gotSchemaVersion=95] [phyTblIDs="[159]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=95] [2025/04/05 06:58:52.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=95] ["take time"=7.791668ms] [job="ID:161, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.707 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=161] [tableIDs="[159]"] [comment="drop table: table ID"] [2025/04/05 06:58:52.712 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=161] [jobType="drop table"] [2025/04/05 06:58:52.713 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:159, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.730 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 06:58:52.731 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:52.743 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:52.743 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/05 06:58:52.749 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.753 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 162, Table Name: t)"] [2025/04/05 06:58:52.767 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.54767ms] [gotSchemaVersion=96] [phyTblIDs="[162]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:52.770 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=96] [2025/04/05 06:58:52.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=96] ["take time"=8.01051ms] [job="ID:163, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.782 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=2] [job="ID:163, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.71 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.793 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 06:58:52.793 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=96] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/05 06:58:52.799 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.846 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:52.864 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 06:58:52.878 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:52.878 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 06:58:52.981 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:52.982 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:52.983 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 06:58:52.990 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.993 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:52.993 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:52.993 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=74.086µs] [2025/04/05 06:58:52.993 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=172.977µs] [] [2025/04/05 06:58:52.993 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:52.993 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 06:58:53.027 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 06:58:53.047 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:58:53.047 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.055 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:53.055 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:53.056 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:53.056 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:53.056 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:53.056 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:53.056 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:53.056 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:53.056 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:53.057 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:53.069 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:53.070 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:53.070 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:53.071 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=315.1MiB] [per-index-buf-limit=105MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:53.071 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=348.5GiB] [2025/04/05 06:58:53.071 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:53.078 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [2025/04/05 06:58:53.078 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [2025/04/05 06:58:53.082 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:53.085 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:53.085 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/05 06:58:53.085 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=162] [2025/04/05 06:58:53.086 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 06:58:53.106 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 06:58:53.120 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=1.csv:0] [2025/04/05 06:58:53.122 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=1.csv:0] [readDur=838.592µs] [encodeDur=179.466µs] [checksum="{cksum=1363779544899807388,size=76,kvs=2}"] [deliverDur=272.316µs] [type=file] [takeTime=1.532498ms] [] [2025/04/05 06:58:53.123 +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/172e7f00-d010-4642-9857-b1f5631a8552.sst] [firstKey=7480000000000000A25F728000000000000001] [lastKey=7480000000000000A25F728000000000000002] [2025/04/05 06:58:53.152 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=162] [key=2.csv:0] [2025/04/05 06:58:53.154 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=162] [key=2.csv:0] [readDur=882.962µs] [encodeDur=233.438µs] [checksum="{cksum=10862406597896790237,size=76,kvs=2}"] [deliverDur=234.8µs] [type=file] [takeTime=1.55253ms] [] [2025/04/05 06:58:53.154 +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/655c03bd-afa8-45f2-bbae-708314916601.sst] [firstKey=7480000000000000A25F72800000000000000A] [lastKey=7480000000000000A25F72800000000000000B] [2025/04/05 06:58:53.154 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:53.154 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:53.155 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:53.156 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [takeTime=1.76296ms] [] [2025/04/05 06:58:53.156 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 06:58:53.161 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:53.182 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:53.183 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:53.185 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a25f728000000000000001] [endOfAllRanges=7480000000000000a25f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa25f728000000000ff00000c0000000000fa] [2025/04/05 06:58:53.195 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:53.196 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [takeTime=40.045623ms] [] [2025/04/05 06:58:53.197 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:53.198 +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.030393ms] [] [2025/04/05 06:58:53.198 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:58:53.198 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:53.199 +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.317803ms] [] [2025/04/05 06:58:53.199 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:53.203 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:53.203 +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.536026ms] [] [2025/04/05 06:58:53.203 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:53.204 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=803.798µs] [] [2025/04/05 06:58:53.204 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=7] [takeTime=125.779283ms] [] [2025/04/05 06:58:53.204 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=import] [takeTime=125.974926ms] [] [2025/04/05 06:58:53.284 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:53.286 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:53.287 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:53.287 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:53.317 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:53.319 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:53.319 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 06:58:53.349 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:53.355 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:58:53.357 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:53.357 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:53.358 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:53.358 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:53.358 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:53.358 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:53.358 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:53.358 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:53.358 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:53.358 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:53.358 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:53.358 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:53.360 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:53.360 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:53.360 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:53.360 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:53.360 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=289.305425ms] [] [2025/04/05 06:58:53.361 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:53.368 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=post-process] [2025/04/05 06:58:53.368 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:53.369 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:53.369 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [2025/04/05 06:58:53.374 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=5.337489ms] [] [2025/04/05 06:58:53.374 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 06:58:53.374 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [checksum="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/05 06:58:53.374 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [weight=30] [2025/04/05 06:58:53.374 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [concurrency=15] [2025/04/05 06:58:53.378 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=162] [physicalTableID=162] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:53.378 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:53.378 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [local="{cksum=9534713575869581377,size=152,kvs=4}"] [2025/04/05 06:58:53.378 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=9.827564ms] [] [2025/04/05 06:58:53.378 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=8] [takeTime=9.967262ms] [] [2025/04/05 06:58:53.378 +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=10.093144ms] [] [2025/04/05 06:58:53.389 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:53.486 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:53.486 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 06:58:53.488 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 06:58:53.519 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=157.649919ms] [] [2025/04/05 06:58:53.519 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 06:58:53.580 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:53.587 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:53.587 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:53.608 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:53.781 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.987107936\n# Parse_time: 0.000068278\n# Compile_time: 0.000381656\n# Rewrite_time: 0.000083027\n# Optimize_time: 0.000210149\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni40bXMsIG9wZW46NTUybnMsIGNsb3NlOjcxMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni40bXMsIG9wZW46NTUybnMsIGNsb3NlOjcxMW5zLCBsb29wczoycP////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.20s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 06:58:53.806 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.806 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:53.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.79892ms] [gotSchemaVersion=97] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:53.831 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=97] [2025/04/05 06:58:53.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=97] ["take time"=8.984586ms] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.843 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.858 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.962477ms] [gotSchemaVersion=98] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:53.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=98] [2025/04/05 06:58:53.863 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=98] ["take time"=8.819775ms] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:162, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.882 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 162, Old Table Name: t)"] [2025/04/05 06:58:53.895 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.146634ms] [gotSchemaVersion=99] [phyTblIDs="[162]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:53.898 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=99] [2025/04/05 06:58:53.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=99] ["take time"=8.41443ms] [job="ID:164, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.910 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=164] [tableIDs="[162]"] [comment="drop table: table ID"] [2025/04/05 06:58:53.914 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=164] [jobType="drop table"] [2025/04/05 06:58:53.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=2] [job="ID:164, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/05 06:58:53.935 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:53.948 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.948 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 06:58:53.954 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:queueing, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.959 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 165, Table Name: t)"] [2025/04/05 06:58:53.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.706715ms] [gotSchemaVersion=100] [phyTblIDs="[165]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:53.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=100] [2025/04/05 06:58:53.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=100] ["take time"=8.525302ms] [job="ID:166, Type:create table, State:done, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.990 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=166] [conn=2] [job="ID:166, Type:create table, State:synced, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.91 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.002 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/05 06:58:54.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=100] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:54.008 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.060 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://write_after_import/*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:58:54.079 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=36B] [thread-cnt=26] [global-sort=false] [2025/04/05 06:58:54.094 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:54.095 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=26] [2025/04/05 06:58:54.197 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:54.199 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:54.200 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 06:58:54.208 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.211 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:54.211 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=36] [2025/04/05 06:58:54.211 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=36] [cost=92.766µs] [2025/04/05 06:58:54.211 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=234.171µs] [] [2025/04/05 06:58:54.211 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:54.211 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=26] [subtasks=1] [2025/04/05 06:58:54.248 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=26] [remaining-slots=26] [2025/04/05 06:58:54.268 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:58:54.269 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.277 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:54.277 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:54.277 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:54.278 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:54.278 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:54.278 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:54.278 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:54.278 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:54.279 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:54.279 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:54.292 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:54.294 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:54.294 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:54.294 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=236.3MiB] [per-index-buf-limit=78.77MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:54.294 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=348.5GiB] [2025/04/05 06:58:54.294 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:54.302 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [2025/04/05 06:58:54.302 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [2025/04/05 06:58:54.305 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 06:58:54.306 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:54.310 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:54.310 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/05 06:58:54.310 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=165] [2025/04/05 06:58:54.324 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 06:58:54.351 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=1.csv:0] [2025/04/05 06:58:54.354 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=1.csv:0] [readDur=1.027378ms] [encodeDur=362.978µs] [checksum="{cksum=3543191561364936534,size=148,kvs=4}"] [deliverDur=456.524µs] [type=file] [takeTime=2.694345ms] [] [2025/04/05 06:58:54.355 +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/cdc2cd01-0ff1-4945-a9cd-c5f891dab8bc.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A55F728000000000000002] [2025/04/05 06:58:54.394 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=165] [key=2.csv:0] [2025/04/05 06:58:54.395 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=165] [key=2.csv:0] [readDur=860.739µs] [encodeDur=141.373µs] [checksum="{cksum=4755199630144978764,size=148,kvs=4}"] [deliverDur=267.305µs] [type=file] [takeTime=1.527989ms] [] [2025/04/05 06:58:54.397 +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/f2b1d814-7f1e-4f1f-acb7-3d20f705ae2b.sst] [firstKey=7480000000000000A55F72800000000000000A] [lastKey=7480000000000000A55F72800000000000000B] [2025/04/05 06:58:54.397 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:54.397 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:54.397 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:54.399 +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.051596ms] [] [2025/04/05 06:58:54.399 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [retryCnt=0] [2025/04/05 06:58:54.403 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:54.425 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:54.426 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:54.428 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f728000000000000001] [endOfAllRanges=7480000000000000a55f72800000000000000c] [startKeyOfFirstRegion=7480000000000000ffa55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffa55f728000000000ff00000c0000000000fa] [2025/04/05 06:58:54.440 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:54.442 +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.645773ms] [] [2025/04/05 06:58:54.442 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:0] [engineUUID=d51bddd3-9a7e-5e70-ad5a-ce1dc4af00b5] [2025/04/05 06:58:54.443 +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.180795ms] [] [2025/04/05 06:58:54.443 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:58:54.443 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:54.444 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.177146ms] [file=/tmp/tidb/import-4000/5/630083e6-fc50-5cd2-8645-c17b147197ce.sst/ecf8db17-da7d-430f-ba49-3a638ec078be.sst] [2025/04/05 06:58:54.444 +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/ecf8db17-da7d-430f-ba49-3a638ec078be.sst] [firstKey=7480000000000000A55F698000000000000001038000000000000004] [lastKey=7480000000000000A55F698000000000000001038000000000000007] [2025/04/05 06:58:54.447 +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.539313ms] [] [2025/04/05 06:58:54.447 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:54.451 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:54.473 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 06:58:54.473 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:54.475 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a55f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000a55f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffa55f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 06:58:54.486 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 06:58:54.488 +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.386664ms] [] [2025/04/05 06:58:54.488 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:54.489 +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.023178ms] [] [2025/04/05 06:58:54.489 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=9] [takeTime=187.524418ms] [] [2025/04/05 06:58:54.490 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=import] [takeTime=187.70467ms] [] [2025/04/05 06:58:54.503 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:54.505 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:54.507 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:54.507 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:54.537 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:58:54.539 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:54.539 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=26] [subtasks=1] [2025/04/05 06:58:54.576 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:54.583 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:58:54.587 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:54.587 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:54.587 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:54.587 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:54.587 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:54.587 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:54.587 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:54.587 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:54.587 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:54.587 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:54.587 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:54.587 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:54.589 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:54.589 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:54.589 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:54.589 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:54.589 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=295.20895ms] [] [2025/04/05 06:58:54.590 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [2025/04/05 06:58:54.598 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=post-process] [2025/04/05 06:58:54.598 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:54.598 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:54.598 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [2025/04/05 06:58:54.605 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=7.105105ms] [] [2025/04/05 06:58:54.605 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=-1] [size=152] [kvs=4] [checksum=9534713575869581377] [2025/04/05 06:58:54.605 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [groupId=1] [size=144] [kvs=4] [checksum=17619267392293085275] [2025/04/05 06:58:54.605 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [checksum="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 06:58:54.606 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [weight=30] [2025/04/05 06:58:54.606 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [concurrency=15] [2025/04/05 06:58:54.612 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=-1] [checksum=9534713575869581377] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:54.613 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=165] [physicalTableID=165] [indexID=1] [checksum=17619267392293085275] [totalKvs=4] [totalBytes=144] [2025/04/05 06:58:54.613 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:54.613 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [local="{cksum=8130735849710921754,size=296,kvs=8}"] [2025/04/05 06:58:54.613 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=15.069802ms] [] [2025/04/05 06:58:54.613 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=10] [takeTime=15.247162ms] [] [2025/04/05 06:58:54.613 +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.386336ms] [] [2025/04/05 06:58:54.625 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:54.703 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:54.704 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 06:58:54.706 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 06:58:54.736 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=26, Mem=16GiB]"] [takeTime=145.315749ms] [] [2025/04/05 06:58:54.736 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:58:54.797 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:54.804 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:54.804 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:54.827 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:54.996 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993974644\n# Parse_time: 0.000098053\n# Compile_time: 0.000384778\n# Rewrite_time: 0.000080285\n# Optimize_time: 0.000241983\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My4xbXMsIG9wZW46NjA2bnMsIGNsb3NlOjU5N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My4xbXMsIG9wZW46NjA2bnMsIGNsb3NlOjU5N25zLCBsb29wczoycP////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.21s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile === RUN TestImportInto/TestWriteAfterImportFromFile/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromFile/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromFile [2025/04/05 06:58:55.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:55.029 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:queueing, SchemaState:public, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.047 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.217713ms] [gotSchemaVersion=101] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.051 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=101] [2025/04/05 06:58:55.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=101] ["take time"=10.174566ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.063 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=2.125854ms] [gotSchemaVersion=102] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=102] [2025/04/05 06:58:55.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=102] ["take time"=9.040629ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.093 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:151, TableID:165, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.100 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 165, Old Table Name: t)"] [2025/04/05 06:58:55.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.157535ms] [gotSchemaVersion=103] [phyTblIDs="[165]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.118 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=103] [2025/04/05 06:58:55.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=103] ["take time"=8.004894ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.130 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=167] [tableIDs="[165]"] [comment="drop table: table ID"] [2025/04/05 06:58:55.134 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/05 06:58:55.135 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=2] [job="ID:167, Type:drop table, State:synced, SchemaState:none, SchemaID:151, TableID:165, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.01 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 06:58:55.154 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] --- PASS: TestImportInto/TestWriteAfterImportFromFile (5.63s) === NAME TestImportInto === RUN TestImportInto/TestWriteAfterImportFromSelect [2025/04/05 06:58:55.167 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.167 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists from_select"] [2025/04/05 06:58:55.172 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:queueing, SchemaState:public, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=210.938µs] [gotSchemaVersion=104] [phyTblIDs="[143,149]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.191 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=104] [2025/04/05 06:58:55.192 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=104] ["take time"=6.898056ms] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:write only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=162.813µs] [gotSchemaVersion=105] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.218 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=105] [2025/04/05 06:58:55.219 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=6.973081ms] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.227 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:running, SchemaState:delete only, SchemaID:141, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.233 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:58:55.243 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=132.134µs] [gotSchemaVersion=106] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.247 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=106] [2025/04/05 06:58:55.248 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=6.732014ms] [job="ID:168, Type:drop schema, State:done, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.257 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=168] [tableIDs="[143,149]"] [comment="drop schema: table IDs"] [2025/04/05 06:58:55.262 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=168] [jobType="drop schema"] [2025/04/05 06:58:55.263 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=2] [job="ID:168, Type:drop schema, State:synced, SchemaState:none, SchemaID:141, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.16 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.279 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/05 06:58:55.279 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=write_after_import] [sql="drop database if exists from_select"] [user=] [2025/04/05 06:58:55.290 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.290 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database from_select"] [2025/04/05 06:58:55.295 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:queueing, SchemaState:none, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=738.734µs] [gotSchemaVersion=107] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:55.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=107] [2025/04/05 06:58:55.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=107] ["take time"=10.823898ms] [job="ID:170, Type:create schema, State:done, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.327 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:create schema, State:synced, SchemaState:public, SchemaID:169, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.26 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 06:58:55.336 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=write_after_import] [sql="create database from_select"] [user=] [2025/04/05 06:58:55.349 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.349 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dt(id int, v varchar(64))"] [2025/04/05 06:58:55.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:queueing, SchemaState:none, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.359 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: dt)"] [2025/04/05 06:58:55.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.547387ms] [gotSchemaVersion=108] [phyTblIDs="[171]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:55.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=172] [version=108] [2025/04/05 06:58:55.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=108] ["take time"=8.347588ms] [job="ID:172, Type:create table, State:done, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.389 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=172] [conn=2] [job="ID:172, Type:create table, State:synced, SchemaState:public, SchemaID:169, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.309 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.400 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=172] [2025/04/05 06:58:55.400 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=108] [cur_db=from_select] [sql="create table dt(id int, v varchar(64))"] [user=] [2025/04/05 06:58:55.417 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists write_after_import"] [2025/04/05 06:58:55.417 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:queueing, SchemaState:public, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.434 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=165.969µs] [gotSchemaVersion=109] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.438 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=109] [2025/04/05 06:58:55.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=109] ["take time"=6.815027ms] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.449 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:write only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.461 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=137.193µs] [gotSchemaVersion=110] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=110] [2025/04/05 06:58:55.465 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=6.656541ms] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.474 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:running, SchemaState:delete only, SchemaID:151, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=114.528µs] [gotSchemaVersion=111] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:55.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=111] [2025/04/05 06:58:55.492 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=111] ["take time"=6.645692ms] [job="ID:173, Type:drop schema, State:done, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.501 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="drop schema"] [2025/04/05 06:58:55.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=173] [conn=2] [job="ID:173, Type:drop schema, State:synced, SchemaState:none, SchemaID:151, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.41 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.517 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/05 06:58:55.518 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=from_select] [sql="drop database if exists write_after_import"] [user=] [2025/04/05 06:58:55.529 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.529 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database write_after_import"] [2025/04/05 06:58:55.534 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:queueing, SchemaState:none, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.547 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=735.698µs] [gotSchemaVersion=112] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:55.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=112] [2025/04/05 06:58:55.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=112] ["take time"=7.555865ms] [job="ID:175, Type:create schema, State:done, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.563 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=2] [job="ID:175, Type:create schema, State:synced, SchemaState:public, SchemaID:174, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.51 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.572 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/05 06:58:55.573 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=from_select] [sql="create database write_after_import"] [user=] === RUN TestImportInto/TestWriteAfterImportFromSelect/case-0 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 06:58:55.575 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=112] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:55.587 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.587 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 06:58:55.593 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.598 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 176, Table Name: t)"] [2025/04/05 06:58:55.612 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.468067ms] [gotSchemaVersion=113] [phyTblIDs="[176]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:55.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=113] [2025/04/05 06:58:55.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=113] ["take time"=9.160316ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.630 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.56 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.641 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/05 06:58:55.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=113] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:55.684 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=176] [2025/04/05 06:58:55.691 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:55.691 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:55.691 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:55.691 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:55.691 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:55.691 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:55.691 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:55.692 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:55.692 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:55.692 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:55.703 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:55.705 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:55.705 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:55.709 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:55.712 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:55.745 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [key=import-from-select] [2025/04/05 06:58:55.746 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [key=import-from-select] [readDur=22.997µs] [encodeDur=562.739µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=31.452µs] [type=query] [takeTime=1.007464ms] [] [2025/04/05 06:58:55.747 +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/be39f4f2-64b1-4ead-902e-ad21692edc90/102b1544-1a0b-5f02-9523-0f5011224f00.sst/b24ce0b2-c01a-425a-9bbc-5c136c7ea716.sst] [firstKey=7480000000000000B05F728000000000000004] [lastKey=7480000000000000B05F728000000000000007] [2025/04/05 06:58:55.752 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [key=import-from-select] [2025/04/05 06:58:55.752 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=88.899µs] [] [2025/04/05 06:58:55.752 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:55.753 +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.285545ms] [] [2025/04/05 06:58:55.753 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 06:58:55.758 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:55.780 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/05 06:58:55.780 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:55.782 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b05f728000000000000004] [endOfAllRanges=7480000000000000b05f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff0000080000000000fa] [2025/04/05 06:58:55.792 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 06:58:55.794 +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.728593ms] [] [2025/04/05 06:58:55.794 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:55.795 +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.36695ms] [] [2025/04/05 06:58:55.796 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:55.800 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:55.800 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=4.208454ms] [] [2025/04/05 06:58:55.800 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/05 06:58:55.800 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [2025/04/05 06:58:55.806 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [takeTime=5.831385ms] [] [2025/04/05 06:58:55.806 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:55.806 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [weight=30] [2025/04/05 06:58:55.806 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [concurrency=15] [2025/04/05 06:58:55.808 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=176] [physicalTableID=176] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 06:58:55.808 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:55.808 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:55.808 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=be39f4f2-64b1-4ead-902e-ad21692edc90] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=8.530982ms] [] [2025/04/05 06:58:55.809 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:55.809 +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=9.282µs] [] [2025/04/05 06:58:55.809 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:55.810 +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.072788ms] [] [2025/04/05 06:58:55.810 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:55.810 +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.304µs] [] [2025/04/05 06:58:55.810 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:55.811 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=977.96µs] [] [2025/04/05 06:58:55.814 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:55.814 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:55.814 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:55.814 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:55.814 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:55.814 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:55.814 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:55.814 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.814 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.814 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.814 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.814 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:55.816 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:55.816 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.816 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.817 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.26s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-1 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-2 current case CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 06:58:55.841 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.841 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:55.846 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.861 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.883449ms] [gotSchemaVersion=114] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.865 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=114] [2025/04/05 06:58:55.866 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=8.812219ms] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.98791ms] [gotSchemaVersion=115] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=115] [2025/04/05 06:58:55.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=115] ["take time"=8.773496ms] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.905 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:176, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.911 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 176, Old Table Name: t)"] [2025/04/05 06:58:55.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=971.258µs] [gotSchemaVersion=116] [phyTblIDs="[176]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=116] [2025/04/05 06:58:55.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=116] ["take time"=7.436133ms] [job="ID:178, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.939 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=178] [tableIDs="[176]"] [comment="drop table: table ID"] [2025/04/05 06:58:55.943 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=178] [jobType="drop table"] [2025/04/05 06:58:55.944 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=2] [job="ID:178, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:176, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.809 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.963 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/05 06:58:55.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=116] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:55.975 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 06:58:55.981 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.985 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 179, Table Name: t)"] [2025/04/05 06:58:56.000 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.648329ms] [gotSchemaVersion=117] [phyTblIDs="[179]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:56.003 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=117] [2025/04/05 06:58:56.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=117] ["take time"=8.387905ms] [job="ID:180, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.016 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=2] [job="ID:180, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.028 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 06:58:56.028 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=117] [cur_db=write_after_import] [sql="CREATE TABLE t (id int AUTO_INCREMENT PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:56.074 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=179] [2025/04/05 06:58:56.081 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:56.081 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:56.081 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:56.081 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:56.082 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:56.082 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:56.082 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:56.082 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:56.082 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:56.082 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:56.094 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:56.096 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:56.096 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:56.099 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.103 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.116 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [key=import-from-select] [2025/04/05 06:58:56.117 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [key=import-from-select] [readDur=23.862µs] [encodeDur=395.879µs] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [deliverDur=511.918µs] [type=query] [takeTime=1.250758ms] [] [2025/04/05 06:58:56.118 +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/35dfb855-50cf-4fa7-ab1f-a8217b8dd44a/102b1544-1a0b-5f02-9523-0f5011224f00.sst/ad6e8a20-e3cc-4746-8ef2-4d433ff36c75.sst] [firstKey=7480000000000000B35F728000000000000001] [lastKey=7480000000000000B35F728000000000000004] [2025/04/05 06:58:56.121 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [key=import-from-select] [2025/04/05 06:58:56.121 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=100.636µs] [] [2025/04/05 06:58:56.121 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.122 +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.361058ms] [] [2025/04/05 06:58:56.122 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 06:58:56.127 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.148 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:56.148 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.150 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f728000000000000001] [endOfAllRanges=7480000000000000b35f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb35f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb35f728000000000ff0000050000000000fa] [2025/04/05 06:58:56.160 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:56.161 +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=38.788964ms] [] [2025/04/05 06:58:56.161 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.161 +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/35dfb855-50cf-4fa7-ab1f-a8217b8dd44a/630083e6-fc50-5cd2-8645-c17b147197ce.sst/0bcb3a48-f051-4992-bf9d-f693d65585f8.sst] [firstKey=7480000000000000B35F698000000000000001038000000000000004] [lastKey=7480000000000000B35F698000000000000001038000000000000007] [2025/04/05 06:58:56.164 +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.320027ms] [] [2025/04/05 06:58:56.164 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:56.168 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.189 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 06:58:56.190 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.191 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b35f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000b35f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffb35f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 06:58:56.201 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 06:58:56.202 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=38.658947ms] [] [2025/04/05 06:58:56.203 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/05 06:58:56.203 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [2025/04/05 06:58:56.208 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [takeTime=5.486218ms] [] [2025/04/05 06:58:56.208 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 06:58:56.208 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [weight=30] [2025/04/05 06:58:56.208 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [concurrency=15] [2025/04/05 06:58:56.215 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:56.215 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=179] [physicalTableID=179] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/05 06:58:56.216 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:56.216 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 06:58:56.216 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=35dfb855-50cf-4fa7-ab1f-a8217b8dd44a] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=13.10072ms] [] [2025/04/05 06:58:56.216 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.216 +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=9.042µs] [] [2025/04/05 06:58:56.216 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.217 +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.075691ms] [] [2025/04/05 06:58:56.217 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.217 +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.476µs] [] [2025/04/05 06:58:56.217 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.218 +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.049037ms] [] [2025/04/05 06:58:56.223 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:56.223 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:56.223 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:56.223 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:56.223 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:56.223 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:56.223 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:56.223 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.223 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.223 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:56.223 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:56.223 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:56.225 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:56.225 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.225 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.225 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.41s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-3 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-4 current case CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64)) [2025/04/05 06:58:56.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.250 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:56.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.272 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=2.101479ms] [gotSchemaVersion=118] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.276 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=118] [2025/04/05 06:58:56.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=118] ["take time"=9.510924ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.250125ms] [gotSchemaVersion=119] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=119] [2025/04/05 06:58:56.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=119] ["take time"=9.570294ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.319 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:179, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.325 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 179, Old Table Name: t)"] [2025/04/05 06:58:56.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.076966ms] [gotSchemaVersion=120] [phyTblIDs="[179]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=120] [2025/04/05 06:58:56.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=120] ["take time"=7.620224ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.353 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[179]"] [comment="drop table: table ID"] [2025/04/05 06:58:56.357 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/05 06:58:56.358 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.209 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.375 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 06:58:56.376 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=120] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:56.388 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.388 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [2025/04/05 06:58:56.393 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.398 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t)"] [2025/04/05 06:58:56.413 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.779364ms] [gotSchemaVersion=121] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:56.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=121] [2025/04/05 06:58:56.418 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=9.150032ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.429 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.36 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 06:58:56.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=121] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY CLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:56.480 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=182] [2025/04/05 06:58:56.486 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:56.486 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:56.487 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:56.487 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:56.487 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:56.487 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:56.487 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:56.487 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:56.488 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:56.488 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:56.499 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:56.500 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:56.500 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:56.504 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.507 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.549 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [key=import-from-select] [2025/04/05 06:58:56.550 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [key=import-from-select] [readDur=31.309µs] [encodeDur=293.225µs] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [deliverDur=195.445µs] [type=query] [takeTime=849.94µs] [] [2025/04/05 06:58:56.551 +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/9f33d1dc-4504-409c-ac73-b0e38f11acd3/102b1544-1a0b-5f02-9523-0f5011224f00.sst/d9668b31-21bf-40d9-8e7f-0fafaccad854.sst] [firstKey=7480000000000000B65F728000000000000004] [lastKey=7480000000000000B65F728000000000000007] [2025/04/05 06:58:56.560 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [key=import-from-select] [2025/04/05 06:58:56.560 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=91.076µs] [] [2025/04/05 06:58:56.560 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.561 +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.468503ms] [] [2025/04/05 06:58:56.561 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 06:58:56.566 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.588 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=136] [2025/04/05 06:58:56.588 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.590 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000004] [endOfAllRanges=7480000000000000b65f728000000000000008] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000080000000000fa] [2025/04/05 06:58:56.599 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=136] [kvs=4] [importedSize=136] [importedCount=4] [2025/04/05 06:58:56.601 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=39.481979ms] [] [2025/04/05 06:58:56.601 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.602 +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.401029ms] [] [2025/04/05 06:58:56.603 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:56.606 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.606 +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.477561ms] [] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [takeTime=2.031µs] [] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [checksum="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [weight=30] [2025/04/05 06:58:56.606 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [concurrency=15] [2025/04/05 06:58:56.608 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=14384125892341312190] [totalKvs=4] [totalBytes=136] [2025/04/05 06:58:56.609 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:56.609 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [local="{cksum=14384125892341312190,size=136,kvs=4}"] [2025/04/05 06:58:56.609 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=9f33d1dc-4504-409c-ac73-b0e38f11acd3] [checksum="{\"id=-1\"=\"{cksum=14384125892341312190,size=136,kvs=4}\"}"] [takeTime=2.577849ms] [] [2025/04/05 06:58:56.609 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.609 +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=9.57µs] [] [2025/04/05 06:58:56.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.610 +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.060383ms] [] [2025/04/05 06:58:56.610 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.610 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=5.438µs] [] [2025/04/05 06:58:56.610 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.611 +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.000696ms] [] [2025/04/05 06:58:56.614 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:56.614 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:56.614 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:56.614 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:56.614 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:56.614 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:56.614 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:56.614 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:56.617 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:56.617 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.617 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.617 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:56.622 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136232624029701] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.39s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-5 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-6 current case CREATE TABLE t (id int, v varchar(64)) [2025/04/05 06:58:56.638 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:56.638 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.643 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.837613ms] [gotSchemaVersion=122] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=122] [2025/04/05 06:58:56.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=122] ["take time"=8.845314ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.673 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=1.90265ms] [gotSchemaVersion=123] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=123] [2025/04/05 06:58: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=123] ["take time"=8.93658ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.707 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 182, Old Table Name: t)"] [2025/04/05 06:58:56.720 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.046837ms] [gotSchemaVersion=124] [phyTblIDs="[182]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.723 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=124] [2025/04/05 06:58:56.725 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=124] ["take time"=7.720237ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.734 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=184] [tableIDs="[182]"] [comment="drop table: table ID"] [2025/04/05 06:58:56.738 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/05 06:58:56.739 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=2] [job="ID:184, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.609 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.756 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/05 06:58:56.756 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:56.768 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int, v varchar(64))"] [2025/04/05 06:58:56.768 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.773 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.778 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/05 06:58:56.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.508614ms] [gotSchemaVersion=125] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:56.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=125] [2025/04/05 06:58:56.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.099882ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=2] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.76 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/05 06:58:56.819 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=write_after_import] [sql="CREATE TABLE t (id int, v varchar(64))"] [user=] [2025/04/05 06:58:56.865 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=185] [2025/04/05 06:58:56.872 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:56.872 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:56.872 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:56.872 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:56.872 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:56.873 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:56.873 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:56.873 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:56.873 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:56.873 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:56.884 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:56.885 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:56.886 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:56.889 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.892 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.911 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [key=import-from-select] [2025/04/05 06:58:56.912 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [key=import-from-select] [readDur=60.867µs] [encodeDur=451.467µs] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [deliverDur=245.761µs] [type=query] [takeTime=1.038938ms] [] [2025/04/05 06:58:56.912 +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/4f2b661b-3c3a-4844-b1d3-029d125a5614/102b1544-1a0b-5f02-9523-0f5011224f00.sst/46503cb4-bac7-45d3-85ec-2a5999e1c2ab.sst] [firstKey=7480000000000000B95F728000000000000001] [lastKey=7480000000000000B95F728000000000000004] [2025/04/05 06:58:56.926 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [key=import-from-select] [2025/04/05 06:58:56.927 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=91.385µs] [] [2025/04/05 06:58:56.927 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.928 +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.466013ms] [] [2025/04/05 06:58:56.928 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 06:58:56.932 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.954 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:56.954 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.955 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b95f728000000000000001] [endOfAllRanges=7480000000000000b95f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffb95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb95f728000000000ff0000050000000000fa] [2025/04/05 06:58:56.965 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:56.968 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [takeTime=39.561328ms] [] [2025/04/05 06:58:56.968 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.969 +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.430336ms] [] [2025/04/05 06:58:56.969 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:56.973 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.973 +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.533521ms] [] [2025/04/05 06:58:56.973 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [2025/04/05 06:58:56.973 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [2025/04/05 06:58:56.978 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [takeTime=5.07343ms] [] [2025/04/05 06:58:56.978 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [checksum="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 06:58:56.978 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [weight=30] [2025/04/05 06:58:56.978 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [concurrency=15] [2025/04/05 06:58:56.980 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=185] [physicalTableID=185] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:56.981 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:56.981 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [local="{cksum=4613872053217128256,size=152,kvs=4}"] [2025/04/05 06:58:56.981 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=4f2b661b-3c3a-4844-b1d3-029d125a5614] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\"}"] [takeTime=7.783655ms] [] [2025/04/05 06:58:56.981 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.981 +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=9.24µs] [] [2025/04/05 06:58:56.981 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:56.982 +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.015313ms] [] [2025/04/05 06:58:56.982 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.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=7.638µs] [] [2025/04/05 06:58:56.982 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:56.983 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=946.88µs] [] [2025/04/05 06:58:56.986 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:56.986 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:56.986 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:56.986 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:56.986 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:56.986 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:56.986 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:56.986 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.986 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.986 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:56.986 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:56.986 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:56.988 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:56.988 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:56.988 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:56.989 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.37s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-7 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-8 current case CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64)) [2025/04/05 06:58:57.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:57.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:57.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.033 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.871029ms] [gotSchemaVersion=126] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.036 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=126] [2025/04/05 06:58:57.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=126] ["take time"=8.546043ms] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.047 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.055 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.055 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 06:58:57.055 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:58:57.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.791753ms] [gotSchemaVersion=127] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.066 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=127] [2025/04/05 06:58:57.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=127] ["take time"=8.899654ms] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.076 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.082 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 185, Old Table Name: t)"] [2025/04/05 06:58:57.095 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.20736ms] [gotSchemaVersion=128] [phyTblIDs="[185]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.099 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/05 06:58:57.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=128] ["take time"=8.551477ms] [job="ID:187, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.109 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=187] [tableIDs="[185]"] [comment="drop table: table ID"] [2025/04/05 06:58:57.119 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="drop table"] [2025/04/05 06:58:57.194 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.959 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 06:58:57.217 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] [2025/04/05 06:58:57.231 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [2025/04/05 06:58:57.231 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:57.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.242 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/05 06:58:57.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.782049ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:57.262 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/05 06:58:57.264 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=129] ["take time"=9.749012ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.275 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.21 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.286 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/05 06:58:57.287 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=write_after_import] [sql="CREATE TABLE t (id int PRIMARY KEY NONCLUSTERED, v varchar(64))"] [user=] [2025/04/05 06:58:57.341 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [concurrency=2] [target-table=`write_after_import`.`t`] [target-table-id=188] [2025/04/05 06:58:57.348 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:57.348 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719509928623311] [2025/04/05 06:58:57.349 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:57.349 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:57.349 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:57.349 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:57.349 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:57.349 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:57.350 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:57.350 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:57.362 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:57.364 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:57.364 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:57.368 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:57.372 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:57.409 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [key=import-from-select] [2025/04/05 06:58:57.409 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [key=import-from-select] [2025/04/05 06:58:57.410 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [key=import-from-select] [readDur=11.482µs] [encodeDur=273.731µs] [checksum="{cksum=6449405684553850847,size=148,kvs=4}"] [deliverDur=312.115µs] [type=query] [takeTime=1.025581ms] [] [2025/04/05 06:58:57.411 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [key=import-from-select] [readDur=142.477µs] [encodeDur=240.181µs] [checksum="{cksum=7086383122729873068,size=148,kvs=4}"] [deliverDur=1.291595ms] [type=query] [takeTime=1.94474ms] [] [2025/04/05 06:58:57.412 +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/b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8/102b1544-1a0b-5f02-9523-0f5011224f00.sst/7171fbea-c688-453e-b320-7b5fb36f5f0d.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000003] [2025/04/05 06:58:57.412 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:57.413 +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/b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8/102b1544-1a0b-5f02-9523-0f5011224f00.sst/048918eb-913e-48d3-a27c-27e2dbcfe36f.sst] [firstKey=7480000000000000BC5F728000000000000002] [lastKey=7480000000000000BC5F728000000000000004] [2025/04/05 06:58:57.416 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [takeTime=3.334365ms] [] [2025/04/05 06:58:57.416 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [retryCnt=0] [2025/04/05 06:58:57.421 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:57.443 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] ["region ranges"=1] [count=4] [size=152] [2025/04/05 06:58:57.443 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:57.445 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000005] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000050000000000fa] [2025/04/05 06:58:57.456 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=102b1544-1a0b-5f02-9523-0f5011224f00] [size=152] [kvs=4] [importedSize=152] [importedCount=4] [2025/04/05 06:58:57.457 +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.11764ms] [] [2025/04/05 06:58:57.457 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:57.458 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=144] [count=4] [cost=1.033147ms] [file=/tmp/tidb/import-4000/b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8/630083e6-fc50-5cd2-8645-c17b147197ce.sst/f4501e21-2ca8-4a28-b3af-2b678a0d6896.sst] [2025/04/05 06:58:57.458 +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/b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8/630083e6-fc50-5cd2-8645-c17b147197ce.sst/f4501e21-2ca8-4a28-b3af-2b678a0d6896.sst] [firstKey=7480000000000000BC5F698000000000000001038000000000000004] [lastKey=7480000000000000BC5F698000000000000001038000000000000007] [2025/04/05 06:58:57.461 +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.479598ms] [] [2025/04/05 06:58:57.461 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [2025/04/05 06:58:57.465 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:57.487 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] ["region ranges"=1] [count=4] [size=144] [2025/04/05 06:58:57.487 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:57.488 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f698000000000000001038000000000000004] [endOfAllRanges=7480000000000000bc5f69800000000000000103800000000000000700] [startKeyOfFirstRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000400000000fb] [endKeyOfLastRegion=7480000000000000ffbc5f698000000000ff0000010380000000ff0000000700000000fc] [2025/04/05 06:58:57.499 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=630083e6-fc50-5cd2-8645-c17b147197ce] [size=144] [kvs=4] [importedSize=144] [importedCount=4] [2025/04/05 06:58:57.501 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [retryCnt=0] [takeTime=39.705631ms] [] [2025/04/05 06:58:57.501 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [2025/04/05 06:58:57.501 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [2025/04/05 06:58:57.506 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [takeTime=5.434145ms] [] [2025/04/05 06:58:57.506 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [checksum="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 06:58:57.506 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [weight=30] [2025/04/05 06:58:57.506 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [concurrency=15] [2025/04/05 06:58:57.513 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=4613872053217128256] [totalKvs=4] [totalBytes=152] [2025/04/05 06:58:57.514 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=1] [checksum=8921845837811637811] [totalKvs=4] [totalBytes=144] [2025/04/05 06:58:57.514 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:57.514 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [local="{cksum=4311923599730848115,size=296,kvs=8}"] [2025/04/05 06:58:57.514 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=t] [import-id=b297a496-4cfe-4cf8-a3a4-62bb9f9ffbc8] [checksum="{\"id=-1\"=\"{cksum=4613872053217128256,size=152,kvs=4}\",\"id=1\"=\"{cksum=8921845837811637811,size=144,kvs=4}\"}"] [takeTime=13.717132ms] [] [2025/04/05 06:58:57.515 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:57.515 +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.777µs] [] [2025/04/05 06:58:57.515 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:1] [engineUUID=102b1544-1a0b-5f02-9523-0f5011224f00] [2025/04/05 06:58:57.516 +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.205377ms] [] [2025/04/05 06:58:57.516 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:57.516 +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.064µs] [] [2025/04/05 06:58:57.516 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [2025/04/05 06:58:57.517 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`write_after_import`.`t`:-1] [engineUUID=630083e6-fc50-5cd2-8645-c17b147197ce] [takeTime=993.167µs] [] [2025/04/05 06:58:57.522 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:57.522 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:57.522 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:57.522 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:57.522 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:57.522 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.522 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:57.522 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:57.522 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:57.522 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.522 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:57.522 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:57.524 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:57.524 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.524 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.524 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] --- PASS: TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.54s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-9 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect === RUN TestImportInto/TestWriteAfterImportFromSelect/case-10 write_after_import_test.go:217: auto_id_cache=1 test is not supported in real-tikv-test now --- SKIP: TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.00s) === NAME TestImportInto/TestWriteAfterImportFromSelect [2025/04/05 06:58:57.549 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:57.549 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:58:57.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:queueing, SchemaState:public, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.572 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.228132ms] [gotSchemaVersion=130] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=130] [2025/04/05 06:58:57.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=130] ["take time"=9.334036ms] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:write only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=2.181449ms] [gotSchemaVersion=131] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=131] [2025/04/05 06:58:57.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=131] ["take time"=9.489121ms] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.617 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:running, SchemaState:delete only, SchemaID:174, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.624 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 188, Old Table Name: t)"] [2025/04/05 06:58:57.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.090256ms] [gotSchemaVersion=132] [phyTblIDs="[188]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=132] [2025/04/05 06:58:57.645 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=8.192259ms] [job="ID:190, Type:drop table, State:done, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.655 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=190] [tableIDs="[188]"] [comment="drop table: table ID"] [2025/04/05 06:58:57.660 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="drop table"] [2025/04/05 06:58:57.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=190] [conn=2] [job="ID:190, Type:drop table, State:synced, SchemaState:none, SchemaID:174, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.509 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.679 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/05 06:58:57.679 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=132] [cur_db=write_after_import] [sql="drop table if exists t;"] [user=] --- PASS: TestImportInto/TestWriteAfterImportFromSelect (2.52s) === NAME TestImportInto [2025/04/05 06:58:57.681 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:57.681 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [] [2025/04/05 06:58:57.681 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:57.681 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.682 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:57.682 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=78.437µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=71.49µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=69.459µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=56.838µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=68.043µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=55.947µs] [2025/04/05 06:58:57.682 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=53.774µs] [2025/04/05 06:58:57.683 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=39.125µs] [2025/04/05 06:58:57.683 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=32.541µs] [2025/04/05 06:58:57.683 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=26.475µs] [2025/04/05 06:58:57.683 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.683 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.684 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:57.684 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:57.708 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] ["take time"=27.32964ms] [2025/04/05 06:58:57.709 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.709 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:57.709 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/093c7d45-3acb-4034-b723-ce3df790ebfc] [watcherID=7795859d-2b31-4af6-bb5f-64f34e4dbaeb] [2025/04/05 06:58:57.709 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:57.709 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/093c7d45-3acb-4034-b723-ce3df790ebfc] [2025/04/05 06:58:57.709 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ttl-worker=task-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [originalCount=4] [newCount=0] [2025/04/05 06:58:57.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.709 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.709 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [ttl-worker=task-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [originalCount=4] [newCount=0] [2025/04/05 06:58:57.712 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.715 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.715 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:57.716 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=963] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:57.717 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:57.718 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [2025/04/05 06:58:57.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:57.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:57.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:57.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:57.717 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:57.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:57.717 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:57.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:57.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.718 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.718 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.718 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:57.718 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:57.719 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:57.719 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=04cfe0cd-a495-4941-a763-8bd37c152425] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.719 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:57.719 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:57.719 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:57.719 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [] [2025/04/05 06:58:57.719 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.719 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:57.719 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:57.719 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.720 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:57.719 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:57.720 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [2025/04/05 06:58:57.720 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:57.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:57.720 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 06:58:57.720 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:57.722 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 06:58:57.723 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20160](1) context canceled"] [errorVerbose="[127.0.0.1:20160](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 06:58:57.723 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:57.723 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:57.723 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:57.743 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:57.743 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:57.784 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=db0ec170-05dd-49d5-a903-d4f969b41bc5] [error="context canceled"] [2025/04/05 06:58:57.784 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:57.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:57.798 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=116.572023ms] [2025/04/05 06:58:57.801 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:57.801 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:57.801 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:57.801 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:57.801 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:57.801 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:57.801 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:57.801 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.801 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.801 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:57.801 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:57.801 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:57.803 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (17.59s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest2:importintotest2_test up-to-date: bazel-bin/tests/realtikvtest/importintotest2/importintotest2_test_/importintotest2_test INFO: Elapsed time: 67.434s, Critical Path: 48.95s 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 21.3s PASSED importintotest2_test.TestImportInto (17.6s) PASSED importintotest2_test.TestImportInto/TestCastNegativeToUnsigned (0.4s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectBasic (1.6s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectColumnList (0.9s) PASSED importintotest2_test.TestImportInto/TestImportFromSelectStaleRead (1.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile (5.6s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-0 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-2 (1.2s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-4 (0.9s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromFile/case-6 (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 (2.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-0 (0.3s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-1 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-10 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-2 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-3 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-4 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-5 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-6 (0.4s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-7 (0.0s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-8 (0.5s) PASSED importintotest2_test.TestImportInto/TestWriteAfterImportFromSelect/case-9 (0.0s) Test cases: finished with 29 passing and 0 failing out of 29 test cases Executed 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,642 / 4,643] 1 / 1 tests; Testing //tests/realtikvtest/importintotest4:importintotest4_test; 23s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest4:importintotest4_test: ==================== Test output for //tests/realtikvtest/importintotest4:importintotest4_test: === RUN TestImportInto [2025/04/05 06:58:40.833 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:40.834 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:40.834 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:40.835 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:40.835 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:40.836 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:40.836 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:40.836 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:40.836 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:40.836 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:40.836 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:40.841 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:40.848 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.849 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.850 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:40.873 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.873 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.878 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.878 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.889 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.911 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719522272135484] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:40.932 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:40.973 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1014] ["lease id"=22319604bcfdb1ea] [2025/04/05 06:58:40.975 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:40.981 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest4/main_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest4/importintotest4_test.TestImportInto\n\ttests/realtikvtest/importintotest4/main_test.go:49\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:41.085 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=104.012208ms] [2025/04/05 06:58:41.085 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:41.087 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:41.087 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:41.087 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:41.089 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:41.090 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:41.090 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 287856418816/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:41.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:41.090 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:41.091 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:41.091 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.091 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [2025/04/05 06:58:41.093 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfdb1ef] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:41.093 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:41.093 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [ownerKey=/tidb/ddl/fg/owner/22319604bcfdb1ef] [currRev=94] [2025/04/05 06:58:41.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:41.094 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.094 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:41.095 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfdb257] [ownerID=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [op=none] [2025/04/05 06:58:41.095 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [2025/04/05 06:58:41.095 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [ownerKey=/tidb/br-stream/owner/6f189604bcfdb257] [currRev=95] [2025/04/05 06:58:41.095 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfdb1ef] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:41.095 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:41.095 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:41.098 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:41.113 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:41.113 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.119 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.259 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.392552ms] [2025/04/05 06:58:41.259 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:41.265 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:41.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=1] ["take time"=135.50339ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.281 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.297 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:41.297 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:41.299 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:41.303 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Europe/Berlin] [2025/04/05 06:58:41.329 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.329 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.338 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.393406ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.396 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58: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=2] ["take time"=14.658769ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.418 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.450 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:41.450 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.464 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.464 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:41.470 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.490 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.139223ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.493 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.493 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:41.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=3] ["take time"=9.11692ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.506 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.518 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:41.519 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:41.533 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:41.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.557 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.015256ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.560 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.560 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:41.562 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=8.837689ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.573 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.586 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:41.586 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:41.607 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.463936ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.656 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:41.658 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=11.473342ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.672 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.693 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:41.693 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.709 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.709 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.715 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.738 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.777086ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.741 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:41.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=6] ["take time"=9.520039ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.754 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.769 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:41.769 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.784 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.784 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:41.790 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.479931ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.816 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:41.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=7] ["take time"=8.99003ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.828 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.842 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:58:41.843 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:41.855 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:58:41.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.714048ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.881 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:58:41.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=8] ["take time"=8.272298ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.892 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.904 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:58:41.904 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:58:41.916 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.916 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:58:41.922 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.771328ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.942 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:58:41.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=9] ["take time"=8.004587ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.953 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.965 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:58:41.965 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:58:41.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:58:41.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.109526ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.008 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:58:42.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=10] ["take time"=8.550005ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:58:42.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:58:42.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:58:42.056 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.075 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.265744ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.078 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.078 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:58:42.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=11] ["take time"=8.817575ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.091 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.092 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:42.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:58:42.104 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:58:42.106 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:42.120 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.120 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.126 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.182089ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.156 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:58: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=12] ["take time"=10.119409ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.170 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.187 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:58:42.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:42.202 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.202 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:58:42.208 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.231 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.652261ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.234 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:58:42.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=13] ["take time"=9.367275ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.248 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.263 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:58:42.263 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:58:42.277 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.277 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:42.282 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.302 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.151512ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.306 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.306 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:58:42.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=14] ["take time"=8.714946ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:58:42.332 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:42.349 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.349 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:42.356 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.376 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.152731ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.379 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.379 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:58:42.381 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=15] ["take time"=8.987372ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.392 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.405 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:58:42.405 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:42.418 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.418 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.050948ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.445 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:58:42.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=16] ["take time"=8.594368ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.457 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.469 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:58:42.469 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:42.483 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.483 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:58:42.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.508 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.112869ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.511 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.511 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:58:42.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=17] ["take time"=8.444228ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.523 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.536 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:58:42.536 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:58:42.550 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.550 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:58:42.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.078756ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.577 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.577 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:58:42.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=18] ["take time"=8.289706ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.589 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.602 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:58:42.602 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:58:42.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:42.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.211304ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.654 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:58: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=19] ["take time"=9.812472ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.668 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:58:42.684 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:42.705 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.705 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.152205ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.733 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.733 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:58:42.735 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=20] ["take time"=8.424605ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.746 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.759 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:58:42.759 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:42.772 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.772 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:58:42.777 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.691109ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.798 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.798 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:58:42.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=21] ["take time"=8.896266ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.809 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.821 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:58:42.821 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:58:42.833 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.833 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:58:42.838 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.842 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:42.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.557517ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.856 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:58:42.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=22] ["take time"=8.156576ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.868 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.878 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:58:42.878 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:58:42.893 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.893 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:58:42.899 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.558356ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.923 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:58:42.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=23] ["take time"=8.761111ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.936 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.951 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:58:42.951 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:58:42.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:42.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.023338ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.992 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:58:42.993 +00:00] [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.751023ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.004 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:58:43.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:43.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-05 06:58:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.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-05 06:58:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:58:43.037 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.111973ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.059 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:58: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=25] ["take time"=8.425074ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.072 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:58:43.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:58:43.090 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:43.091 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:58:43.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.104 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:58:43.109 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.127 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.743804ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.130 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.130 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:58:43.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=26] ["take time"=8.249106ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.142 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:58:43.154 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:58:43.167 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.167 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:58:43.172 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.988874ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.195 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:58:43.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=27] ["take time"=8.760188ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.207 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:58:43.219 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:43.232 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.232 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:58:43.237 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.813332ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.258 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:58:43.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=28] ["take time"=8.493562ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.270 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.215 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:58:43.282 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:58:43.284 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:43.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:58:43.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.275268ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.324 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:58:43.326 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.537831ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.336 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.350 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:58:43.350 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:43.364 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.364 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:43.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.288579ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.393 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.393 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:58:43.395 +00:00] [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.800832ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.406 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:58:43.419 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:43.433 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.433 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:43.439 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.459 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.432084ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.462 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.463 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:58:43.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=31] ["take time"=8.785343ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.475 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.489 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:58:43.489 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:43.508 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.507 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:58:43.514 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.457281ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.545 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.545 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:58:43.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=32] ["take time"=9.929227ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:58:43.577 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:58:43.589 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.589 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:58:43.594 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.610 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.691455ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.614 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.614 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:58:43.615 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=33] ["take time"=8.458615ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.625 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:58:43.637 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:58:43.655 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.655 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:58:43.661 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.683 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.283768ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:43.686 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:58:43.688 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=9.236153ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.699 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:58:43.728 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.728 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:58:43.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.258072ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.758 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:58:43.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=35] ["take time"=8.797199ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.771 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.785 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:58:43.785 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:58:43.799 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.799 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:58:43.805 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.900588ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.832 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:58:43.833 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.906361ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.843 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.856 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:58:43.856 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:58:43.869 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.869 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:58:43.874 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.774076ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.895 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:58:43.897 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.131336ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.906 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.918 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:58:43.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:58:43.935 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:58:43.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.969 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.501441ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:43.972 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:43.972 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:58:43.974 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=9.955973ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.986 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.004 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:58:44.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:58:44.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:58:44.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.051 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.263564ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.054 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.054 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:58:44.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=39] ["take time"=9.781254ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.084 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:58:44.084 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:58:44.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:58:44.108 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.137 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.657972ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.141 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:58:44.143 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.699768ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.156 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.173 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:58:44.173 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:58:44.191 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.191 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:44.197 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.227 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.614145ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.230 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.230 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:58:44.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=41] ["take time"=9.791737ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.245 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.263 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:58:44.263 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:44.281 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.281 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:44.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.319 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.753415ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.322 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.322 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:58:44.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=42] ["take time"=10.207694ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.337 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:58:44.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:44.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-05 06:58:44.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.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-05 06:58:44.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:58:44.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.404 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.535752ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.408 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.408 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:58:44.410 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=43] ["take time"=10.278766ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.422 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.439 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:58:44.439 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:58:44.455 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.455 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:44.461 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.484 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.945714ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.487 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.487 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:58:44.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=44] ["take time"=9.235248ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.500 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.415 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:58:44.516 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:44.532 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.532 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:44.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.562 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.885741ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.566 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.566 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:58:44.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=45] ["take time"=9.742673ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.579 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:58:44.595 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:44.614 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.614 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:58:44.621 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.659 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.05082ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.663 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:58:44.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=46] ["take time"=11.859093ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.680 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.700 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:58:44.701 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:58:44.718 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:44.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.749 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.858461ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.753 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.753 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:58:44.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=47] ["take time"=9.554862ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.767 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.783 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:58:44.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:44.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-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.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-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:58:44.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.825 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.982448ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.828 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:58:44.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=48] ["take time"=8.626679ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.852 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:58:44.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/05 06:58:44.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-05 06:58:44.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:58:44.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-05 06:58:44.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.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-05 06:58:44.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.05527ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.893 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:58:44.894 +00:00] [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.277277ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.904 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.917 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:58:44.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:58:44.919 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:44.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:58:44.937 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.956 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.118892ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:44.959 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:44.959 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:58:44.961 +00:00] [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.33997ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.971 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.984 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:58:44.984 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:58:44.994 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.994 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:58:44.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.010 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=557.5µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:45.013 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:45.014 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:58:45.015 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=6.825227ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.024 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:58:45.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:58:45.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:58:45.051 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.840928ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:45.071 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:45.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:58:45.073 +00:00] [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"=7.988999ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.082 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.093 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:58:45.098 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:45.098 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:45.098 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:45.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:45.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:58:45.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.09561ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.145 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:45.145 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:58:45.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=53] ["take time"=9.486933ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.159 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.175 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:58:45.175 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:58:45.188 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.188 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:58:45.194 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.173413ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.217 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:45.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:58:45.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=54] ["take time"=8.633382ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.165 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:58:45.243 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:58:45.257 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.257 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:58:45.262 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.282 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.357497ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.285 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:45.285 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:58:45.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=55] ["take time"=9.179313ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.298 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.311 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:58:45.312 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:58:45.454 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.359716323s] [2025/04/05 06:58:45.457 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:45.457 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:45.457 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.457 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:45.457 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=52.826µs] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=73.231µs] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.766µs] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=34.658µs] [2025/04/05 06:58:45.457 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=27.708µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=27.468µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=28.368µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=26.798µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=28.346µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=33.798µs] [2025/04/05 06:58:45.458 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.458 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.459 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:45.459 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:45.470 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] ["take time"=13.1665ms] [2025/04/05 06:58:45.470 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1014] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:45.471 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:45.471 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:45.471 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [2025/04/05 06:58:45.471 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [2025/04/05 06:58:45.471 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:45.471 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:45.472 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:45.472 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:45.472 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c236878d-b7e3-4cc8-afcb-5c89af1faba1] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:45.472 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:45.472 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:45.472 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:45.472 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:45.472 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:45.476 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.90835ms] [2025/04/05 06:58:45.477 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719522272135484] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:45.486 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:45.532 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=563] ["lease id"=22319604bcfdb25e] [2025/04/05 06:58:45.534 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:45.655 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=118.634774ms] [2025/04/05 06:58:45.655 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:45.666 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:45.666 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:45.668 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [lease=22319604bcfdb1ef] [2025/04/05 06:58:45.668 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:45.669 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 287856484352/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:45.669 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:45.669 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:45.669 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [2025/04/05 06:58:45.670 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfdb1ef] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:45.671 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.671 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [ownerKey=/tidb/ddl/fg/owner/22319604bcfdb1ef] [currRev=273] [2025/04/05 06:58:45.672 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:45.672 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=86024790-e5cc-4d5f-934e-fade0029abda] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:45.672 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:45.672 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfdb2c7] [ownerID=86024790-e5cc-4d5f-934e-fade0029abda] [op=none] [2025/04/05 06:58:45.672 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [2025/04/05 06:58:45.672 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [ownerKey=/tidb/br-stream/owner/6f189604bcfdb2c7] [currRev=274] [2025/04/05 06:58:45.673 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfdb1ef] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:45.673 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:45.673 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:45.680 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.680 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:45.681 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:45.682 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319604bcfdb266] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:45.682 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.682 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [ownerKey=/tidb/bindinfo/owner/22319604bcfdb266] [currRev=275] [2025/04/05 06:58:45.688 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:58:45.691 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:45.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:45.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:45.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:45.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:45.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:45.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:45.706 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:45.706 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:45.706 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:45.706 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:45.706 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:45.707 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:45.707 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:45.708 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:45.708 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:45.709 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:45.710 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfdb2cb] [ownerID=d2f56b0c-4acc-408d-bd32-34f39024e846] [op=none] [2025/04/05 06:58:45.710 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.710 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:58:45.711 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [ownerKey=/tidb/stats/owner/6f189604bcfdb2cb] [currRev=276] [2025/04/05 06:58:45.713 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6ad6fd57-1543-4ca6-b8f5-e07b6fe1f755] [2025/04/05 06:58:45.713 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [ttl-worker=task-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [originalCount=0] [newCount=4] [2025/04/05 06:58:45.713 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [ttl-worker=task-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [originalCount=0] [newCount=4] [2025/04/05 06:58:45.713 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:58:45.715 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:45.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:45.722 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:45.722 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836325723060938 [2025/04/05 06:58:45.724 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:45.731 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.600295ms] [2025/04/05 06:58:45.731 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:45.731 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:45.742 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836325743714363 [2025/04/05 06:58:45.768 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] === RUN TestImportInto/TestGlobalSortBasic [2025/04/05 06:58:45.771 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="drop database if exists gsort_basic"] [user=] [2025/04/05 06:58:45.782 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.783 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gsort_basic"] [2025/04/05 06:58:45.788 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.890 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=87.945458ms] [2025/04/05 06:58:45.890 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 06:58:45.890 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:45.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:58:45.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=56] ["take time"=95.121231ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.906 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.916 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:58:45.916 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="create database gsort_basic"] [user=] [2025/04/05 06:58:45.931 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.931 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [2025/04/05 06:58:45.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:45.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.941 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 06:58:45.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=2.003674ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 06:58:45.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"=8.57169ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:45.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.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-05 06:58:45.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 06:58:45.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=gsort_basic] [sql="create table t (a bigint primary key, b varchar(100), c varchar(100), d int,\n\t\tkey(a), key(c,d), key(d));"] [user=] [2025/04/05 06:58:46.047 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.048 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.064 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.096 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:46.123 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 06:58:46.676 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:46.676 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:46.676 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:46.676 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:46.713 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:46.713 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:46.713 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6ad6fd57-1543-4ca6-b8f5-e07b6fe1f755] [watcherID=3ada58c2-d167-4e32-be1d-40d7412e54c1] [2025/04/05 06:58:46.723 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:46.727 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:46.727 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:46.727 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:46.727 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:46.744 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:46.744 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:46.846 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 06:58:46.848 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:46.850 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [2025/04/05 06:58:46.859 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.860 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.862 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:46.862 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:46.862 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=77.751µs] [2025/04/05 06:58:46.862 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=210.997µs] [] [2025/04/05 06:58:46.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.863 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.872 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 06:58:46.872 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 06:58:46.916 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:46.937 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/05 06:58:46.937 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.938 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:46.939 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 06:58:46.946 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:46.946 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:46.946 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:46.946 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:46.946 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:46.946 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:46.946 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:46.947 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:46.947 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:46.947 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:46.959 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 06:58:46.961 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:46.963 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:46.963 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:46.963 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:46.963 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:46.971 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [2025/04/05 06:58:46.971 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0ec3898e-d82c-4faf-9516-a6d764aad507] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/72bbd70c-45b6-4a79-994e-815220935cc2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1e4ed45c-2053-428c-92bb-67a0e2fc8aa5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dfb31c46-eeaf-4374-bc1a-615fc2f529e8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5a5f7331-2527-4578-8878-b7561257c457] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/db9b9fd4-b572-4742-a2b2-52f5c0747ad1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/81a441ac-9d92-41ca-b765-a77b82001e01] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:46.973 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:58:46.976 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [2025/04/05 06:58:46.978 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.1.csv:0] [readDur=960.96µs] [encodeDur=307.156µs] [checksum="{cksum=5544494089301268680,size=556,kvs=12}"] [deliverDur=547.203µs] [type=file] [takeTime=2.177118ms] [] [2025/04/05 06:58:46.982 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.886212ms] [write-speed(bytes/s)=44.98KiB] [2025/04/05 06:58:46.982 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=5.946µs] [write-time=4.030024ms] [sort-speed(kv/s)=504540.8678] [writer-id=data/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [2025/04/05 06:58:46.982 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000001] [maxKey=7480000000000000725f728000000000000003] [2025/04/05 06:58:46.986 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=3.806488ms] [write-speed(bytes/s)=62.86KiB] [2025/04/05 06:58:46.986 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=4.01µs] [write-time=3.915941ms] [sort-speed(kv/s)=748129.6758] [writer-id=index/2/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [2025/04/05 06:58:46.986 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 06:58:47.006 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=19.135966ms] [write-speed(bytes/s)=8.267KiB] [2025/04/05 06:58:47.006 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.411µs] [write-time=19.256154ms] [sort-speed(kv/s)=879507.4758] [writer-id=index/3/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [2025/04/05 06:58:47.006 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000725f698000000000000003038000000000000315038000000000000003] [2025/04/05 06:58:47.016 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=9.767365ms] [write-speed(bytes/s)=16.2KiB] [2025/04/05 06:58:47.016 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.531µs] [write-time=9.905719ms] [sort-speed(kv/s)=1185302.2521] [writer-id=index/1/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [2025/04/05 06:58:47.016 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8f89c201-2c3d-4d28-9fde-eefa3bfe27b5] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000725f698000000000000001038000000000000003038000000000000003] [2025/04/05 06:58:47.016 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=0] [2025/04/05 06:58:47.019 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=1] [takeTime=48.319808ms] [] [2025/04/05 06:58:47.019 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=encode] [takeTime=48.501334ms] [] [2025/04/05 06:58:47.041 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [2025/04/05 06:58:47.041 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dbac242e-bebb-4dc1-8775-9091c18ea38a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/17488491-b9fb-45a6-a50d-b27f991aa503] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1f113f07-8f88-4aba-9010-0bd05358b279] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fb3b8a56-2d35-4234-a01d-469525fd6756] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2f26950b-5675-4bdc-ace2-f5e4e200cccb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/aabbbb3d-5a3a-409a-8145-eedbffec2667] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.044 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/142466f1-0c21-4442-a7cb-154cd46adc8c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:47.046 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [2025/04/05 06:58:47.088 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=114] [key=t.2.csv:0] [readDur=1.051514ms] [encodeDur=304.552µs] [checksum="{cksum=17440827801518230997,size=556,kvs=12}"] [deliverDur=39.52562ms] [type=file] [takeTime=41.146686ms] [] [2025/04/05 06:58:47.107 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=19.539368ms] [write-speed(bytes/s)=8.946KiB] [2025/04/05 06:58:47.107 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.827µs] [write-time=19.657821ms] [sort-speed(kv/s)=783903.8411] [writer-id=data/ffab71a8-736e-4cae-8671-02f2b48b5291] [2025/04/05 06:58:47.107 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ffab71a8-736e-4cae-8671-02f2b48b5291] [kv-cnt-cap=4] [minKey=7480000000000000725f728000000000000004] [maxKey=7480000000000000725f728000000000000006] [2025/04/05 06:58:47.128 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=20.172503ms] [write-speed(bytes/s)=7.843KiB] [2025/04/05 06:58:47.128 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.705µs] [write-time=20.295952ms] [sort-speed(kv/s)=809716.5992] [writer-id=index/3/ffab71a8-736e-4cae-8671-02f2b48b5291] [2025/04/05 06:58:47.128 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/ffab71a8-736e-4cae-8671-02f2b48b5291] [kv-cnt-cap=4] [minKey=7480000000000000725f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000003038000000000000143038000000000000006] [2025/04/05 06:58:47.132 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.8455ms] [write-speed(bytes/s)=41.14KiB] [2025/04/05 06:58:47.132 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.426µs] [write-time=3.965606ms] [sort-speed(kv/s)=875656.7426] [writer-id=index/1/ffab71a8-736e-4cae-8671-02f2b48b5291] [2025/04/05 06:58:47.132 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/ffab71a8-736e-4cae-8671-02f2b48b5291] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000725f698000000000000001038000000000000006038000000000000006] [2025/04/05 06:58:47.136 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=4.222781ms] [write-speed(bytes/s)=56.66KiB] [2025/04/05 06:58:47.137 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/ffab71a8-736e-4cae-8671-02f2b48b5291] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.573µs] [write-time=4.324229ms] [sort-speed(kv/s)=839630.5626] [writer-id=index/2/ffab71a8-736e-4cae-8671-02f2b48b5291] [2025/04/05 06:58:47.137 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/ffab71a8-736e-4cae-8671-02f2b48b5291] [kv-cnt-cap=4] [minKey=7480000000000000725f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000725f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 06:58:47.137 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=1] [step=encode] [engine-id=1] [2025/04/05 06:58:47.139 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=encode] [subtask-id=2] [takeTime=97.681376ms] [] [2025/04/05 06:58:47.139 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=encode] [takeTime=97.857966ms] [] [2025/04/05 06:58:47.151 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 06:58:47.153 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:47.155 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [2025/04/05 06:58:47.162 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.162 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.167 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=3] [2025/04/05 06:58:47.167 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=data] [2025/04/05 06:58:47.167 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=1] [2025/04/05 06:58:47.167 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=1] [kv-group=2] [2025/04/05 06:58:47.167 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.168 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.171 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 06:58:47.171 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 06:58:47.251 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:47.253 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:47.254 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:47.271 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.272 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.280 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.280 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:47.280 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=encode] [2025/04/05 06:58:47.280 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.281 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:47.281 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.281 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.281 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.281 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.281 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.281 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.281 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.281 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.282 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.282 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.282 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.282 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.282 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.282 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.282 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.282 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.283 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.283 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.283 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:47.284 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.284 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.284 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.284 +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=320.535528ms] [] [2025/04/05 06:58:47.284 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:58:47.286 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.286 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.286 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.286 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.286 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.286 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.287 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.287 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.287 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.287 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.287 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.287 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.288 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:47.288 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:47.292 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [dataFiles=2] [2025/04/05 06:58:47.292 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:47.294 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.295 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.295 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:47.296 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.296 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.296 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.296 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.296 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.296 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.297 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.297 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.300 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.300 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.300 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.300 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.301 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.300 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.301 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.301 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.301 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.301 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.301 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.301 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.302 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:47.302 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:47.305 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=2] [2025/04/05 06:58:47.305 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:47.307 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.308 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.309 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:47.309 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.309 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.309 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.309 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.309 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.310 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.310 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.310 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.314 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.314 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.314 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.314 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.314 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.314 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.314 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.314 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.314 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.314 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.314 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.314 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.315 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:47.315 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:47.318 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [dataFiles=2] [2025/04/05 06:58:47.318 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:47.321 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.321 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.322 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:47.322 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.322 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.322 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.322 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.323 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.323 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.323 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.323 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.327 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.327 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.327 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.327 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.327 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.327 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.327 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.327 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.327 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.327 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.327 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.327 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.328 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:47.328 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:47.332 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000725f728000000000000001] [endKey=7480000000000000725f72800000000000000600] [dataFiles=2] [2025/04/05 06:58:47.332 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:47.332 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.333 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.347 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 06:58:47.347 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 06:58:47.385 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:47.405 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.406 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.413 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.413 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:47.413 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.413 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.413 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.413 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.414 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.414 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.414 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.414 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.425 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:47.427 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:47.427 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:47.427 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:47.435 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [2025/04/05 06:58:47.436 +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/05 06:58:47.437 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.437 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:47.441 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000725F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:47.441 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.463 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=7d2e7e3b-6425-5eaa-bb47-b89a67a6610f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:47.463 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.463 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:47.464 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/05 06:58:47.464 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.426µs] [2025/04/05 06:58:47.464 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=977.78µs] [] [2025/04/05 06:58:47.464 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:47.464 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:47.464 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [2025/04/05 06:58:47.464 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:47.468 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.477982ms] [] [2025/04/05 06:58:47.468 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:47.494 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.495 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=31.266156ms] [] [2025/04/05 06:58:47.495 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:47.495 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=31.435744ms] [droppedSize=0] [2025/04/05 06:58:47.495 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=16.47µs] [2025/04/05 06:58:47.496 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/05 06:58:47.508 +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/05 06:58:47.509 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=3] [kv-group=1] [takeTime=72.84129ms] [] [2025/04/05 06:58:47.509 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=ingest] [takeTime=74.679046ms] [] [2025/04/05 06:58:47.532 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=ingest] [2025/04/05 06:58:47.534 +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/05 06:58:47.534 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.535 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:47.539 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000725F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:47.539 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.560 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=35a62bba-3aab-5322-b59b-c5bc8baf9c9d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:47.560 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.561 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:47.561 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF725F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/05 06:58:47.561 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.273µs] [2025/04/05 06:58:47.561 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=679.9µs] [] [2025/04/05 06:58:47.561 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:47.561 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:47.561 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/05 06:58:47.561 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:47.565 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.769175ms] [] [2025/04/05 06:58:47.565 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:47.570 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.570 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.025243ms] [] [2025/04/05 06:58:47.571 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:47.571 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.185686ms] [droppedSize=0] [2025/04/05 06:58:47.571 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.197µs] [2025/04/05 06:58:47.571 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/05 06:58:47.582 +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/05 06:58:47.583 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=4] [kv-group=2] [takeTime=49.358916ms] [] [2025/04/05 06:58:47.584 +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.478732ms] [] [2025/04/05 06:58:47.606 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [2025/04/05 06:58:47.608 +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/05 06:58:47.608 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.609 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:47.613 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000725F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/05 06:58:47.613 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.635 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8d2242cb-c9a7-5915-a93a-45927b24759d] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:47.635 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.635 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:47.636 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF725F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/05 06:58:47.636 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.794µs] [2025/04/05 06:58:47.636 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=669.928µs] [] [2025/04/05 06:58:47.636 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:47.636 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:47.636 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [2025/04/05 06:58:47.636 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:47.640 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.532773ms] [] [2025/04/05 06:58:47.640 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:47.644 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.644 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.470583ms] [] [2025/04/05 06:58:47.644 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:47.645 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.644023ms] [droppedSize=0] [2025/04/05 06:58:47.645 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=10.633µs] [2025/04/05 06:58:47.645 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000725f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff725f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/05 06:58:47.656 +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/05 06:58:47.658 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=5] [kv-group=3] [takeTime=49.620673ms] [] [2025/04/05 06:58:47.658 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=ingest] [takeTime=51.763896ms] [] [2025/04/05 06:58:47.669 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:47.681 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [2025/04/05 06:58:47.683 +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/05 06:58:47.683 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.684 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:47.687 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000725F728000000000000001] [endKey=7480000000000000725F72800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:47.688 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:47.709 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68c3c0d0-46c6-5523-9dfa-6206622dc2ff] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:47.710 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:47.710 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:47.710 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF725F728000000000FF0000010000000000FA] [end=7480000000000000FF725F728000000000FF0000060000000000FC] [2025/04/05 06:58:47.710 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.831µs] [2025/04/05 06:58:47.711 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=762.208µs] [] [2025/04/05 06:58:47.711 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:47.711 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:47.711 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=2] [stat-file-count=2] [start-key=7480000000000000725f728000000000000001] [end-key=7480000000000000725f72800000000000000600] [2025/04/05 06:58:47.711 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:47.715 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.723201ms] [] [2025/04/05 06:58:47.715 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:47.719 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:47.720 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=9.439874ms] [] [2025/04/05 06:58:47.720 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:47.720 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=9.629142ms] [droppedSize=0] [2025/04/05 06:58:47.720 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.481µs] [2025/04/05 06:58:47.721 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000725f728000000000000001] [endOfAllRanges=7480000000000000725f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff725f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 06:58:47.731 +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/05 06:58:47.733 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=ingest] [subtask-id=6] [kv-group=data] [takeTime=50.625547ms] [] [2025/04/05 06:58:47.733 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=ingest] [takeTime=52.413391ms] [] [2025/04/05 06:58:47.752 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 06:58:47.754 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:47.756 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [2025/04/05 06:58:47.778 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:58:47.780 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:47.780 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:47.819 +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/05 06:58:47.826 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=ingest] [2025/04/05 06:58:47.833 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.833 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.833 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.833 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.833 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.833 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.833 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.833 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.833 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.833 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.833 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.833 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.835 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:47.835 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.835 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.835 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.835 +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=407.654167ms] [] [2025/04/05 06:58:47.837 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:47.845 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/05 06:58:47.845 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 06:58:47.845 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 06:58:47.845 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [2025/04/05 06:58:47.845 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=2.468µs] [] [2025/04/05 06:58:47.845 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/05 06:58:47.845 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/05 06:58:47.845 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/05 06:58:47.845 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/05 06:58:47.845 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 06:58:47.846 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [weight=30] [2025/04/05 06:58:47.846 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/05 06:58:47.848 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/05 06:58:47.848 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/05 06:58:47.848 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/05 06:58:47.848 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=114] [physicalTableID=114] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/05 06:58:47.849 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:47.849 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 06:58:47.849 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=3.498539ms] [] [2025/04/05 06:58:47.849 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=1] [step=post-process] [subtask-id=7] [takeTime=3.690033ms] [] [2025/04/05 06:58:47.849 +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=3.830303ms] [] [2025/04/05 06:58:47.856 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:47.952 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:47.952 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=post-process] [state=running] [] [2025/04/05 06:58:47.956 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 06:58:47.971 +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=134.009145ms] [] [2025/04/05 06:58:47.971 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:58:48.047 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:48.053 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:48.053 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:48.055 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=1] [2025/04/05 06:58:48.055 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.056 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.108 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=1] [takeTime=53.481558ms] [] [2025/04/05 06:58:48.139 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:48.242 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.251791506\n# Parse_time: 0.000265541\n# Compile_time: 0.000479829\n# Rewrite_time: 0.000090782\n# Optimize_time: 0.000077448\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjIuMjVzLCBvcGVuOjEuMTXCtXMsIGNsb3NlOjgzN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjIuMjVzLCBvcGVuOjEuMTXCtXMsIGNsb3NlOjgzN25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse gsort_basic;\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb';"] [2025/04/05 06:58:48.271 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.271 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:58:48.276 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.285 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 116, Table Name: t, Old Table ID: 114, Old Table Name: t)"] [2025/04/05 06:58:48.303 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.971998ms] [gotSchemaVersion=58] [phyTblIDs="[114,116]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:48.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 06:58:48.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=58] ["take time"=8.911171ms] [job="ID:117, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.320 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[114]"] [comment="truncate table: table ID"] [2025/04/05 06:58:48.327 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="truncate table"] [2025/04/05 06:58:48.328 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.348 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 06:58:48.348 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/05 06:58:48.354 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.355 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.370 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.408 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__force_merge_step\":null,\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:48.430 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 06:58:48.445 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:48.445 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:48.547 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 06:58:48.549 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:48.551 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [2025/04/05 06:58:48.560 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.561 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.564 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:48.564 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:48.564 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=72.358µs] [2025/04/05 06:58:48.564 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=173.597µs] [] [2025/04/05 06:58:48.564 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.565 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.572 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 06:58:48.572 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 06:58:48.606 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:48.626 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/05 06:58:48.627 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.628 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.636 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:48.636 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:48.636 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:48.636 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:48.637 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:48.637 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:48.637 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:48.637 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:48.637 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:48.637 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:48.650 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:48.652 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:48.652 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:48.652 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:48.652 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:48.660 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 06:58:48.660 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [2025/04/05 06:58:48.660 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/86a48dfb-c928-44e6-866f-cbac8b9942d4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f51dcdd8-9f95-4016-9b26-07c52047c5b7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6dd08b1a-776c-481e-b4b4-a979a0dcec1f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8be6bcd3-0956-488b-b3cf-37974783b6e4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/47f8528e-cdfa-4c8a-bff3-88551cea593b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/11e42c60-4204-4b68-89e6-cf4277de54ee] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.663 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/85b40f98-48f9-42b1-baa9-cd611ddac609] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.665 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [2025/04/05 06:58:48.667 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.1.csv:0] [readDur=871.846µs] [encodeDur=345.365µs] [checksum="{cksum=3408228459156692313,size=556,kvs=12}"] [deliverDur=586.307µs] [type=file] [takeTime=2.240738ms] [] [2025/04/05 06:58:48.671 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=3.833195ms] [write-speed(bytes/s)=45.6KiB] [2025/04/05 06:58:48.671 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.156µs] [write-time=3.936534ms] [sort-speed(kv/s)=950570.3422] [writer-id=data/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [2025/04/05 06:58:48.671 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000001] [maxKey=7480000000000000745f728000000000000003] [2025/04/05 06:58:48.675 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.836777ms] [write-speed(bytes/s)=41.23KiB] [2025/04/05 06:58:48.675 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.907µs] [write-time=3.951955ms] [sort-speed(kv/s)=1031991.7441] [writer-id=index/3/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [2025/04/05 06:58:48.675 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000003038000000000000315038000000000000003] [2025/04/05 06:58:48.679 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=3.775698ms] [write-speed(bytes/s)=41.9KiB] [2025/04/05 06:58:48.679 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=2.887µs] [write-time=3.87794ms] [sort-speed(kv/s)=1039140.9768] [writer-id=index/1/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [2025/04/05 06:58:48.680 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000745f698000000000000001038000000000000003038000000000000003] [2025/04/05 06:58:48.684 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=4.058981ms] [write-speed(bytes/s)=58.95KiB] [2025/04/05 06:58:48.684 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.386µs] [write-time=4.167628ms] [sort-speed(kv/s)=886001.1813] [writer-id=index/2/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [2025/04/05 06:58:48.684 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/eb7efce5-9feb-40e9-90a1-13ddd43ed475] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000745f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 06:58:48.684 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=0] [2025/04/05 06:58:48.687 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=8] [takeTime=26.458952ms] [] [2025/04/05 06:58:48.687 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=encode] [takeTime=26.624774ms] [] [2025/04/05 06:58:48.709 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [2025/04/05 06:58:48.709 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0bdf7058-df9e-4c47-b1ca-26a4209015a6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=116] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d2d9701d-f05e-4a2e-8702-fca3ca0883cd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ddf62367-9e33-4187-98d7-63e818078af2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/63215277-d3c4-4ba2-9161-b4a66dc7c1f7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fa2cb733-8a85-4fbc-9dbe-e7c6387b0ca5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7278c8bb-5fb2-4ee4-a867-a7886459a3b5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0631d7af-e082-4c57-9ae1-65f1bd1002fb] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:48.712 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 06:58:48.712 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:58:48.714 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [2025/04/05 06:58:48.726 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=116] [key=t.2.csv:0] [readDur=965.218µs] [encodeDur=348.474µs] [checksum="{cksum=10500087816336640068,size=556,kvs=12}"] [deliverDur=10.781975ms] [type=file] [takeTime=12.488405ms] [] [2025/04/05 06:58:48.753 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=26.507533ms] [write-speed(bytes/s)=6.595KiB] [2025/04/05 06:58:48.753 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=5.494µs] [write-time=26.634242ms] [sort-speed(kv/s)=546050.2366] [writer-id=data/852e0fdf-dd41-45f2-9503-17f32feed980] [2025/04/05 06:58:48.753 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/852e0fdf-dd41-45f2-9503-17f32feed980] [kv-cnt-cap=4] [minKey=7480000000000000745f728000000000000004] [maxKey=7480000000000000745f728000000000000006] [2025/04/05 06:58:48.764 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=11.000395ms] [write-speed(bytes/s)=21.75KiB] [2025/04/05 06:58:48.764 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.119µs] [write-time=11.11448ms] [sort-speed(kv/s)=961846.7458] [writer-id=index/2/852e0fdf-dd41-45f2-9503-17f32feed980] [2025/04/05 06:58:48.764 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/852e0fdf-dd41-45f2-9503-17f32feed980] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 06:58:48.786 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=21.553968ms] [write-speed(bytes/s)=7.34KiB] [2025/04/05 06:58:48.786 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.212µs] [write-time=21.677642ms] [sort-speed(kv/s)=933997.5093] [writer-id=index/3/852e0fdf-dd41-45f2-9503-17f32feed980] [2025/04/05 06:58:48.786 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/852e0fdf-dd41-45f2-9503-17f32feed980] [kv-cnt-cap=4] [minKey=7480000000000000745f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000745f698000000000000003038000000000000143038000000000000006] [2025/04/05 06:58:48.806 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=19.998567ms] [write-speed(bytes/s)=7.911KiB] [2025/04/05 06:58:48.807 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/852e0fdf-dd41-45f2-9503-17f32feed980] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.631µs] [write-time=20.102857ms] [sort-speed(kv/s)=826218.6725] [writer-id=index/1/852e0fdf-dd41-45f2-9503-17f32feed980] [2025/04/05 06:58:48.807 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/852e0fdf-dd41-45f2-9503-17f32feed980] [kv-cnt-cap=4] [minKey=7480000000000000745f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000745f698000000000000001038000000000000006038000000000000006] [2025/04/05 06:58:48.807 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=encode] [engine-id=1] [2025/04/05 06:58:48.818 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=encode] [subtask-id=9] [takeTime=109.176603ms] [] [2025/04/05 06:58:48.818 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=encode] [takeTime=109.35583ms] [] [2025/04/05 06:58:48.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 06:58:48.853 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:48.855 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [2025/04/05 06:58:48.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.867 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.868 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.896 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=encode] [next-step=merge-sort] [subtask-count=4] [2025/04/05 06:58:48.896 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=4] [2025/04/05 06:58:48.941 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=encode] [2025/04/05 06:58:48.942 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:48.942 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:48.942 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:48.942 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:48.942 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:48.942 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:48.942 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.942 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:48.942 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.942 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:48.942 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.942 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:48.944 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:48.944 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:48.944 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:48.944 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:48.944 +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=292.270595ms] [] [2025/04/05 06:58:48.947 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:48.948 +00:00] [INFO] [task_executor.go:326] ["merge sort partSize"] [type=ImportInto] [task-id=2] [step=merge-sort] [data-kv=12.8MiB] [index-kv=5MiB] [2025/04/05 06:58:48.949 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=merge-sort] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:48.956 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=merge-sort] [2025/04/05 06:58:48.958 +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/05 06:58:48.958 +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/05 06:58:48.958 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=data] [subtask-id=10] [writer-id=f6cc38d0-28b7-46d9-8fe2-90631b629797] [file-count=2] [2025/04/05 06:58:48.961 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=data] [subtask-id=10] [data-file=2/10/f6cc38d0-28b7-46d9-8fe2-90631b629797/one-file] [stat-file=2/10/f6cc38d0-28b7-46d9-8fe2-90631b629797_stat/one-file] [2025/04/05 06:58:48.990 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=data] [subtask-id=10] [writerID=f6cc38d0-28b7-46d9-8fe2-90631b629797] [2025/04/05 06:58:48.990 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=data] [subtask-id=10] [writer-id=f6cc38d0-28b7-46d9-8fe2-90631b629797] [file-count=2] [takeTime=32.013906ms] [] [2025/04/05 06:58:48.990 +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/05 06:58:48.997 +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=38.891901ms] [] [2025/04/05 06:58:48.998 +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=41.422663ms] [] [2025/04/05 06:58:49.018 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=merge-sort] [2025/04/05 06:58:49.020 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [2025/04/05 06:58:49.020 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=3] [subtask-id=11] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 06:58:49.020 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=3] [subtask-id=11] [writer-id=3afe6a97-76e5-41c5-9666-dde72806e96f] [file-count=2] [2025/04/05 06:58:49.023 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=3] [subtask-id=11] [data-file=2/11/3afe6a97-76e5-41c5-9666-dde72806e96f/one-file] [stat-file=2/11/3afe6a97-76e5-41c5-9666-dde72806e96f_stat/one-file] [2025/04/05 06:58:49.051 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=3] [subtask-id=11] [writerID=3afe6a97-76e5-41c5-9666-dde72806e96f] [2025/04/05 06:58:49.051 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=3] [subtask-id=11] [writer-id=3afe6a97-76e5-41c5-9666-dde72806e96f] [file-count=2] [takeTime=31.301425ms] [] [2025/04/05 06:58:49.051 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [end-key=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [2025/04/05 06:58:49.061 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=11] [kv-group=3] [takeTime=41.758037ms] [] [2025/04/05 06:58:49.061 +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=43.285046ms] [] [2025/04/05 06:58:49.082 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=merge-sort] [2025/04/05 06:58:49.084 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=1] [2025/04/05 06:58:49.084 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=1] [subtask-id=12] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 06:58:49.084 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=1] [subtask-id=12] [writer-id=e1961c70-5952-4f16-9e01-50112198516f] [file-count=2] [2025/04/05 06:58:49.087 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=1] [subtask-id=12] [data-file=2/12/e1961c70-5952-4f16-9e01-50112198516f/one-file] [stat-file=2/12/e1961c70-5952-4f16-9e01-50112198516f_stat/one-file] [2025/04/05 06:58:49.115 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=1] [subtask-id=12] [writerID=e1961c70-5952-4f16-9e01-50112198516f] [2025/04/05 06:58:49.115 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=1] [subtask-id=12] [writer-id=e1961c70-5952-4f16-9e01-50112198516f] [file-count=2] [takeTime=30.67838ms] [] [2025/04/05 06:58:49.115 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=1] [total-kv-size=228] [total-kv-count=6] [start-key=7480000000000000745F698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [2025/04/05 06:58:49.125 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=12] [kv-group=1] [takeTime=41.019746ms] [] [2025/04/05 06:58:49.125 +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=42.488576ms] [] [2025/04/05 06:58:49.146 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [2025/04/05 06:58:49.148 +00:00] [INFO] [task_executor.go:346] ["run subtask start"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=2] [2025/04/05 06:58:49.148 +00:00] [INFO] [merge.go:59] ["start to merge overlapping files"] [kv-group=2] [subtask-id=13] [file-count=2] [file-groups=1] [concurrency=8] [part-size=6291456] [2025/04/05 06:58:49.148 +00:00] [INFO] [merge.go:143] ["merge overlapping files start"] [kv-group=2] [subtask-id=13] [writer-id=98f3213b-1052-41d6-987c-fe1c5d0e1e90] [file-count=2] [2025/04/05 06:58:49.151 +00:00] [INFO] [onefile_writer.go:88] ["one file writer"] [kv-group=2] [subtask-id=13] [data-file=2/13/98f3213b-1052-41d6-987c-fe1c5d0e1e90/one-file] [stat-file=2/13/98f3213b-1052-41d6-987c-fe1c5d0e1e90_stat/one-file] [2025/04/05 06:58:49.178 +00:00] [INFO] [onefile_writer.go:153] ["close one file writer"] [kv-group=2] [subtask-id=13] [writerID=98f3213b-1052-41d6-987c-fe1c5d0e1e90] [2025/04/05 06:58:49.179 +00:00] [INFO] [merge.go:148] ["merge overlapping files completed"] [kv-group=2] [subtask-id=13] [writer-id=98f3213b-1052-41d6-987c-fe1c5d0e1e90] [file-count=2] [takeTime=30.641926ms] [] [2025/04/05 06:58:49.179 +00:00] [INFO] [task_executor.go:375] ["merge sort finished"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=2] [total-kv-size=394] [total-kv-count=6] [start-key=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [end-key=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [2025/04/05 06:58:49.189 +00:00] [INFO] [task_executor.go:348] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=merge-sort] [subtask-id=13] [kv-group=2] [takeTime=40.93277ms] [] [2025/04/05 06:58:49.189 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=merge-sort] [takeTime=42.188754ms] [] [2025/04/05 06:58:49.251 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:49.253 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:49.255 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:49.272 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.272 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.285 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:49.285 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.286 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:49.287 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.287 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.287 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.287 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.287 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.287 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.288 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.288 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.292 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.292 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.292 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.292 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.292 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.292 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.292 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.292 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.292 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.292 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.292 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.292 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.293 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:49.293 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:49.296 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f728000000000000001] [endKey=7480000000000000745f72800000000000000600] [dataFiles=1] [2025/04/05 06:58:49.297 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:49.299 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:49.300 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.300 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:49.320 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.320 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.320 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.320 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.321 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.321 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.321 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.321 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.325 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.325 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.325 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.325 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.325 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.325 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.325 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.325 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.325 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.325 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.325 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.325 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.326 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:49.326 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:49.329 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:49.329 +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=380.653367ms] [] [2025/04/05 06:58:49.329 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:49.331 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endKey=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [dataFiles=1] [2025/04/05 06:58:49.331 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:49.334 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:49.334 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.335 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:49.335 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.336 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.336 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.336 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.336 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.336 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.336 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.337 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.340 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.340 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.340 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.340 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.340 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.340 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.340 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.340 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.340 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.340 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.340 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.340 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.341 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:49.341 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:49.345 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [dataFiles=1] [2025/04/05 06:58:49.345 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:49.347 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:49.348 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.349 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:49.349 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.349 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.349 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.349 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.349 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.350 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.350 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.350 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.353 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.353 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.353 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.353 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.353 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.353 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.354 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.354 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.353 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.354 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.354 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.354 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.355 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:49.355 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:49.358 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endKey=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [dataFiles=1] [2025/04/05 06:58:49.358 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:49.359 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.359 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.397 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 06:58:49.397 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 06:58:49.436 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:49.456 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.457 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.465 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:49.465 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:49.465 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.465 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:49.465 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.465 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.465 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.465 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.466 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.466 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.478 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:49.479 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:49.479 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:49.480 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:49.487 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [2025/04/05 06:58:49.489 +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/05 06:58:49.489 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.489 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:49.493 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F728000000000000001] [endKey=7480000000000000745F72800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:49.494 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.515 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=c92104fe-1480-5ebe-be2b-61946fa2dda3] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:49.515 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.515 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:49.516 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F728000000000FF0000010000000000FA] [end=7480000000000000FF745F728000000000FF0000060000000000FC] [2025/04/05 06:58:49.516 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.538µs] [2025/04/05 06:58:49.516 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=771.564µs] [] [2025/04/05 06:58:49.516 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:49.516 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:49.516 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f728000000000000001] [end-key=7480000000000000745f72800000000000000600] [2025/04/05 06:58:49.516 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:49.520 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.756504ms] [] [2025/04/05 06:58:49.520 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:49.523 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.524 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.238443ms] [] [2025/04/05 06:58:49.524 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:49.524 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.383674ms] [droppedSize=0] [2025/04/05 06:58:49.525 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.261µs] [2025/04/05 06:58:49.525 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f728000000000000001] [endOfAllRanges=7480000000000000745f72800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 06:58:49.535 +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/05 06:58:49.537 +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.599549ms] [] [2025/04/05 06:58:49.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=ingest] [takeTime=51.647023ms] [] [2025/04/05 06:58:49.560 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [2025/04/05 06:58:49.562 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=3] [2025/04/05 06:58:49.562 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.563 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:49.567 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F69800000000000000303800000000000007B038000000000000001] [endKey=7480000000000000745F69800000000000000303800000000000031503800000000000000300] [len(keys)=2] [] [2025/04/05 06:58:49.567 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.589 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=42e52923-6f90-566b-850e-758ca411cbe4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:49.589 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.589 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:49.590 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000030380000000FF0000007B03800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000030380000000FF0000031503800000FF0000000003000000FE] [2025/04/05 06:58:49.590 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.727µs] [2025/04/05 06:58:49.590 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=726.538µs] [] [2025/04/05 06:58:49.590 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:49.590 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:49.590 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [end-key=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [2025/04/05 06:58:49.590 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:49.594 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.52882ms] [] [2025/04/05 06:58:49.594 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:49.597 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.598 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.354862ms] [] [2025/04/05 06:58:49.598 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:49.599 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.51797ms] [droppedSize=0] [2025/04/05 06:58:49.599 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.755µs] [2025/04/05 06:58:49.599 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f69800000000000000303800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000303800000000000031503800000000000000300] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000007b03800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000030380000000ff0000031503800000ff0000000003000000fd] [2025/04/05 06:58:49.609 +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/05 06:58:49.610 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=15] [kv-group=3] [takeTime=47.957668ms] [] [2025/04/05 06:58:49.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=ingest] [takeTime=49.58875ms] [] [2025/04/05 06:58:49.631 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [2025/04/05 06:58:49.633 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=1] [2025/04/05 06:58:49.633 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.634 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:49.638 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000001038000000000000001038000000000000001] [endKey=7480000000000000745F69800000000000000103800000000000000603800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:49.638 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.661 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:49.661 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.661 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:49.661 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000010380000000FF0000000103800000FF0000000001000000FC] [end=7480000000000000FF745F698000000000FF0000010380000000FF0000000603800000FF0000000006000000FE] [2025/04/05 06:58:49.662 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.89µs] [2025/04/05 06:58:49.662 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=700.39µs] [] [2025/04/05 06:58:49.662 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:49.662 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:49.662 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000001038000000000000001038000000000000001] [end-key=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [2025/04/05 06:58:49.662 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:49.665 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.295532ms] [] [2025/04/05 06:58:49.665 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:49.669 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.670 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=7.895748ms] [] [2025/04/05 06:58:49.670 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:49.670 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.061625ms] [droppedSize=0] [2025/04/05 06:58:49.670 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=8.682µs] [2025/04/05 06:58:49.670 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000745f69800000000000000103800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000010380000000ff0000000603800000ff0000000006000000fd] [2025/04/05 06:58:49.681 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=797c5bd4-ca63-548e-8137-62562b529a90] [size=107374182400] [kvs=0] [importedSize=228] [importedCount=6] [2025/04/05 06:58:49.682 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=16] [kv-group=1] [takeTime=49.11343ms] [] [2025/04/05 06:58:49.683 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=ingest] [takeTime=51.660449ms] [] [2025/04/05 06:58:49.705 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [2025/04/05 06:58:49.706 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=2] [2025/04/05 06:58:49.706 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.707 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:49.711 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=7480000000000000745F698000000000000002016261723100000000FB03800000000000007B038000000000000001] [endKey=7480000000000000745F698000000000000002016261723600000000FB03800000000000014303800000000000000600] [len(keys)=2] [] [2025/04/05 06:58:49.711 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.733 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:49.733 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.733 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:49.733 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF745F698000000000FF0000020162617231FF00000000FB038000FF00000000007B0380FF0000000000000100FE] [end=7480000000000000FF745F698000000000FF0000020162617236FF00000000FB038000FF0000000001430380FF0000000000000600FF0000000000000000F8] [2025/04/05 06:58:49.734 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.942µs] [2025/04/05 06:58:49.734 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=671.098µs] [] [2025/04/05 06:58:49.734 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:49.734 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:49.734 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=1] [stat-file-count=1] [start-key=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [end-key=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [2025/04/05 06:58:49.734 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:49.738 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=3.64369ms] [] [2025/04/05 06:58:49.738 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:49.741 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:49.742 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=8.063398ms] [] [2025/04/05 06:58:49.742 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=6] [droppedSize=0] [2025/04/05 06:58:49.742 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=8.238705ms] [droppedSize=0] [2025/04/05 06:58:49.742 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=9.764µs] [2025/04/05 06:58:49.743 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000745f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [endOfAllRanges=7480000000000000745f698000000000000002016261723600000000fb03800000000000014303800000000000000600] [startKeyOfFirstRegion=7480000000000000ff745f698000000000ff0000020162617231ff00000000fb038000ff00000000007b0380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff745f698000000000ff0000020162617236ff00000000fb038000ff0000000001430380ff0000000000000600ff0000000000000000f7] [2025/04/05 06:58:49.753 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=fccca47b-a071-5db3-9487-f6af0df82fd4] [size=107374182400] [kvs=0] [importedSize=394] [importedCount=6] [2025/04/05 06:58:49.755 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=ingest] [subtask-id=17] [kv-group=2] [takeTime=48.471031ms] [] [2025/04/05 06:58:49.756 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=ingest] [takeTime=51.275364ms] [] [2025/04/05 06:58:49.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 06:58:49.853 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:49.855 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [2025/04/05 06:58:49.878 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:58:49.880 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:49.880 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:49.897 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:49.897 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=ingest] [2025/04/05 06:58:49.903 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:49.903 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:49.903 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:49.903 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:49.903 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:49.903 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:49.903 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:49.903 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.903 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.903 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.903 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:49.903 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:49.905 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:49.905 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:49.905 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:49.905 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:49.905 +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=425.681763ms] [] [2025/04/05 06:58:49.905 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:49.915 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:49.936 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:49.943 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=post-process] [2025/04/05 06:58:49.943 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 06:58:49.943 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 06:58:49.943 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [2025/04/05 06:58:49.943 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=2.46µs] [] [2025/04/05 06:58:49.943 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=1] [size=228] [kvs=6] [checksum=5933586680183683] [2025/04/05 06:58:49.943 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=2] [size=394] [kvs=6] [checksum=1482059515352799067] [2025/04/05 06:58:49.943 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=3] [size=228] [kvs=6] [checksum=5690150982916384316] [2025/04/05 06:58:49.943 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [groupId=-1] [size=262] [kvs=6] [checksum=16467553292841115641] [2025/04/05 06:58:49.943 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [checksum="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 06:58:49.943 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [weight=30] [2025/04/05 06:58:49.943 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [concurrency=15] [2025/04/05 06:58:49.951 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=-1] [checksum=16467553292841115641] [totalKvs=6] [totalBytes=262] [2025/04/05 06:58:49.956 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=1] [checksum=5933586680183683] [totalKvs=6] [totalBytes=228] [2025/04/05 06:58:49.958 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=3] [checksum=5690150982916384316] [totalKvs=6] [totalBytes=228] [2025/04/05 06:58:49.960 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=116] [physicalTableID=116] [indexID=2] [checksum=1482059515352799067] [totalKvs=6] [totalBytes=394] [2025/04/05 06:58:49.960 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:49.960 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [local="{cksum=13761799268116354333,size=1112,kvs=24}"] [2025/04/05 06:58:49.960 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=17.222059ms] [] [2025/04/05 06:58:49.960 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=18] [takeTime=17.384373ms] [] [2025/04/05 06:58:49.960 +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=17.523478ms] [] [2025/04/05 06:58:49.973 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:50.052 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:50.052 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 06:58:50.055 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 06:58:50.143 +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=206.612239ms] [] [2025/04/05 06:58:50.143 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:58:50.147 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:50.153 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:50.153 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 06:58:50.156 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=2] [2025/04/05 06:58:50.156 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.157 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.252 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.9029982109999999\n# Parse_time: 0.000194591\n# Compile_time: 0.000455094\n# Rewrite_time: 0.000099697\n# Optimize_time: 0.000487826\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuOXMsIG9wZW46NzA5bnMsIGNsb3NlOjc2Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuOXMsIG9wZW46NzA5bnMsIGNsb3NlOjc2Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\nIMPORT INTO `gsort_basic`.`t` FROM 'gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH __max_engine_size=_UTF8MB4'1', cloud_storage_uri=_UTF8MB4'gs://sorted/import?endpoint=http://127.0.0.1:4443/storage/v1/&access-key=aaaaaa&secret-access-key=bbbbbb', __force_merge_step;"] [2025/04/05 06:58:50.261 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=2] [takeTime=105.263058ms] [] [2025/04/05 06:58:50.288 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:50.301 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:58:50.301 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:50.307 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:queueing, SchemaState:none, SchemaID:112, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.322 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 118, Table Name: t, Old Table ID: 116, Old Table Name: t)"] [2025/04/05 06:58:50.342 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.17328ms] [gotSchemaVersion=59] [phyTblIDs="[116,118]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:50.345 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 06:58:50.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=59] ["take time"=9.999108ms] [job="ID:119, Type:truncate table, State:done, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.359 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="truncate table: table ID"] [2025/04/05 06:58:50.364 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="truncate table"] [2025/04/05 06:58:50.365 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:truncate table, State:synced, SchemaState:public, SchemaID:112, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.265 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.384 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 06:58:50.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="truncate table t"] [user=] [2025/04/05 06:58:50.391 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.392 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.409 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.450 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-basic/t.*.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/import?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 06:58:50.472 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=96B] [thread-cnt=8] [global-sort=true] [2025/04/05 06:58:50.490 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:50.490 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:50.592 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 06:58:50.594 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:50.596 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [2025/04/05 06:58:50.605 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.606 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.608 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:50.609 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:50.609 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=104.996µs] [2025/04/05 06:58:50.609 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=215.841µs] [] [2025/04/05 06:58:50.609 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.610 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.624 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=encode] [subtask-count=2] [2025/04/05 06:58:50.624 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=2] [2025/04/05 06:58:50.666 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:50.688 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/05 06:58:50.688 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.689 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:50.697 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:50.697 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:50.698 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:50.698 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:50.698 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:50.698 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:50.698 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:50.698 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:50.699 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:50.699 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:50.706 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 06:58:50.712 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:50.714 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:50.714 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:50.714 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:50.714 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:50.724 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [2025/04/05 06:58:50.724 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d21ecdbc-834a-4708-aef0-dfd99450c9d2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0c34b60d-8107-4977-8c03-24f7ff1ea463] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d33dc83c-d9ec-4394-8ca0-1f3ab248102f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9ab76cc6-069d-4c9f-b596-df6d54dcb3ac] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cb70b5ef-f38a-4c6c-a662-8690631e4b27] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/553be2ce-142e-49ef-85d9-771cb4e531ac] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.727 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fe1315f9-0285-453f-a1aa-5db0c50acd90] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.729 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [2025/04/05 06:58:50.751 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.1.csv:0] [readDur=918.672µs] [encodeDur=339.962µs] [checksum="{cksum=1019797567031239126,size=556,kvs=12}"] [deliverDur=20.277655ms] [type=file] [takeTime=21.978159ms] [] [2025/04/05 06:58:50.760 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=9.100266ms] [write-speed(bytes/s)=19.21KiB] [2025/04/05 06:58:50.761 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=3.878µs] [write-time=9.293831ms] [sort-speed(kv/s)=773594.6364] [writer-id=data/967f9d20-5331-4571-b02f-6580af4d8a93] [2025/04/05 06:58:50.761 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/967f9d20-5331-4571-b02f-6580af4d8a93] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000001] [maxKey=7480000000000000765f728000000000000003] [2025/04/05 06:58:50.776 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=14.835747ms] [write-speed(bytes/s)=16.13KiB] [2025/04/05 06:58:50.776 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.546µs] [write-time=14.973592ms] [sort-speed(kv/s)=846023.6887] [writer-id=index/2/967f9d20-5331-4571-b02f-6580af4d8a93] [2025/04/05 06:58:50.776 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/967f9d20-5331-4571-b02f-6580af4d8a93] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723100000000fb03800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000002016261723300000000fb038000000000000315038000000000000003] [2025/04/05 06:58:50.788 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=12.531255ms] [write-speed(bytes/s)=12.62KiB] [2025/04/05 06:58:50.789 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.521µs] [write-time=12.669465ms] [sort-speed(kv/s)=852030.6731] [writer-id=index/3/967f9d20-5331-4571-b02f-6580af4d8a93] [2025/04/05 06:58:50.789 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/967f9d20-5331-4571-b02f-6580af4d8a93] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000001] [maxKey=7480000000000000765f698000000000000003038000000000000315038000000000000003] [2025/04/05 06:58:50.807 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=18.402349ms] [write-speed(bytes/s)=8.597KiB] [2025/04/05 06:58:50.807 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/967f9d20-5331-4571-b02f-6580af4d8a93] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.486µs] [write-time=18.566922ms] [sort-speed(kv/s)=860585.1979] [writer-id=index/1/967f9d20-5331-4571-b02f-6580af4d8a93] [2025/04/05 06:58:50.807 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/967f9d20-5331-4571-b02f-6580af4d8a93] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000001038000000000000001] [maxKey=7480000000000000765f698000000000000001038000000000000003038000000000000003] [2025/04/05 06:58:50.808 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=0] [2025/04/05 06:58:50.818 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=19] [takeTime=93.794953ms] [] [2025/04/05 06:58:50.818 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=encode] [takeTime=93.997061ms] [] [2025/04/05 06:58:50.842 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [2025/04/05 06:58:50.842 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/16a4e457-ae43-45eb-95a1-282907329b42] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/25e281a7-98d1-4afc-8db8-3c3fcc61c653] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/0bc8feab-1b87-458f-8d7b-33968cea2c72] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/49d820d1-fa65-4d94-8e3e-40fbce654fbd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c0dea5cf-4ff2-4065-ae56-479288d38d42] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/144d09b6-977f-461a-ae1d-0d30315da24a] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a2032510-6d27-4c95-a301-b3608cfba54e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:50.845 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=118] [2025/04/05 06:58:50.847 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [2025/04/05 06:58:50.878 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=118] [key=t.2.csv:0] [readDur=827.584µs] [encodeDur=308.765µs] [checksum="{cksum=12744263349315450059,size=556,kvs=12}"] [deliverDur=28.756397ms] [type=file] [takeTime=30.280953ms] [] [2025/04/05 06:58:50.887 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=179] [stat-size=74] [write-time=9.177203ms] [write-speed(bytes/s)=19.05KiB] [2025/04/05 06:58:50.887 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=179] [kv-cnt=3] [sort-time=4.179µs] [write-time=9.303498ms] [sort-speed(kv/s)=717875.0897] [writer-id=data/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [2025/04/05 06:58:50.887 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [kv-cnt-cap=4] [minKey=7480000000000000765f728000000000000004] [maxKey=7480000000000000765f728000000000000006] [2025/04/05 06:58:50.901 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=13.494973ms] [write-speed(bytes/s)=11.72KiB] [2025/04/05 06:58:50.901 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.729µs] [write-time=13.612669ms] [sort-speed(kv/s)=804505.2293] [writer-id=index/1/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [2025/04/05 06:58:50.901 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000001038000000000000004038000000000000004] [maxKey=7480000000000000765f698000000000000001038000000000000006038000000000000006] [2025/04/05 06:58:50.912 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=245] [stat-size=130] [write-time=11.206205ms] [write-speed(bytes/s)=21.35KiB] [2025/04/05 06:58:50.912 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=245] [kv-cnt=3] [sort-time=3.873µs] [write-time=11.340053ms] [sort-speed(kv/s)=774593.3385] [writer-id=index/2/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [2025/04/05 06:58:50.913 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [kv-cnt-cap=4] [minKey=7480000000000000765f698000000000000002016261723400000000fb03800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000002016261723600000000fb038000000000000143038000000000000006] [2025/04/05 06:58:50.925 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=162] [stat-size=110] [write-time=12.47211ms] [write-speed(bytes/s)=12.68KiB] [2025/04/05 06:58:50.925 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [sequence-number=0] [bytes=162] [kv-cnt=3] [sort-time=3.575µs] [write-time=12.6007ms] [sort-speed(kv/s)=839160.8392] [writer-id=index/3/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [2025/04/05 06:58:50.925 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/32ac5ccc-1e07-4aba-abf7-7890f56dad63] [kv-cnt-cap=4] [minKey=7480000000000000765f69800000000000000303800000000000007b038000000000000004] [maxKey=7480000000000000765f698000000000000003038000000000000143038000000000000006] [2025/04/05 06:58:50.925 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=encode] [engine-id=1] [2025/04/05 06:58:50.933 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=encode] [subtask-id=20] [takeTime=90.794596ms] [] [2025/04/05 06:58:50.933 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=encode] [takeTime=91.407291ms] [] [2025/04/05 06:58:50.997 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 06:58:51.000 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:51.001 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [2025/04/05 06:58:51.008 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.010 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.014 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=3] [2025/04/05 06:58:51.014 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=data] [2025/04/05 06:58:51.014 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=1] [2025/04/05 06:58:51.014 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=3] [kv-group=2] [2025/04/05 06:58:51.015 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.019 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 06:58:51.019 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 06:58:51.078 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:51.078 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=encode] [2025/04/05 06:58:51.079 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:51.079 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:51.079 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:51.079 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:51.079 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:51.079 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:51.080 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:51.080 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:51.080 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.080 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:51.080 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:51.080 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:51.082 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:51.082 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:51.082 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:51.082 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:51.082 +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=367.920729ms] [] [2025/04/05 06:58:51.082 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 06:58:51.097 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:51.099 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:51.101 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:51.101 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.101 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/05 06:58:51.197 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=merge-sort] [state=reverting] [error="injected error"] [errorVerbose="injected error\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:298\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.200 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 06:58:51.292 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:51.300 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:51.300 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 06:58:51.302 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=3] [2025/04/05 06:58:51.302 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.303 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.349 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=3] [takeTime=47.3579ms] [] [2025/04/05 06:58:51.372 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestGlobalSortBasic (5.62s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortMultiFiles [2025/04/05 06:58:51.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=gsort_basic] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/05 06:58:51.479 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/05 06:58:51.479 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:51.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:queueing, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.499 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=717.412µs] [gotSchemaVersion=60] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:51.502 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=60] [2025/04/05 06:58:51.504 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=60] ["take time"=7.539036ms] [job="ID:121, Type:create schema, State:done, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.515 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=2] [job="ID:121, Type:create schema, State:synced, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.525 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 06:58:51.525 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=60] [cur_db=gsort_basic] [sql="create database gs_multi_files"] [user=] [2025/04/05 06:58:51.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:51.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [2025/04/05 06:58:51.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:queueing, SchemaState:none, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.551 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 122, Table Name: t)"] [2025/04/05 06:58:51.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.056272ms] [gotSchemaVersion=61] [phyTblIDs="[122]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:51.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=61] [2025/04/05 06:58:51.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=61] ["take time"=8.798453ms] [job="ID:123, Type:create table, State:done, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:51.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.585 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:create table, State:synced, SchemaState:public, SchemaID:120, TableID:122, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:51.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 06:58:51.598 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=61] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100), key(b), key(a,b), key(b,a));"] [user=] [2025/04/05 06:58:51.604 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.605 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.621 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.654 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:51.674 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/05 06:58:51.691 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:51.691 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:51.794 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 06:58:51.796 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:51.797 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [2025/04/05 06:58:51.806 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.807 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.810 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:51.810 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=147780] [2025/04/05 06:58:51.810 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=147780] [cost=153.606µs] [2025/04/05 06:58:51.811 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=321.624µs] [] [2025/04/05 06:58:51.811 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.812 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.834 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=encode] [subtask-count=1] [2025/04/05 06:58:51.834 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=1] [2025/04/05 06:58:51.865 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:51.886 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/05 06:58:51.886 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.887 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:51.894 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:51.894 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:51.895 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:51.895 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:51.895 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:51.895 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:51.895 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:51.895 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:51.896 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:51.896 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:51.905 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 06:58:51.908 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:51.910 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:51.910 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:51.910 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=encode] [data-buf-limit=512MiB] [per-index-buf-limit=170.7MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:51.910 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:51.917 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [2025/04/05 06:58:51.917 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.920 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:51.922 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [2025/04/05 06:58:51.922 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [2025/04/05 06:58:51.923 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [2025/04/05 06:58:52.068 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.6.csv:0] [readDur=8.461233ms] [encodeDur=73.468889ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=93.006971ms] [type=file] [takeTime=145.779247ms] [] [2025/04/05 06:58:52.069 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:52.071 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [2025/04/05 06:58:52.081 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.5.csv:0] [readDur=9.91986ms] [encodeDur=124.485124ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=88.869811ms] [type=file] [takeTime=158.405296ms] [] [2025/04/05 06:58:52.081 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=122] [2025/04/05 06:58:52.083 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.4.csv:0] [readDur=10.197619ms] [encodeDur=122.617342ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=96.546528ms] [type=file] [takeTime=159.962321ms] [] [2025/04/05 06:58:52.084 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [2025/04/05 06:58:52.084 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.3.csv:0] [readDur=9.018676ms] [encodeDur=129.349153ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=35.902245ms] [type=file] [takeTime=161.841106ms] [] [2025/04/05 06:58:52.085 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.2.csv:0] [readDur=13.562273ms] [encodeDur=124.037361ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=78.726205ms] [type=file] [takeTime=162.368433ms] [] [2025/04/05 06:58:52.085 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.0.csv:0] [readDur=9.371524ms] [encodeDur=122.615599ms] [checksum="{cksum=10408207814181128213,size=255604,kvs=4000}"] [deliverDur=121.675207ms] [type=file] [takeTime=162.486255ms] [] [2025/04/05 06:58:52.090 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.1.csv:0] [readDur=9.909996ms] [encodeDur=137.703249ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=83.766328ms] [type=file] [takeTime=167.583915ms] [] [2025/04/05 06:58:52.139 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=55.441863ms] [write-speed(bytes/s)=933.6KiB] [2025/04/05 06:58:52.139 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=396.28µs] [write-time=55.581844ms] [sort-speed(kv/s)=2523468.2548] [writer-id=data/354a3972-924d-4048-8ada-2336d4fddc33] [2025/04/05 06:58:52.139 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/354a3972-924d-4048-8ada-2336d4fddc33] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000fa0] [maxKey=74800000000000007a5f728000000000001387] [2025/04/05 06:58:52.141 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=55.904075ms] [write-speed(bytes/s)=906.4KiB] [2025/04/05 06:58:52.142 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=337.613µs] [write-time=56.024009ms] [sort-speed(kv/s)=2961971.2511] [writer-id=data/454bf25c-4300-4284-9ca6-b10be84cc68f] [2025/04/05 06:58:52.142 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/454bf25c-4300-4284-9ca6-b10be84cc68f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000000] [maxKey=74800000000000007a5f7280000000000003e7] [2025/04/05 06:58:52.143 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=58.176603ms] [write-speed(bytes/s)=889.7KiB] [2025/04/05 06:58:52.143 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=365.496µs] [write-time=58.283325ms] [sort-speed(kv/s)=2736008.0548] [writer-id=data/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [2025/04/05 06:58:52.143 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000000bb8] [maxKey=74800000000000007a5f728000000000000f9f] [2025/04/05 06:58:52.152 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.7.csv:0] [readDur=13.07902ms] [encodeDur=123.437251ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=187.487315ms] [type=file] [takeTime=229.57118ms] [] [2025/04/05 06:58:52.165 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=74.748125ms] [write-speed(bytes/s)=692.4KiB] [2025/04/05 06:58:52.165 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=374.073µs] [write-time=74.902826ms] [sort-speed(kv/s)=2673275.0025] [writer-id=data/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [2025/04/05 06:58:52.165 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000003e8] [maxKey=74800000000000007a5f7280000000000007cf] [2025/04/05 06:58:52.167 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=27.677506ms] [write-speed(bytes/s)=3.308MiB] [2025/04/05 06:58:52.167 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=453.535µs] [write-time=27.798747ms] [sort-speed(kv/s)=2204901.4960] [writer-id=index/3/354a3972-924d-4048-8ada-2336d4fddc33] [2025/04/05 06:58:52.168 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/354a3972-924d-4048-8ada-2336d4fddc33] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d343030ff3000000000000000f8038000000000000fa0038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000301746573742d343939ff3900000000000000f8038000000000001387038000000000001387] [2025/04/05 06:58:52.168 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=82.463403ms] [write-speed(bytes/s)=627.6KiB] [2025/04/05 06:58:52.168 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=438.493µs] [write-time=82.591132ms] [sort-speed(kv/s)=2280538.1158] [writer-id=data/94e15d9f-cebf-4c03-8c04-b1f589595b83] [2025/04/05 06:58:52.168 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/94e15d9f-cebf-4c03-8c04-b1f589595b83] [kv-cnt-cap=1365] [minKey=74800000000000007a5f7280000000000007d0] [maxKey=74800000000000007a5f728000000000000bb7] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=26.956595ms] [write-speed(bytes/s)=2.901MiB] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=308.572µs] [write-time=27.087084ms] [sort-speed(kv/s)=3240734.7394] [writer-id=index/1/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000101746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=79990] [stat-size=121] [write-time=25.399567ms] [write-speed(bytes/s)=3.003MiB] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=79990] [kv-cnt=1000] [sort-time=4.065149ms] [write-time=25.517047ms] [sort-speed(kv/s)=245993.4433] [writer-id=index/1/454bf25c-4300-4284-9ca6-b10be84cc68f] [2025/04/05 06:58:52.171 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/454bf25c-4300-4284-9ca6-b10be84cc68f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/05 06:58:52.172 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=19.564974ms] [write-speed(bytes/s)=2.583MiB] [2025/04/05 06:58:52.172 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=383.12µs] [write-time=19.69278ms] [sort-speed(kv/s)=2610148.2564] [writer-id=data/f04b880f-c772-4c09-99aa-72de6a55c5ac] [2025/04/05 06:58:52.172 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f04b880f-c772-4c09-99aa-72de6a55c5ac] [kv-cnt-cap=1365] [minKey=74800000000000007a5f728000000000001b58] [maxKey=74800000000000007a5f728000000000001f3f] [2025/04/05 06:58:52.178 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.8.csv:0] [readDur=8.219223ms] [encodeDur=88.501502ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=5.57367ms] [type=file] [takeTime=106.390856ms] [] [2025/04/05 06:58:52.180 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=13.453457ms] [write-speed(bytes/s)=6.805MiB] [2025/04/05 06:58:52.180 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=482.898µs] [write-time=13.569106ms] [sort-speed(kv/s)=2070830.6930] [writer-id=index/3/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [2025/04/05 06:58:52.180 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d313030ff3000000000000000f80380000000000003e80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000301746573742d313939ff3900000000000000f80380000000000007cf0380000000000007cf] [2025/04/05 06:58:52.183 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=14.622754ms] [write-speed(bytes/s)=5.348MiB] [2025/04/05 06:58:52.183 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=344.078µs] [write-time=14.771451ms] [sort-speed(kv/s)=2906317.7535] [writer-id=index/1/354a3972-924d-4048-8ada-2336d4fddc33] [2025/04/05 06:58:52.183 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/354a3972-924d-4048-8ada-2336d4fddc33] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000101746573742d343939ff3900000000000000f8038000000000001387] [2025/04/05 06:58:52.186 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=122] [key=t.9.csv:0] [readDur=8.023621ms] [encodeDur=83.991715ms] [checksum="{cksum=0,size=263000,kvs=4000}"] [deliverDur=5.888777ms] [type=file] [takeTime=101.852204ms] [] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=19.787759ms] [write-speed(bytes/s)=3.952MiB] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=342.462µs] [write-time=19.895451ms] [sort-speed(kv/s)=2920032.0036] [writer-id=index/1/94e15d9f-cebf-4c03-8c04-b1f589595b83] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/94e15d9f-cebf-4c03-8c04-b1f589595b83] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f69800000000000000101746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=17.790679ms] [write-speed(bytes/s)=5.146MiB] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=391.415µs] [write-time=17.937245ms] [sort-speed(kv/s)=2554833.1055] [writer-id=index/2/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [2025/04/05 06:58:52.189 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000bb801746573742d333030ff3000000000000000f8038000000000000bb8] [maxKey=74800000000000007a5f698000000000000002038000000000000f9f01746573742d333939ff3900000000000000f8038000000000000f9f] [2025/04/05 06:58:52.190 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=17.653882ms] [write-speed(bytes/s)=5.07MiB] [2025/04/05 06:58:52.190 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=395.056µs] [write-time=17.789822ms] [sort-speed(kv/s)=2531286.7037] [writer-id=index/2/454bf25c-4300-4284-9ca6-b10be84cc68f] [2025/04/05 06:58:52.190 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/454bf25c-4300-4284-9ca6-b10be84cc68f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [maxKey=74800000000000007a5f6980000000000000020380000000000003e701746573742d393939ff0000000000000000f70380000000000003e7] [2025/04/05 06:58:52.190 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=17.467852ms] [write-speed(bytes/s)=5.241MiB] [2025/04/05 06:58:52.190 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=360.054µs] [write-time=17.593845ms] [sort-speed(kv/s)=2777361.1736] [writer-id=index/2/f04b880f-c772-4c09-99aa-72de6a55c5ac] [2025/04/05 06:58:52.191 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/f04b880f-c772-4c09-99aa-72de6a55c5ac] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000001b5801746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f698000000000000002038000000000001f3f01746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/05 06:58:52.196 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=15.788247ms] [write-speed(bytes/s)=4.953MiB] [2025/04/05 06:58:52.196 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=440.548µs] [write-time=15.900999ms] [sort-speed(kv/s)=2269900.2152] [writer-id=index/1/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [2025/04/05 06:58:52.196 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f69800000000000000101746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/05 06:58:52.199 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=16.092807ms] [write-speed(bytes/s)=5.689MiB] [2025/04/05 06:58:52.200 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/354a3972-924d-4048-8ada-2336d4fddc33] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=365.342µs] [write-time=16.219348ms] [sort-speed(kv/s)=2737161.3447] [writer-id=index/2/354a3972-924d-4048-8ada-2336d4fddc33] [2025/04/05 06:58:52.200 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/354a3972-924d-4048-8ada-2336d4fddc33] [kv-cnt-cap=1365] [minKey=74800000000000007a5f698000000000000002038000000000000fa001746573742d343030ff3000000000000000f8038000000000000fa0] [maxKey=74800000000000007a5f69800000000000000203800000000000138701746573742d343939ff3900000000000000f8038000000000001387] [2025/04/05 06:58:52.206 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=27.516101ms] [write-speed(bytes/s)=3.674MiB] [2025/04/05 06:58:52.206 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=698.956µs] [write-time=27.634749ms] [sort-speed(kv/s)=2861410.4464] [writer-id=data/c1cfee26-21ad-4796-b94b-14bc0556065f] [2025/04/05 06:58:52.206 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c1cfee26-21ad-4796-b94b-14bc0556065f] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001770] [maxKey=74800000000000007a5f728000000000002327] [2025/04/05 06:58:52.209 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.642432ms] [write-speed(bytes/s)=4.661MiB] [2025/04/05 06:58:52.209 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=365.732µs] [write-time=19.76551ms] [sort-speed(kv/s)=2734242.5601] [writer-id=index/2/94e15d9f-cebf-4c03-8c04-b1f589595b83] [2025/04/05 06:58:52.209 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/94e15d9f-cebf-4c03-8c04-b1f589595b83] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000007d001746573742d323030ff3000000000000000f80380000000000007d0] [maxKey=74800000000000007a5f698000000000000002038000000000000bb701746573742d323939ff3900000000000000f8038000000000000bb7] [2025/04/05 06:58:52.211 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=21.098578ms] [write-speed(bytes/s)=4.339MiB] [2025/04/05 06:58:52.211 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=496.16µs] [write-time=21.232813ms] [sort-speed(kv/s)=2015478.8778] [writer-id=index/3/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [2025/04/05 06:58:52.211 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/b2aa36e9-d61f-4f50-bc51-a6f5969757ae] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d333030ff3000000000000000f8038000000000000bb8038000000000000bb8] [maxKey=74800000000000007a5f69800000000000000301746573742d333939ff3900000000000000f8038000000000000f9f038000000000000f9f] [2025/04/05 06:58:52.214 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=22.825996ms] [write-speed(bytes/s)=4.011MiB] [2025/04/05 06:58:52.214 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=426.404µs] [write-time=22.945063ms] [sort-speed(kv/s)=2345193.7599] [writer-id=index/3/f04b880f-c772-4c09-99aa-72de6a55c5ac] [2025/04/05 06:58:52.214 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/f04b880f-c772-4c09-99aa-72de6a55c5ac] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d373030ff3000000000000000f8038000000000001b58038000000000001b58] [maxKey=74800000000000007a5f69800000000000000301746573742d373939ff3900000000000000f8038000000000001f3f038000000000001f3f] [2025/04/05 06:58:52.215 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=106000] [stat-size=74] [write-time=28.325085ms] [write-speed(bytes/s)=3.569MiB] [2025/04/05 06:58:52.215 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=106000] [kv-cnt=2000] [sort-time=791.791µs] [write-time=28.436181ms] [sort-speed(kv/s)=2525919.0872] [writer-id=data/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [2025/04/05 06:58:52.215 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [kv-cnt-cap=2048] [minKey=74800000000000007a5f728000000000001388] [maxKey=74800000000000007a5f72800000000000270f] [2025/04/05 06:58:52.216 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=93862] [stat-size=139] [write-time=21.050816ms] [write-speed(bytes/s)=4.252MiB] [2025/04/05 06:58:52.216 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/454bf25c-4300-4284-9ca6-b10be84cc68f] [sequence-number=0] [bytes=93862] [kv-cnt=1000] [sort-time=4.541644ms] [write-time=21.173491ms] [sort-speed(kv/s)=220184.5851] [writer-id=index/3/454bf25c-4300-4284-9ca6-b10be84cc68f] [2025/04/05 06:58:52.216 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/454bf25c-4300-4284-9ca6-b10be84cc68f] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff0000000000000000f70380000000000003e70380000000000003e7] [2025/04/05 06:58:52.217 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=19.675513ms] [write-speed(bytes/s)=4.653MiB] [2025/04/05 06:58:52.217 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=408.31µs] [write-time=19.794328ms] [sort-speed(kv/s)=2449119.5415] [writer-id=index/2/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [2025/04/05 06:58:52.217 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/87d88d0c-1aa8-439f-a4b9-4ba8d0fe30f6] [kv-cnt-cap=1365] [minKey=74800000000000007a5f6980000000000000020380000000000003e801746573742d313030ff3000000000000000f80380000000000003e8] [maxKey=74800000000000007a5f6980000000000000020380000000000007cf01746573742d313939ff3900000000000000f80380000000000007cf] [2025/04/05 06:58:52.223 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=96000] [stat-size=148] [write-time=13.631349ms] [write-speed(bytes/s)=6.716MiB] [2025/04/05 06:58:52.223 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/94e15d9f-cebf-4c03-8c04-b1f589595b83] [sequence-number=0] [bytes=96000] [kv-cnt=1000] [sort-time=427.036µs] [write-time=13.763396ms] [sort-speed(kv/s)=2341722.9461] [writer-id=index/3/94e15d9f-cebf-4c03-8c04-b1f589595b83] [2025/04/05 06:58:52.223 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/94e15d9f-cebf-4c03-8c04-b1f589595b83] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000301746573742d323030ff3000000000000000f80380000000000007d00380000000000007d0] [maxKey=74800000000000007a5f69800000000000000301746573742d323939ff3900000000000000f8038000000000000bb7038000000000000bb7] [2025/04/05 06:58:52.236 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=82000] [stat-size=130] [write-time=21.848194ms] [write-speed(bytes/s)=3.579MiB] [2025/04/05 06:58:52.236 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/f04b880f-c772-4c09-99aa-72de6a55c5ac] [sequence-number=0] [bytes=82000] [kv-cnt=1000] [sort-time=332.218µs] [write-time=21.94581ms] [sort-speed(kv/s)=3010071.6999] [writer-id=index/1/f04b880f-c772-4c09-99aa-72de6a55c5ac] [2025/04/05 06:58:52.237 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/f04b880f-c772-4c09-99aa-72de6a55c5ac] [kv-cnt-cap=1365] [minKey=74800000000000007a5f69800000000000000101746573742d373030ff3000000000000000f8038000000000001b58] [maxKey=74800000000000007a5f69800000000000000101746573742d373939ff3900000000000000f8038000000000001f3f] [2025/04/05 06:58:52.238 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=30.50618ms] [write-speed(bytes/s)=5.127MiB] [2025/04/05 06:58:52.238 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=747.343µs] [write-time=30.599152ms] [sort-speed(kv/s)=2676147.3647] [writer-id=index/1/c1cfee26-21ad-4796-b94b-14bc0556065f] [2025/04/05 06:58:52.238 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/c1cfee26-21ad-4796-b94b-14bc0556065f] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000101746573742d383939ff3900000000000000f8038000000000002327] [2025/04/05 06:58:52.246 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=164000] [stat-size=130] [write-time=30.133966ms] [write-speed(bytes/s)=5.19MiB] [2025/04/05 06:58:52.246 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=164000] [kv-cnt=2000] [sort-time=617.677µs] [write-time=30.246835ms] [sort-speed(kv/s)=3237938.2752] [writer-id=index/1/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [2025/04/05 06:58:52.246 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000101746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f] [2025/04/05 06:58:52.261 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=22.900882ms] [write-speed(bytes/s)=7.996MiB] [2025/04/05 06:58:52.262 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=723.079µs] [write-time=23.022947ms] [sort-speed(kv/s)=2765949.5021] [writer-id=index/2/c1cfee26-21ad-4796-b94b-14bc0556065f] [2025/04/05 06:58:52.262 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/c1cfee26-21ad-4796-b94b-14bc0556065f] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000203800000000000177001746573742d363030ff3000000000000000f8038000000000001770] [maxKey=74800000000000007a5f69800000000000000203800000000000232701746573742d383939ff3900000000000000f8038000000000002327] [2025/04/05 06:58:52.270 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/2/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=23.560964ms] [write-speed(bytes/s)=7.772MiB] [2025/04/05 06:58:52.270 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/2/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=679.534µs] [write-time=23.667563ms] [sort-speed(kv/s)=2943193.4237] [writer-id=index/2/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [2025/04/05 06:58:52.271 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/2/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000203800000000000138801746573742d353030ff3000000000000000f8038000000000001388] [maxKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f] [2025/04/05 06:58:52.287 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=24.017614ms] [write-speed(bytes/s)=7.624MiB] [2025/04/05 06:58:52.287 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/c1cfee26-21ad-4796-b94b-14bc0556065f] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=768.192µs] [write-time=24.145305ms] [sort-speed(kv/s)=2603515.7877] [writer-id=index/3/c1cfee26-21ad-4796-b94b-14bc0556065f] [2025/04/05 06:58:52.287 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/c1cfee26-21ad-4796-b94b-14bc0556065f] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d363030ff3000000000000000f8038000000000001770038000000000001770] [maxKey=74800000000000007a5f69800000000000000301746573742d383939ff3900000000000000f8038000000000002327038000000000002327] [2025/04/05 06:58:52.296 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/3/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=192000] [stat-size=148] [write-time=24.472399ms] [write-speed(bytes/s)=7.482MiB] [2025/04/05 06:58:52.296 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/3/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [sequence-number=0] [bytes=192000] [kv-cnt=2000] [sort-time=643.269µs] [write-time=24.580449ms] [sort-speed(kv/s)=3109119.2021] [writer-id=index/3/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [2025/04/05 06:58:52.296 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/3/8bd6f167-1d34-4cb6-8913-d227001ce1e4] [kv-cnt-cap=2048] [minKey=74800000000000007a5f69800000000000000301746573742d353030ff3000000000000000f8038000000000001388038000000000001388] [maxKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f] [2025/04/05 06:58:52.296 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=encode] [engine-id=0] [2025/04/05 06:58:52.300 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=encode] [subtask-id=21] [takeTime=382.530212ms] [] [2025/04/05 06:58:52.300 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=encode] [takeTime=382.682996ms] [] [2025/04/05 06:58:52.398 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 06:58:52.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/05 06:58:52.401 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [2025/04/05 06:58:52.407 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.408 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.412 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=data] [2025/04/05 06:58:52.412 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=2] [2025/04/05 06:58:52.412 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=3] [2025/04/05 06:58:52.412 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=4] [kv-group=1] [2025/04/05 06:58:52.413 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.414 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.416 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 06:58:52.416 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 06:58:52.440 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:52.440 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=encode] [2025/04/05 06:58:52.441 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.441 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.441 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.441 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.441 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.441 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.441 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.441 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.442 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.442 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.443 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:52.443 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.443 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.443 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.443 +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=533.460005ms] [] [2025/04/05 06:58:52.444 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 06:58:52.498 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:52.500 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:52.501 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:52.518 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.519 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.526 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:52.527 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.528 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:52.528 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.528 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.528 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.528 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.529 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.529 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.529 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.529 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.533 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.533 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.533 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.533 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.533 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.533 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.533 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.533 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.533 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.533 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.533 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.533 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.534 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:52.534 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:52.540 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/05 06:58:52.540 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:52.543 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:52.543 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.544 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:52.544 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.545 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.545 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.545 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.545 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.545 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.545 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.545 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.549 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.549 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.549 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.549 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.549 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.549 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.549 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.549 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.549 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.549 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.549 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.549 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.550 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:52.551 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:52.556 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f728000000000000000] [endKey=74800000000000007a5f72800000000000270f00] [dataFiles=8] [2025/04/05 06:58:52.556 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:52.558 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:52.559 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.560 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:52.560 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.560 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.560 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.560 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.560 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.561 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.561 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.561 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.564 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.564 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.564 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.564 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.564 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.564 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.564 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.564 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.565 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.564 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.565 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.565 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.566 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:52.566 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:52.571 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endKey=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [dataFiles=8] [2025/04/05 06:58:52.571 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:52.573 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:52.574 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.575 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:52.575 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.575 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.575 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.575 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.576 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.576 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.576 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.576 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.580 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:52.580 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:52.580 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:52.580 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:52.580 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:52.580 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:52.580 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:52.580 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:52.580 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:52.580 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:52.580 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:52.580 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:52.581 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:52.581 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:52.586 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endKey=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [dataFiles=8] [2025/04/05 06:58:52.586 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:52.586 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.588 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.603 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=merge-sort] [next-step=ingest] [subtask-count=4] [2025/04/05 06:58:52.603 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=4] [2025/04/05 06:58:52.644 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:52.665 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.665 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.673 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:52.673 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:52.674 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:52.674 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:52.674 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:52.674 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:52.674 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:52.674 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:52.675 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:52.675 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:52.687 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:52.689 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:52.689 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:52.689 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:52.696 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [2025/04/05 06:58:52.699 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=1] [2025/04/05 06:58:52.699 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.700 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:52.703 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000101746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000101746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/05 06:58:52.703 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:52.725 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:52.725 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:52.725 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:52.726 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000010174657374FF2D300000FD038000FF0000000000000000FD] [end=7480000000000000FF7A5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F00FF0000000000000000F8] [2025/04/05 06:58:52.726 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.517µs] [2025/04/05 06:58:52.726 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=749.3µs] [] [2025/04/05 06:58:52.726 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:52.726 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:52.726 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/05 06:58:52.726 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:52.732 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=6.117763ms] [] [2025/04/05 06:58:52.732 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:52.745 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.746 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=19.920573ms] [] [2025/04/05 06:58:52.746 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 06:58:52.748 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=21.945261ms] [droppedSize=0] [2025/04/05 06:58:52.761 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.43903ms] [2025/04/05 06:58:52.762 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000101746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000101746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d300000fd038000ff0000000000000000fd] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000010174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f00ff0000000000000000f7] [2025/04/05 06:58:52.785 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ff6562-87d0-5a56-80bb-4a167ccff507] [size=107374182400] [kvs=0] [importedSize=657990] [importedCount=10000] [2025/04/05 06:58:52.787 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=22] [kv-group=1] [takeTime=87.980846ms] [] [2025/04/05 06:58:52.787 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=ingest] [takeTime=90.226965ms] [] [2025/04/05 06:58:52.809 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [2025/04/05 06:58:52.811 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=data] [2025/04/05 06:58:52.811 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.833 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:52.837 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F728000000000000000] [endKey=74800000000000007A5F72800000000000270F00] [len(keys)=2] [] [2025/04/05 06:58:52.837 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:52.859 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:52.859 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:52.859 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:52.859 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F728000000000FF0000000000000000FA] [end=7480000000000000FF7A5F728000000000FF00270F0000000000FC] [2025/04/05 06:58:52.860 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.935µs] [2025/04/05 06:58:52.860 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=741.518µs] [] [2025/04/05 06:58:52.860 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:52.860 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:52.860 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f728000000000000000] [end-key=74800000000000007a5f72800000000000270f00] [2025/04/05 06:58:52.860 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:52.865 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.268155ms] [] [2025/04/05 06:58:52.865 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:52.876 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.877 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.514037ms] [] [2025/04/05 06:58:52.877 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 06:58:52.879 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=19.416404ms] [droppedSize=0] [2025/04/05 06:58:52.887 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.488875ms] [2025/04/05 06:58:52.887 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f728000000000000000] [endOfAllRanges=74800000000000007a5f72800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 06:58:52.910 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=13828c64-9414-5512-b90c-635ed80ab1cf] [size=107374182400] [kvs=0] [importedSize=368890] [importedCount=10000] [2025/04/05 06:58:52.911 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=23] [kv-group=data] [takeTime=100.510876ms] [] [2025/04/05 06:58:52.912 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=ingest] [takeTime=102.604933ms] [] [2025/04/05 06:58:52.935 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [2025/04/05 06:58:52.937 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=2] [2025/04/05 06:58:52.937 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.938 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:52.942 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000203800000000000000001746573742D300000FD038000000000000000] [endKey=74800000000000007A5F69800000000000000203800000000000270F01746573742D393939FF3900000000000000F803800000000000270F00] [len(keys)=2] [] [2025/04/05 06:58:52.942 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:52.964 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:52.964 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:52.964 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:52.964 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000020380000000FF0000000001746573FF742D300000FD0380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000020380000000FF0000270F01746573FF742D393939FF3900FF000000000000F803FF800000000000270FFF0000000000000000F9] [2025/04/05 06:58:52.965 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.976µs] [2025/04/05 06:58:52.965 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=660.609µs] [] [2025/04/05 06:58:52.965 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:52.965 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:52.965 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [end-key=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [2025/04/05 06:58:52.965 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:52.971 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.678811ms] [] [2025/04/05 06:58:52.971 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:52.983 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:52.984 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=18.966908ms] [] [2025/04/05 06:58:52.984 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 06:58:52.985 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=20.624404ms] [droppedSize=0] [2025/04/05 06:58:52.993 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.895253ms] [2025/04/05 06:58:52.994 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000203800000000000000001746573742d300000fd038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000203800000000000270f01746573742d393939ff3900000000000000f803800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000000001746573ff742d300000fd0380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000020380000000ff0000270f01746573ff742d393939ff3900ff000000000000f803ff800000000000270fff0000000000000000f8] [2025/04/05 06:58:53.017 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=54d02857-7fde-5e9a-9a20-8cf556c9d0e8] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/05 06:58:53.018 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=24] [kv-group=2] [takeTime=81.468002ms] [] [2025/04/05 06:58:53.019 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=ingest] [takeTime=83.802659ms] [] [2025/04/05 06:58:53.041 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [2025/04/05 06:58:53.043 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=3] [2025/04/05 06:58:53.043 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.044 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:53.047 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007A5F69800000000000000301746573742D300000FD038000000000000000038000000000000000] [endKey=74800000000000007A5F69800000000000000301746573742D393939FF3900000000000000F803800000000000270F03800000000000270F00] [len(keys)=2] [] [2025/04/05 06:58:53.047 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:53.070 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:53.070 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:53.070 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:53.071 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7A5F698000000000FF0000030174657374FF2D300000FD038000FF0000000000000380FF0000000000000000FE] [end=7480000000000000FF7A5F698000000000FF0000030174657374FF2D393939FF390000FF0000000000F80380FF0000000000270F03FF800000000000270FFF0000000000000000F9] [2025/04/05 06:58:53.071 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.926µs] [2025/04/05 06:58:53.071 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=755.94µs] [] [2025/04/05 06:58:53.071 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:53.071 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:53.071 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=8] [stat-file-count=8] [start-key=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [end-key=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [2025/04/05 06:58:53.071 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:53.077 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.943716ms] [] [2025/04/05 06:58:53.077 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:53.091 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.092 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=20.812116ms] [] [2025/04/05 06:58:53.092 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10000] [droppedSize=0] [2025/04/05 06:58:53.094 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=22.759653ms] [droppedSize=0] [2025/04/05 06:58:53.107 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=13.359225ms] [2025/04/05 06:58:53.108 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007a5f69800000000000000301746573742d300000fd038000000000000000038000000000000000] [endOfAllRanges=74800000000000007a5f69800000000000000301746573742d393939ff3900000000000000f803800000000000270f03800000000000270f00] [startKeyOfFirstRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d300000fd038000ff0000000000000380ff0000000000000000fe] [endKeyOfLastRegion=7480000000000000ff7a5f698000000000ff0000030174657374ff2d393939ff390000ff0000000000f80380ff0000000000270f03ff800000000000270fff0000000000000000f8] [2025/04/05 06:58:53.137 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=87740094-6033-5a46-85c3-533d680c8701] [size=107374182400] [kvs=0] [importedSize=797862] [importedCount=10000] [2025/04/05 06:58:53.138 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=ingest] [subtask-id=25] [kv-group=3] [takeTime=95.548322ms] [] [2025/04/05 06:58:53.138 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=ingest] [takeTime=97.694288ms] [] [2025/04/05 06:58:53.199 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=ingest] [next-step=post-process] [2025/04/05 06:58:53.200 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:53.202 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [2025/04/05 06:58:53.223 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [result="{\"LoadedRowCnt\":10000}"] [2025/04/05 06:58:53.225 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=ingest] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:53.225 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:53.260 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=ingest] [newStep=post-process] [2025/04/05 06:58:53.267 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=ingest] [2025/04/05 06:58:53.273 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:53.273 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:53.273 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:53.273 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:53.273 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:53.273 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:53.273 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:53.273 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:53.273 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:53.273 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:53.273 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:53.273 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:53.275 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:53.275 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:53.275 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:53.275 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:53.275 +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=586.613361ms] [] [2025/04/05 06:58:53.277 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:53.284 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=post-process] [2025/04/05 06:58:53.284 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 06:58:53.284 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 06:58:53.285 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [2025/04/05 06:58:53.285 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=1.927µs] [] [2025/04/05 06:58:53.285 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=-1] [size=368890] [kvs=10000] [checksum=14807964115588225436] [2025/04/05 06:58:53.285 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=1] [size=657990] [kvs=10000] [checksum=4056391227583092039] [2025/04/05 06:58:53.285 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=2] [size=797862] [kvs=10000] [checksum=554937224690942610] [2025/04/05 06:58:53.285 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [groupId=3] [size=797862] [kvs=10000] [checksum=7064370007260104284] [2025/04/05 06:58:53.285 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [checksum="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/05 06:58:53.285 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [weight=30] [2025/04/05 06:58:53.285 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [concurrency=15] [2025/04/05 06:58:53.293 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=-1] [checksum=14807964115588225436] [totalKvs=10000] [totalBytes=368890] [2025/04/05 06:58:53.293 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=1] [checksum=4056391227583092039] [totalKvs=10000] [totalBytes=657990] [2025/04/05 06:58:53.299 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=3] [checksum=7064370007260104284] [totalKvs=10000] [totalBytes=797862] [2025/04/05 06:58:53.303 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=122] [physicalTableID=122] [indexID=2] [checksum=554937224690942610] [totalKvs=10000] [totalBytes=797862] [2025/04/05 06:58:53.303 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:53.303 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [local="{cksum=10408207814181128213,size=2622604,kvs=40000}"] [2025/04/05 06:58:53.303 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=18.701948ms] [] [2025/04/05 06:58:53.303 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=26] [takeTime=18.872992ms] [] [2025/04/05 06:58:53.303 +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=19.045618ms] [] [2025/04/05 06:58:53.317 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:53.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=post-process] [next-step=done] [2025/04/05 06:58:53.399 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 06:58:53.402 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 06:58:53.423 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [takeTime=146.023662ms] [] [2025/04/05 06:58:53.423 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 06:58:53.493 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.895164883\n# Parse_time: 0.000102895\n# Compile_time: 0.000406675\n# Rewrite_time: 0.000083825\n# Optimize_time: 0.001005601\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuODlzLCBvcGVuOjU3OW5zLCBjbG9zZTo4MjlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuODlzLCBvcGVuOjU3OW5zLCBjbG9zZTo4MjlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\nuse gs_multi_files;\nIMPORT INTO `gs_multi_files`.`t` FROM 'gs://gs-multi-files/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH cloud_storage_uri=_UTF8MB4'gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 06:58:53.494 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:53.501 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:53.501 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 06:58:53.503 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=4] [2025/04/05 06:58:53.503 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.504 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestGlobalSortMultiFiles (2.24s) === NAME TestImportInto === RUN TestImportInto/TestGlobalSortUniqueKeyConflict [2025/04/05 06:58:53.679 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists gs_multi_files"] [2025/04/05 06:58:53.679 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:queueing, SchemaState:public, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.701 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=207.357µs] [gotSchemaVersion=62] [phyTblIDs="[122]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:53.705 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=62] [2025/04/05 06:58:53.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=62] ["take time"=7.401464ms] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:write only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.718 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=4] [takeTime=215.529608ms] [] [2025/04/05 06:58:53.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=159.874µs] [gotSchemaVersion=63] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:53.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=63] [2025/04/05 06:58:53.735 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=63] ["take time"=7.231752ms] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.742 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:53.744 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:running, SchemaState:delete only, SchemaID:120, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.750 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:58:53.760 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=129.458µs] [gotSchemaVersion=64] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:58:53.763 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=64] [2025/04/05 06:58:53.765 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=64] ["take time"=6.952634ms] [job="ID:124, Type:drop schema, State:done, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.774 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=124] [tableIDs="[122]"] [comment="drop schema: table IDs"] [2025/04/05 06:58:53.779 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=124] [jobType="drop schema"] [2025/04/05 06:58:53.780 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=2] [job="ID:124, Type:drop schema, State:synced, SchemaState:none, SchemaID:120, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.796 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 06:58:53.796 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=64] [cur_db=] [sql="drop database if exists gs_multi_files"] [user=] [2025/04/05 06:58:53.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database gs_multi_files"] [2025/04/05 06:58:53.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:queueing, SchemaState:none, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=669.072µs] [gotSchemaVersion=65] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:53.829 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=65] [2025/04/05 06:58:53.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=65] ["take time"=7.203165ms] [job="ID:126, Type:create schema, State:done, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.841 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:create schema, State:synced, SchemaState:public, SchemaID:125, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.851 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 06:58:53.851 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=65] [cur_db=] [sql="create database gs_multi_files"] [user=] [2025/04/05 06:58:53.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100) unique key);"] [2025/04/05 06:58:53.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.875 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/05 06:58:53.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.533918ms] [gotSchemaVersion=66] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:53.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=66] [2025/04/05 06:58:53.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=66] ["take time"=8.816257ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.906 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:125, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.917 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 06:58:53.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="create table t (a bigint primary key , b varchar(100) unique key);"] [user=] [2025/04/05 06:58:53.923 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.924 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.941 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:53.974 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://gs-multi-files-uk/t.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"cloud_storage_uri\":\"gs://sorted/gs_multi_files?endpoint=http://127.0.0.1:4443/storage/v1/\",\"thread\":\"8\"}}"] [dist-task-enabled=true] [2025/04/05 06:58:53.993 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=144.3KiB] [thread-cnt=8] [global-sort=true] [2025/04/05 06:58:54.007 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:54.007 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:54.109 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=encode] [2025/04/05 06:58:54.111 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:54.112 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [2025/04/05 06:58:54.120 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.121 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.124 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:54.124 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:54.124 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=10] [MaxChunkSize=268435456] [RegionsCount=10] [BatchSize=1] [cost=191.515µs] [2025/04/05 06:58:54.124 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=379.326µs] [] [2025/04/05 06:58:54.125 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.126 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.150 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=encode] [subtask-count=10] [2025/04/05 06:58:54.150 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=encode] [concurrency=8] [subtasks=10] [2025/04/05 06:58:54.185 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:54.207 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/05 06:58:54.207 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.208 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:54.217 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:54.217 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:54.217 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:54.217 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:54.217 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:54.217 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:54.217 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:54.218 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:54.218 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:54.218 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:54.224 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 06:58:54.231 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:54.233 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:54.233 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:54.233 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=encode] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:54.233 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=encode] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:54.241 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [2025/04/05 06:58:54.241 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/042d8150-5599-40a7-a960-c466739b45cc] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f5ff57ca-b025-4f38-9f7d-22a745fe1455] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c8260d75-966c-4f95-9855-ce94a1abd46b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/36912c64-df83-451a-a144-3069359e5691] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b1c8cdc4-7c52-410c-b5cc-5bb14bd02f76] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/baa5b350-6814-43f9-9581-9225d90b4e45] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.243 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.243 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e1593b4d-995f-40b5-b9b2-b52dc7f01c84] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.245 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [2025/04/05 06:58:54.285 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.0.csv:0] [readDur=7.115663ms] [encodeDur=26.373717ms] [checksum="{cksum=14807964115588225436,size=98880,kvs=2000}"] [deliverDur=2.212373ms] [type=file] [takeTime=39.24164ms] [] [2025/04/05 06:58:54.297 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/e43b5a47-56e3-4a23-9873-495059bf19da] [sequence-number=0] [bytes=51890] [stat-size=74] [write-time=11.653722ms] [write-speed(bytes/s)=4.246MiB] [2025/04/05 06:58:54.297 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/e43b5a47-56e3-4a23-9873-495059bf19da] [sequence-number=0] [bytes=51890] [kv-cnt=1000] [sort-time=354.783µs] [write-time=11.778069ms] [sort-speed(kv/s)=2818624.3422] [writer-id=data/e43b5a47-56e3-4a23-9873-495059bf19da] [2025/04/05 06:58:54.297 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e43b5a47-56e3-4a23-9873-495059bf19da] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000000] [maxKey=74800000000000007f5f7280000000000003e7] [2025/04/05 06:58:54.314 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/e43b5a47-56e3-4a23-9873-495059bf19da] [sequence-number=0] [bytes=78990] [stat-size=103] [write-time=12.426518ms] [write-speed(bytes/s)=6.062MiB] [2025/04/05 06:58:54.314 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/e43b5a47-56e3-4a23-9873-495059bf19da] [sequence-number=0] [bytes=78990] [kv-cnt=1000] [sort-time=4.064185ms] [write-time=12.557344ms] [sort-speed(kv/s)=246051.7914] [writer-id=index/1/e43b5a47-56e3-4a23-9873-495059bf19da] [2025/04/05 06:58:54.314 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/e43b5a47-56e3-4a23-9873-495059bf19da] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d300000fd] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff0000000000000000f7] [2025/04/05 06:58:54.314 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=0] [2025/04/05 06:58:54.317 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=27] [takeTime=75.905753ms] [] [2025/04/05 06:58:54.317 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=encode] [takeTime=76.117149ms] [] [2025/04/05 06:58:54.340 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [2025/04/05 06:58:54.340 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c7b6e581-5e84-46a2-bd5d-367f551a2a71] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3b38c838-f126-4f8c-940c-92fda3cc58a0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/15619862-47c4-4036-acbb-fbb84572505f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/068d1ce3-e199-4117-a121-4a9e3b4fafad] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/658cc656-8455-42d6-ae9c-1d1081cfd318] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fc8924d5-9c02-40cb-bb73-0ba9851fbcc1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/14ac00dc-7518-4054-a370-702a0afc583f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.342 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.344 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [2025/04/05 06:58:54.384 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.1.csv:0] [readDur=7.363867ms] [encodeDur=27.19896ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.13407ms] [type=file] [takeTime=39.15286ms] [] [2025/04/05 06:58:54.395 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=11.043432ms] [write-speed(bytes/s)=4.577MiB] [2025/04/05 06:58:54.395 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=331.602µs] [write-time=11.16708ms] [sort-speed(kv/s)=3015663.3555] [writer-id=data/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [2025/04/05 06:58:54.395 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000003e8] [maxKey=74800000000000007f5f7280000000000007cf] [2025/04/05 06:58:54.408 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.423085ms] [write-speed(bytes/s)=6.218MiB] [2025/04/05 06:58:54.408 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=349.58µs] [write-time=12.546902ms] [sort-speed(kv/s)=2860575.5478] [writer-id=index/1/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [2025/04/05 06:58:54.409 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/e7660e8e-bc7b-4d74-9066-2dcea1542ed3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d313939ff3900000000000000f8] [2025/04/05 06:58:54.409 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=1] [2025/04/05 06:58:54.411 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=28] [takeTime=71.450528ms] [] [2025/04/05 06:58:54.412 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=encode] [takeTime=71.989559ms] [] [2025/04/05 06:58:54.435 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [2025/04/05 06:58:54.435 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/818ba990-3591-4e38-ac87-7feb5fdaada8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/02cb8415-5cd7-45a4-b8a6-b31ea1c6ea62] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/cb2144f9-e8bd-401e-828a-a1df9a6f4bc4] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/48c47480-4541-4ec4-b52b-d4e662faf0b6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/81709b0f-2c1b-4c4b-a44d-86813abd9ede] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/bd252956-5536-400c-ae48-1af3c2da0456] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.438 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.438 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5e317102-498a-4518-89e5-78a0565e4dd7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.440 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [2025/04/05 06:58:54.484 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.3.csv:0] [readDur=8.253508ms] [encodeDur=30.979242ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.151296ms] [type=file] [takeTime=43.728631ms] [] [2025/04/05 06:58:54.495 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=10.920225ms] [write-speed(bytes/s)=4.629MiB] [2025/04/05 06:58:54.495 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=351.971µs] [write-time=11.032365ms] [sort-speed(kv/s)=2841143.1624] [writer-id=data/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [2025/04/05 06:58:54.496 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000bb8] [maxKey=74800000000000007f5f728000000000000f9f] [2025/04/05 06:58:54.509 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=12.854445ms] [write-speed(bytes/s)=6.009MiB] [2025/04/05 06:58:54.509 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=341.837µs] [write-time=12.990472ms] [sort-speed(kv/s)=2925370.8639] [writer-id=index/1/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [2025/04/05 06:58:54.509 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/c7d95ca3-b4b6-41f3-bd8b-3da4a5a7c4e3] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d333030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d333939ff3900000000000000f8] [2025/04/05 06:58:54.509 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=3] [2025/04/05 06:58:54.512 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=29] [takeTime=76.410938ms] [] [2025/04/05 06:58:54.512 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=encode] [takeTime=76.594085ms] [] [2025/04/05 06:58:54.534 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [2025/04/05 06:58:54.534 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [2025/04/05 06:58:54.536 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4ba1defc-3e30-42c0-8a66-573a02845e8d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/266002e8-fdc5-451c-8784-ccb9d714547c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/66039a09-25de-49e2-a6dc-167dd50e19be] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/588542e1-5cbd-49ce-92a7-4190defae60f] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d40b2220-ad8a-4552-beb9-f96f8fd25e57] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/14b9246e-2012-46ee-adcb-ccfb75ef26e8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.537 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.537 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/31cea974-032c-475b-b48c-29b9bf2e1c9c] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.539 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [2025/04/05 06:58:54.577 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.4.csv:0] [readDur=7.099971ms] [encodeDur=26.761404ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=2.168224ms] [type=file] [takeTime=38.353066ms] [] [2025/04/05 06:58:54.590 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/fca42b92-e370-415f-8fee-f37baff09a98] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=12.457373ms] [write-speed(bytes/s)=4.057MiB] [2025/04/05 06:58:54.590 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/fca42b92-e370-415f-8fee-f37baff09a98] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=337.228µs] [write-time=12.586486ms] [sort-speed(kv/s)=2965352.8177] [writer-id=data/fca42b92-e370-415f-8fee-f37baff09a98] [2025/04/05 06:58:54.590 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fca42b92-e370-415f-8fee-f37baff09a98] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000000fa0] [maxKey=74800000000000007f5f728000000000001387] [2025/04/05 06:58:54.604 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/fca42b92-e370-415f-8fee-f37baff09a98] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.076294ms] [write-speed(bytes/s)=5.907MiB] [2025/04/05 06:58:54.604 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/fca42b92-e370-415f-8fee-f37baff09a98] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=326.175µs] [write-time=13.221949ms] [sort-speed(kv/s)=3065838.8902] [writer-id=index/1/fca42b92-e370-415f-8fee-f37baff09a98] [2025/04/05 06:58:54.604 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/fca42b92-e370-415f-8fee-f37baff09a98] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d343030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d343939ff3900000000000000f8] [2025/04/05 06:58:54.604 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=4] [2025/04/05 06:58:54.607 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=30] [takeTime=72.492285ms] [] [2025/04/05 06:58:54.607 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=encode] [takeTime=72.676977ms] [] [2025/04/05 06:58:54.630 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [2025/04/05 06:58:54.631 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d7c52b10-d0da-44dc-9de7-24c0a3d2c58d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1e97ae62-96d4-47c7-b473-856a913264f1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/234edabe-ed63-4669-b2be-d5ba46d0aa56] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/dd238fcc-d58d-443f-957b-350c4c1548c1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/8f1e5e9d-5229-4ee4-aacd-9a6f068cd884] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/4e426930-e57a-4f2f-9001-89743a7a123d] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.633 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.633 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/79d9b7e4-4461-4c2a-b5f2-e4948f2faa03] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.635 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [2025/04/05 06:58:54.678 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.5.csv:0] [readDur=7.920295ms] [encodeDur=29.519459ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=3.23199ms] [type=file] [takeTime=42.505209ms] [] [2025/04/05 06:58:54.691 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/71feac4b-5f48-421d-8235-e0cfb765f38c] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=12.244265ms] [write-speed(bytes/s)=4.128MiB] [2025/04/05 06:58:54.691 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/71feac4b-5f48-421d-8235-e0cfb765f38c] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=350.45µs] [write-time=12.375256ms] [sort-speed(kv/s)=2853474.1047] [writer-id=data/71feac4b-5f48-421d-8235-e0cfb765f38c] [2025/04/05 06:58:54.691 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/71feac4b-5f48-421d-8235-e0cfb765f38c] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001388] [maxKey=74800000000000007f5f72800000000000176f] [2025/04/05 06:58:54.705 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/71feac4b-5f48-421d-8235-e0cfb765f38c] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=13.479385ms] [write-speed(bytes/s)=5.731MiB] [2025/04/05 06:58:54.705 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/71feac4b-5f48-421d-8235-e0cfb765f38c] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=372.25µs] [write-time=13.619727ms] [sort-speed(kv/s)=2686366.6891] [writer-id=index/1/71feac4b-5f48-421d-8235-e0cfb765f38c] [2025/04/05 06:58:54.705 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/71feac4b-5f48-421d-8235-e0cfb765f38c] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d353030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d353939ff3900000000000000f8] [2025/04/05 06:58:54.705 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=5] [2025/04/05 06:58:54.708 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=31] [takeTime=77.266322ms] [] [2025/04/05 06:58:54.708 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=encode] [takeTime=77.44554ms] [] [2025/04/05 06:58:54.727 +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/05 06:58:54.728 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=3] [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.(*tableWorker).executeTask.func1\n\tpkg/executor/distsql.go:1537\ngithub.com/pingcap/tidb/pkg/executor.(*tableWorker).executeTask\n\tpkg/executor/distsql.go:1566\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/05 06:58:54.736 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [2025/04/05 06:58:54.736 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c1435e32-1fd4-487d-b0aa-1e6b108a1e04] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7c787a7e-f16a-4ee1-8817-56da7b3b6c39] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a6999b49-ef9a-4a84-bec7-69b42a7f8359] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5178d914-a8ff-4b52-8e30-8f20d608aac6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/474a684d-5f04-499b-a7f9-b0cbfb614e7b] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e5f659a0-0728-49f9-b452-852dd86226b0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.739 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/a5885866-354f-4092-b363-4a52730b2e3e] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.741 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [2025/04/05 06:58:54.781 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.9.csv:0] [readDur=7.399393ms] [encodeDur=27.424966ms] [checksum="{cksum=15899235463001290329,size=102100,kvs=2002}"] [deliverDur=2.15429ms] [type=file] [takeTime=39.395733ms] [] [2025/04/05 06:58:54.801 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/e72b3772-bf61-4497-8bf0-b8551436c3ed] [sequence-number=0] [bytes=53052] [stat-size=74] [write-time=19.678323ms] [write-speed(bytes/s)=2.571MiB] [2025/04/05 06:58:54.801 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/e72b3772-bf61-4497-8bf0-b8551436c3ed] [sequence-number=0] [bytes=53052] [kv-cnt=1001] [sort-time=334.244µs] [write-time=19.840558ms] [sort-speed(kv/s)=2994818.1568] [writer-id=data/e72b3772-bf61-4497-8bf0-b8551436c3ed] [2025/04/05 06:58:54.801 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e72b3772-bf61-4497-8bf0-b8551436c3ed] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000002328] [maxKey=74800000000000007f5f728000000005f5e0ff] [2025/04/05 06:58:54.818 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/e72b3772-bf61-4497-8bf0-b8551436c3ed] [sequence-number=0] [bytes=81080] [stat-size=112] [write-time=16.340391ms] [write-speed(bytes/s)=4.732MiB] [2025/04/05 06:58:54.818 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/e72b3772-bf61-4497-8bf0-b8551436c3ed] [sequence-number=0] [bytes=81080] [kv-cnt=1001] [sort-time=691.6µs] [write-time=16.465411ms] [sort-speed(kv/s)=1447368.4211] [writer-id=index/1/e72b3772-bf61-4497-8bf0-b8551436c3ed] [2025/04/05 06:58:54.818 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/e72b3772-bf61-4497-8bf0-b8551436c3ed] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7] [maxKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f8] [2025/04/05 06:58:54.819 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=9] [2025/04/05 06:58:54.824 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=32] [takeTime=87.081725ms] [] [2025/04/05 06:58:54.824 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=encode] [takeTime=87.258046ms] [] [2025/04/05 06:58:54.846 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [2025/04/05 06:58:54.846 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/eb2f226c-0516-4fe8-a175-1b28cb7324bf] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5f38193e-807c-4f9b-b5b5-431caa33c8b1] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9a9ab9d2-2328-4271-9c96-8c72c9be9e29] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/2578d362-de41-4423-ac33-75338df9b024] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d7eb7b4e-6aa2-4698-b6bd-0614d8cc8eca] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/24b532b8-45c8-44ae-8680-d5db9e12ab13] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.848 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.848 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/68f9aced-bf6c-48d4-815e-6805ecbd9852] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.850 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [2025/04/05 06:58:54.898 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.2.csv:0] [readDur=7.109001ms] [encodeDur=27.854711ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=10.953841ms] [type=file] [takeTime=48.025596ms] [] [2025/04/05 06:58:54.914 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/9352c05a-2f60-40d2-9342-e9c271da6828] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=15.71803ms] [write-speed(bytes/s)=3.216MiB] [2025/04/05 06:58:54.914 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/9352c05a-2f60-40d2-9342-e9c271da6828] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=395.676µs] [write-time=15.857434ms] [sort-speed(kv/s)=2527320.3328] [writer-id=data/9352c05a-2f60-40d2-9342-e9c271da6828] [2025/04/05 06:58:54.914 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/9352c05a-2f60-40d2-9342-e9c271da6828] [kv-cnt-cap=1365] [minKey=74800000000000007f5f7280000000000007d0] [maxKey=74800000000000007f5f728000000000000bb7] [2025/04/05 06:58:54.934 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/9352c05a-2f60-40d2-9342-e9c271da6828] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=19.388889ms] [write-speed(bytes/s)=3.984MiB] [2025/04/05 06:58:54.934 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/9352c05a-2f60-40d2-9342-e9c271da6828] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=338.108µs] [write-time=19.521853ms] [sort-speed(kv/s)=2957634.8386] [writer-id=index/1/9352c05a-2f60-40d2-9342-e9c271da6828] [2025/04/05 06:58:54.935 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/9352c05a-2f60-40d2-9342-e9c271da6828] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d323030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d323939ff3900000000000000f8] [2025/04/05 06:58:54.935 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=2] [2025/04/05 06:58:54.942 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=33] [takeTime=95.664392ms] [] [2025/04/05 06:58:54.942 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=encode] [takeTime=95.823532ms] [] [2025/04/05 06:58:54.964 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [2025/04/05 06:58:54.964 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/82c6338e-9f41-4961-87e9-72a30e0f1c72] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/b2fb471d-22ce-439b-98ff-333f89f22a86] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3f1ac070-1f2d-45eb-9695-2f5c03359ae2] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/5fd8313a-5e03-4a00-97b1-9b4e0ab641a0] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f3f818f8-951f-46a8-a485-f89ef24bac37] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/c3b24f6a-c711-446b-b747-32fd28522453] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.966 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:54.966 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ae0a4ce4-74dd-41b3-826d-6d7049a6e7a9] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:54.968 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [2025/04/05 06:58:55.020 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.6.csv:0] [readDur=7.32333ms] [encodeDur=29.31261ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=13.283046ms] [type=file] [takeTime=52.282108ms] [] [2025/04/05 06:58:55.042 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/f2740aed-6635-4c37-8035-9884c94f5d23] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=20.700913ms] [write-speed(bytes/s)=2.442MiB] [2025/04/05 06:58:55.042 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/f2740aed-6635-4c37-8035-9884c94f5d23] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=390.678µs] [write-time=20.835699ms] [sort-speed(kv/s)=2559652.7063] [writer-id=data/f2740aed-6635-4c37-8035-9884c94f5d23] [2025/04/05 06:58:55.042 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f2740aed-6635-4c37-8035-9884c94f5d23] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001770] [maxKey=74800000000000007f5f728000000000001b57] [2025/04/05 06:58:55.062 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/f2740aed-6635-4c37-8035-9884c94f5d23] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=19.161072ms] [write-speed(bytes/s)=4.031MiB] [2025/04/05 06:58:55.062 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/f2740aed-6635-4c37-8035-9884c94f5d23] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=356.361µs] [write-time=19.281158ms] [sort-speed(kv/s)=2806143.2087] [writer-id=index/1/f2740aed-6635-4c37-8035-9884c94f5d23] [2025/04/05 06:58:55.062 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/f2740aed-6635-4c37-8035-9884c94f5d23] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d363030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d363939ff3900000000000000f8] [2025/04/05 06:58:55.062 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=6] [2025/04/05 06:58:55.067 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=34] [takeTime=102.784528ms] [] [2025/04/05 06:58:55.067 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=encode] [takeTime=103.028296ms] [] [2025/04/05 06:58:55.098 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [2025/04/05 06:58:55.098 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/779b1536-9a9b-49a3-b80c-035ad21f1fe5] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/7e6e028c-b54f-43b9-a9ce-97d635a13aad] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/fbc87d7a-3614-4e0f-8fc3-599ca7886125] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/3fcf8385-b48f-4ba5-81fa-a50410a3e7fd] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/1e148767-205c-4bd7-9a1f-c6337e916834] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/49ec6d69-1711-4e53-8fb9-a970b6fce214] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.100 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/6494df52-8a3d-4938-8a2e-0d59d90a7198] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.102 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [2025/04/05 06:58:55.155 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.7.csv:0] [readDur=6.849884ms] [encodeDur=32.123462ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=11.151402ms] [type=file] [takeTime=52.696958ms] [] [2025/04/05 06:58:55.175 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/e9e8f789-4725-448d-879c-8f61fd04f906] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=19.316063ms] [write-speed(bytes/s)=2.617MiB] [2025/04/05 06:58:55.175 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/e9e8f789-4725-448d-879c-8f61fd04f906] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=346.314µs] [write-time=19.422019ms] [sort-speed(kv/s)=2887552.9144] [writer-id=data/e9e8f789-4725-448d-879c-8f61fd04f906] [2025/04/05 06:58:55.175 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/e9e8f789-4725-448d-879c-8f61fd04f906] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001b58] [maxKey=74800000000000007f5f728000000000001f3f] [2025/04/05 06:58:55.204 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/e9e8f789-4725-448d-879c-8f61fd04f906] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=28.462956ms] [write-speed(bytes/s)=2.714MiB] [2025/04/05 06:58:55.204 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/e9e8f789-4725-448d-879c-8f61fd04f906] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=479.682µs] [write-time=28.58152ms] [sort-speed(kv/s)=2084714.4567] [writer-id=index/1/e9e8f789-4725-448d-879c-8f61fd04f906] [2025/04/05 06:58:55.204 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/e9e8f789-4725-448d-879c-8f61fd04f906] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d373030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d373939ff3900000000000000f8] [2025/04/05 06:58:55.205 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=7] [2025/04/05 06:58:55.215 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=35] [takeTime=117.046033ms] [] [2025/04/05 06:58:55.215 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=encode] [takeTime=117.234689ms] [] [2025/04/05 06:58:55.238 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [2025/04/05 06:58:55.238 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d5930115-3d5c-4612-9d87-457d95c4ecd6] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/be9c852f-6290-4aa1-95ca-9ac127020664] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/622ffd54-a617-4d58-aa85-0f825c499590] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/f83a01db-7619-4a8c-98b8-67e9eb2e73aa] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/11eb0945-d01b-4454-9866-a7c960d4b3e7] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/ef2fc1b4-d398-462f-b9c2-e493d10b9d86] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.240 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d1303449-b6e4-4f61-94fe-631fcfae7ad8] [kv-cnt-cap=0] [minKey=] [maxKey=] [2025/04/05 06:58:55.242 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [2025/04/05 06:58:55.300 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=t.8.csv:0] [readDur=6.870109ms] [encodeDur=26.387599ms] [checksum="{cksum=0,size=102000,kvs=2000}"] [deliverDur=23.007362ms] [type=file] [takeTime=58.700085ms] [] [2025/04/05 06:58:55.331 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=data/d94ce507-8cd5-40eb-af48-0a381e848ebe] [sequence-number=0] [bytes=53000] [stat-size=74] [write-time=30.428532ms] [write-speed(bytes/s)=1.661MiB] [2025/04/05 06:58:55.332 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=data/d94ce507-8cd5-40eb-af48-0a381e848ebe] [sequence-number=0] [bytes=53000] [kv-cnt=1000] [sort-time=342.753µs] [write-time=30.559356ms] [sort-speed(kv/s)=2917552.8734] [writer-id=data/d94ce507-8cd5-40eb-af48-0a381e848ebe] [2025/04/05 06:58:55.332 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=data/d94ce507-8cd5-40eb-af48-0a381e848ebe] [kv-cnt-cap=1365] [minKey=74800000000000007f5f728000000000001f40] [maxKey=74800000000000007f5f728000000000002327] [2025/04/05 06:58:55.372 +00:00] [INFO] [writer.go:570] ["flush sorted kv"] [writer-id=index/1/d94ce507-8cd5-40eb-af48-0a381e848ebe] [sequence-number=0] [bytes=81000] [stat-size=112] [write-time=39.771292ms] [write-speed(bytes/s)=1.942MiB] [2025/04/05 06:58:55.372 +00:00] [INFO] [writer.go:479] ["flush kv"] [writer-id=index/1/d94ce507-8cd5-40eb-af48-0a381e848ebe] [sequence-number=0] [bytes=81000] [kv-cnt=1000] [sort-time=343.304µs] [write-time=39.890129ms] [sort-speed(kv/s)=2912870.2258] [writer-id=index/1/d94ce507-8cd5-40eb-af48-0a381e848ebe] [2025/04/05 06:58:55.372 +00:00] [INFO] [writer.go:413] ["close writer"] [writerID=index/1/d94ce507-8cd5-40eb-af48-0a381e848ebe] [kv-cnt-cap=1365] [minKey=74800000000000007f5f69800000000000000101746573742d383030ff3000000000000000f8] [maxKey=74800000000000007f5f69800000000000000101746573742d383939ff3900000000000000f8] [2025/04/05 06:58:55.372 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=encode] [engine-id=8] [2025/04/05 06:58:55.391 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=encode] [subtask-id=36] [takeTime=152.766564ms] [] [2025/04/05 06:58:55.391 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=encode] [takeTime=152.929574ms] [] [2025/04/05 06:58:55.414 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=encode] [next-step=merge-sort] [2025/04/05 06:58:55.415 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:55.416 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [2025/04/05 06:58:55.422 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.423 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.440 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=data] [2025/04/05 06:58:55.440 +00:00] [INFO] [planner.go:366] ["skip merge sort for kv group"] [task-id=5] [kv-group=1] [2025/04/05 06:58:55.440 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.441 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.444 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=encode] [next-step=merge-sort] [subtask-count=0] [2025/04/05 06:58:55.444 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=merge-sort] [concurrency=8] [subtasks=0] [2025/04/05 06:58:55.514 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:55.515 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:55.516 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [2025/04/05 06:58:55.532 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.534 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.534 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:55.534 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=encode] [2025/04/05 06:58:55.535 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:55.535 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:55.535 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:55.535 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:55.535 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:55.535 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:55.535 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:55.535 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.535 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.536 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.536 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:55.535 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.538 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:55.538 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.538 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.538 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.538 +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.304764533s] [] [2025/04/05 06:58:55.538 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:58:55.552 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:55.553 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:55.554 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:55.554 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:55.554 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:55.554 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:55.554 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:55.554 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:55.554 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:55.555 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:55.555 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:55.559 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:55.559 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:55.559 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:55.559 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:55.559 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:55.559 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:55.559 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:55.559 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.559 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.559 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.559 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.559 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:55.560 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:55.560 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:55.566 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f728000000000000000] [endKey=74800000000000007f5f728000000005f5e0ff00] [dataFiles=10] [2025/04/05 06:58:55.566 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:55.568 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:55.569 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:55.569 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:55.570 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:55.570 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:55.570 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:55.570 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:55.570 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:55.570 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:55.571 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:55.571 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:55.575 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:55.575 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:55.575 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:55.575 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:55.575 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:55.575 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:55.575 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:55.575 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.575 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.575 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.575 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:55.575 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.576 +00:00] [INFO] [planner.go:604] ["split kv range with split size and keys"] [region-split-size=256000000] [region-split-keys=2560000] [range-size=256000000] [range-keys=2560000] [2025/04/05 06:58:55.576 +00:00] [INFO] [split.go:130] ["create range splitter"] [rangesGroupSize=107374182400] [rangesGroupKeyCnt=9223372036854775807] [rangeJobSize=256000000] [rangeJobKeyCnt=2560000] [regionSplitSize=256000000] [regionSplitKeyCnt=2560000] [2025/04/05 06:58:55.581 +00:00] [INFO] [planner.go:469] ["kv range as subtask"] [startKey=74800000000000007f5f69800000000000000101746573742d300000fd] [endKey=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [dataFiles=10] [2025/04/05 06:58:55.581 +00:00] [INFO] [split.go:166] ["close range splitter"] [] [2025/04/05 06:58:55.581 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.582 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.617 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=merge-sort] [next-step=ingest] [subtask-count=2] [2025/04/05 06:58:55.617 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=ingest] [concurrency=8] [subtasks=2] [2025/04/05 06:58:55.655 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:55.674 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.675 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.683 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:55.683 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:55.684 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:55.684 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:55.684 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:55.684 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:55.684 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:55.684 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:55.684 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:55.685 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:55.696 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:55.698 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:55.698 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:55.698 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [step=ingest] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:55.705 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [2025/04/05 06:58:55.707 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [2025/04/05 06:58:55.708 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.708 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:55.712 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F728000000000000000] [endKey=74800000000000007F5F728000000005F5E0FF00] [len(keys)=2] [] [2025/04/05 06:58:55.712 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:55.734 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:55.734 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:55.734 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:55.734 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F728000000000FF0000000000000000FA] [end=7480000000000000FF7F5F728000000005FFF5E0FF0000000000FC] [2025/04/05 06:58:55.735 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=3.757µs] [2025/04/05 06:58:55.735 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=696.368µs] [] [2025/04/05 06:58:55.735 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:55.735 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:55.735 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f728000000000000000] [end-key=74800000000000007f5f728000000005f5e0ff00] [2025/04/05 06:58:55.735 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:55.740 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.315477ms] [] [2025/04/05 06:58:55.740 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:55.749 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.749 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=14.628958ms] [] [2025/04/05 06:58:55.749 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/05 06:58:55.751 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=16.107904ms] [droppedSize=0] [2025/04/05 06:58:55.759 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=7.644142ms] [2025/04/05 06:58:55.760 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000000] [endOfAllRanges=74800000000000007f5f728000000005f5e0ff00] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7800000000000000fb] [2025/04/05 06:58:55.782 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=82e342e1-5b86-5da8-9a1f-fbfebae10a53] [size=107374182400] [kvs=0] [importedSize=368926] [importedCount=10001] [2025/04/05 06:58:55.784 +00:00] [INFO] [task_executor.go:447] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=37] [kv-group=data] [takeTime=76.818728ms] [] [2025/04/05 06:58:55.784 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=ingest] [takeTime=78.99038ms] [] [2025/04/05 06:58:55.806 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=ingest] [2025/04/05 06:58:55.808 +00:00] [INFO] [task_executor.go:445] ["run subtask start"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [2025/04/05 06:58:55.808 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.809 +00:00] [INFO] [engine.go:196] ["create external engine"] [memLimitForLoadRange=7.385GiB] [2025/04/05 06:58:55.813 +00:00] [INFO] [local.go:886] ["split engine key ranges"] [category=ddl-ingest] [engine=external] [totalSize=107374182400] [totalCount=0] [startKey=74800000000000007F5F69800000000000000101746573742D300000FD] [endKey=74800000000000007F5F69800000000000000101746573742D393939FF3900000000000000F800] [len(keys)=2] [] [2025/04/05 06:58:55.813 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:55.835 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=68cc56fc-cbcc-5dee-917f-fd1e8e404a8f] ["region ranges"=1] [count=0] [size=107374182400] [2025/04/05 06:58:55.835 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:55.835 +00:00] [INFO] [local.go:916] ["split and scatter ranges start"] [category=ddl-ingest] [uuid=external] [2025/04/05 06:58:55.836 +00:00] [INFO] [client.go:568] ["paginate scan regions"] [count=2] [start=7480000000000000FF7F5F698000000000FF0000010174657374FF2D300000FD000000FC] [end=7480000000000000FF7F5F698000000000FF0000010174657374FF2D393939FF390000FF0000000000F80000FF0000000000000000F7] [2025/04/05 06:58:55.836 +00:00] [INFO] [localhelper.go:89] ["waiting for scattering regions done"] [category=ddl-ingest] [regions=0] [take=4.151µs] [2025/04/05 06:58:55.836 +00:00] [INFO] [local.go:941] ["split and scatter ranges completed"] [category=ddl-ingest] [uuid=external] [takeTime=659.504µs] [] [2025/04/05 06:58:55.836 +00:00] [INFO] [engine.go:443] ["load ingest data"] [batchSize=8] [2025/04/05 06:58:55.836 +00:00] [INFO] [reader.go:44] ["read all data start"] [2025/04/05 06:58:55.836 +00:00] [INFO] [reader.go:45] [arguments] [data-file-count=10] [stat-file-count=10] [start-key=74800000000000007f5f69800000000000000101746573742d300000fd] [end-key=74800000000000007f5f69800000000000000101746573742d393939ff3900000000000000f800] [2025/04/05 06:58:55.836 +00:00] [INFO] [util.go:60] ["seek props offsets start"] [2025/04/05 06:58:55.842 +00:00] [INFO] [util.go:62] ["seek props offsets completed"] [takeTime=5.970064ms] [] [2025/04/05 06:58:55.842 +00:00] [INFO] [engine.go:305] ["estimated file size of this range group"] [totalSize=0B] [2025/04/05 06:58:55.852 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:55.853 +00:00] [INFO] [reader.go:65] ["read all data completed"] [takeTime=17.009038ms] [] [2025/04/05 06:58:55.853 +00:00] [INFO] [engine.go:115] ["building memKVsAndBuffers"] [sumKVCnt=10001] [droppedSize=0] [2025/04/05 06:58:55.855 +00:00] [INFO] [engine.go:340] ["reading external storage in loadBatchRegionData"] ["cost time"=18.582611ms] [droppedSize=0] [2025/04/05 06:58:55.869 +00:00] [INFO] [engine.go:366] ["sorting in loadBatchRegionData"] ["cost time"=14.415362ms] [2025/04/05 06:58:55.869 +00:00] [ERROR] [local.go:1585] ["do import meets error"] [category=ddl-ingest] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.871 +00:00] [ERROR] [task_executor.go:447] ["run subtask failed"] [type=ImportInto] [task-id=5] [step=ingest] [subtask-id=38] [kv-group=1] [takeTime=62.701957ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:447\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*writeAndIngestStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:478\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:58:55.871 +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.133655ms] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.872 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.879 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [error="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [errorVerbose="duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).loadBatchRegionData\n\tpkg/lightning/backend/external/engine.go:370\ngithub.com/pingcap/tidb/pkg/lightning/backend/external.(*Engine).LoadIngestData\n\tpkg/lightning/backend/external/engine.go:447\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.func2\n\tpkg/lightning/backend/local/local.go:1016\ngithub.com/pingcap/tidb/pkg/lightning/backend/local.(*Backend).generateAndSendJob.(*ErrorGroupWithRecover).Go.func4\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:58:55.920 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7\\\"}\"]"] [2025/04/05 06:58:55.932 +00:00] [INFO] [task_executor.go:515] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=ingest] [2025/04/05 06:58:55.936 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:55.936 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:55.936 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:55.936 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:55.936 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:55.936 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.936 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:55.936 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:55.936 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.936 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:55.936 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.936 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:55.938 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:55.938 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:55.938 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:55.938 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:55.939 +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=240.660922ms] [] [2025/04/05 06:58:55.939 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:58:56.015 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=ingest] [state=reverting] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [2025/04/05 06:58:56.017 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 06:58:56.107 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=5] [error="[0]duplicate key found: 74800000000000007f5f69800000000000000101746573742d313233ff0000000000000000f7"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest4/importintotest4_test.(*mockGCSSuite).TestGlobalSortUniqueKeyConflict\n\ttests/realtikvtest/importintotest4/global_sort_test.go:215\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 06:58:56.107 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 2.189654409\n# Parse_time: 0.000160941\n# Compile_time: 0.000427568\n# Rewrite_time: 0.000084081\n# Optimize_time: 0.000408859\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjIuMTlzLCBvcGVuOjYzMm5zLCBjbG9zZToxLjAywrVzLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZToyLjE5cywgb3Blbjo2MzJucywgY2xvc2U6MS4wMsK1cywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\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.48s) === NAME TestImportInto === RUN TestImportInto/TestSplitFile [2025/04/05 06:58:56.109 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:56.112 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=gs_multi_files] [sql="drop database if exists split_file"] [user=] [2025/04/05 06:58:56.115 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:56.115 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 06:58:56.116 +00:00] [INFO] [clean_s3.go:55] ["cleanup global sorted data start"] [task-id=5] [2025/04/05 06:58:56.117 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:56.118 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:56.124 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database split_file"] [2025/04/05 06:58:56.124 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.129 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:queueing, SchemaState:none, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=726.08µs] [gotSchemaVersion=67] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:56.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=67] [2025/04/05 06:58:56.149 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=67] ["take time"=7.654733ms] [job="ID:130, Type:create schema, State:done, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.159 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=2] [job="ID:130, Type:create schema, State:synced, SchemaState:public, SchemaID:129, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.170 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/05 06:58:56.170 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=gs_multi_files] [sql="create database split_file"] [user=] [2025/04/05 06:58:56.185 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.185 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key , b varchar(100));"] [2025/04/05 06:58:56.287 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.294 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: t)"] [2025/04/05 06:58:56.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.646758ms] [gotSchemaVersion=68] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:56.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=68] [2025/04/05 06:58:56.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=68] ["take time"=9.851294ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.329 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.342 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 06:58:56.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=68] [cur_db=split_file] [sql="create table t (a bigint primary key , b varchar(100));"] [user=] [2025/04/05 06:58:56.349 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:56.384 +00:00] [INFO] [clean_s3.go:72] ["cleanup global sorted data completed"] [task-id=5] [takeTime=267.476939ms] [] [2025/04/05 06:58:56.398 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 06:58:56.409 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:56.418 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:56.432 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 06:58:56.433 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:56.535 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:56.536 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:56.537 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 06:58:56.545 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:56.547 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:56.548 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:56.553 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=5.134568ms] [2025/04/05 06:58:56.553 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.277241ms] [] [2025/04/05 06:58:56.553 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/05 06:58:56.553 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/05 06:58:56.585 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:56.605 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:58:56.605 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:56.613 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:56.613 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:56.614 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:56.614 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:56.614 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:56.614 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:56.614 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:56.615 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:56.615 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:56.627 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:56.629 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:56.629 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:56.629 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:56.629 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=348.5GiB] [2025/04/05 06:58:56.629 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:56.637 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/05 06:58:56.637 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [2025/04/05 06:58:56.641 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 06:58:56.642 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:56.646 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:56.647 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 06:58:56.661 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 06:58:56.677 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [2025/04/05 06:58:56.682 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:2107] [readDur=1.095265ms] [encodeDur=2.965698ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=753.916µs] [type=file] [takeTime=5.453913ms] [] [2025/04/05 06:58:56.684 +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/f847d9f0-bf35-4b9a-8149-b794d23caad4.sst] [firstKey=7480000000000000835F7280000000000000B3] [lastKey=7480000000000000835F728000000000000154] [2025/04/05 06:58:56.684 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 06:58:56.684 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 06:58:56.684 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:56.686 +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.130995ms] [] [2025/04/05 06:58:56.687 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/05 06:58:56.691 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.713 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/05 06:58:56.713 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.715 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f7280000000000000b3] [endOfAllRanges=7480000000000000835f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [2025/04/05 06:58:56.728 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/05 06:58:56.730 +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=43.729474ms] [] [2025/04/05 06:58:56.730 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:56.732 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.270228ms] [] [2025/04/05 06:58:56.732 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=1] [2025/04/05 06:58:56.732 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:56.734 +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.833723ms] [] [2025/04/05 06:58:56.734 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/05 06:58:56.737 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:56.738 +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.686988ms] [] [2025/04/05 06:58:56.738 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:56.739 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=951.208µs] [] [2025/04/05 06:58:56.739 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=39] [takeTime=101.367323ms] [] [2025/04/05 06:58:56.739 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=101.885669ms] [] [2025/04/05 06:58:56.762 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [2025/04/05 06:58:56.762 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [2025/04/05 06:58:56.768 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:56.771 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:56.772 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 06:58:56.825 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [2025/04/05 06:58:56.829 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:4213] [readDur=1.118979ms] [encodeDur=2.927314ms] [checksum="{cksum=8141207420748078351,size=5724,kvs=159}"] [deliverDur=171.131µs] [type=file] [takeTime=4.82221ms] [] [2025/04/05 06:58:56.831 +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/d1428a5e-2d24-45be-9051-552c6fbd25de.sst] [firstKey=7480000000000000835F728000000000000155] [lastKey=7480000000000000835F7280000000000001F3] [2025/04/05 06:58:56.831 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 06:58:56.831 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 06:58:56.831 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:56.834 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=3.104394ms] [] [2025/04/05 06:58:56.834 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/05 06:58:56.839 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:56.860 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/05 06:58:56.861 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:56.862 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000155] [endOfAllRanges=7480000000000000835f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0001f40000000000fa] [2025/04/05 06:58:56.874 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/05 06:58:56.876 +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=41.532095ms] [] [2025/04/05 06:58:56.876 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:56.877 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.106916ms] [] [2025/04/05 06:58:56.877 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=2] [2025/04/05 06:58:56.877 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:56.879 +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.645019ms] [] [2025/04/05 06:58:56.879 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/05 06:58:56.883 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:56.883 +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.843505ms] [] [2025/04/05 06:58:56.883 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:56.884 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=1.055032ms] [] [2025/04/05 06:58:56.884 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=40] [takeTime=121.793751ms] [] [2025/04/05 06:58:56.885 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=import] [takeTime=122.288833ms] [] [2025/04/05 06:58:56.908 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/05 06:58:56.908 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [2025/04/05 06:58:56.911 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:56.915 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:56.915 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=131] [2025/04/05 06:58:56.970 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=131] [key=1.csv:0] [2025/04/05 06:58:56.976 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=131] [key=1.csv:0] [readDur=1.94653ms] [encodeDur=3.150121ms] [checksum="{cksum=5150199586330057191,size=6334,kvs=179}"] [deliverDur=230.302µs] [type=file] [takeTime=5.850012ms] [] [2025/04/05 06:58:56.977 +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/940beaaa-087d-4dd8-986a-d4af6f165fe2.sst] [firstKey=7480000000000000835F728000000000000000] [lastKey=7480000000000000835F7280000000000000B2] [2025/04/05 06:58:56.977 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:56.977 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:56.977 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:56.980 +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.177263ms] [] [2025/04/05 06:58:56.980 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/05 06:58:56.985 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:57.007 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=179] [size=6334] [2025/04/05 06:58:57.007 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:57.009 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000835f728000000000000000] [endOfAllRanges=7480000000000000835f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff835f728000000000ff0000000000000000fa] [endKeyOfLastRegion=7480000000000000ff835f728000000000ff0000b30000000000fa] [2025/04/05 06:58:57.022 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6334] [kvs=179] [importedSize=6334] [importedCount=179] [2025/04/05 06:58:57.023 +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=43.713993ms] [] [2025/04/05 06:58:57.023 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:57.025 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.166972ms] [] [2025/04/05 06:58:57.025 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:58:57.025 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:57.026 +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.636623ms] [] [2025/04/05 06:58:57.026 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/05 06:58:57.030 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:57.030 +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.513234ms] [] [2025/04/05 06:58:57.030 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:57.031 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=928.556µs] [] [2025/04/05 06:58:57.031 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=41] [takeTime=123.566811ms] [] [2025/04/05 06:58:57.031 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=123.721373ms] [] [2025/04/05 06:58:57.140 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:57.141 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:57.142 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:57.142 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:57.173 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":500}"] [2025/04/05 06:58:57.175 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:57.175 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:57.182 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:58:57.182 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:58:57.187 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:57.187 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:57.187 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:57.187 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:57.187 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:57.187 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:57.187 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.187 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:57.187 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:57.188 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.188 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:57.188 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:57.190 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:57.190 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.190 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.190 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:57.190 +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=560.540348ms] [] [2025/04/05 06:58:57.190 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 06:58:57.206 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:57.226 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:57.234 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/05 06:58:57.234 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 06:58:57.234 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 06:58:57.234 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [2025/04/05 06:58:57.234 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=2.013µs] [] [2025/04/05 06:58:57.234 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [groupId=-1] [size=17890] [kvs=500] [checksum=14807964115588225436] [2025/04/05 06:58:57.234 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [checksum="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/05 06:58:57.234 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [weight=30] [2025/04/05 06:58:57.234 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/05 06:58:57.241 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=131] [physicalTableID=131] [indexID=-1] [checksum=14807964115588225436] [totalKvs=500] [totalBytes=17890] [2025/04/05 06:58:57.241 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:57.241 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [local="{cksum=14807964115588225436,size=17890,kvs=500}"] [2025/04/05 06:58:57.242 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=7.428543ms] [] [2025/04/05 06:58:57.242 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=42] [takeTime=7.56303ms] [] [2025/04/05 06:58:57.242 +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=7.694332ms] [] [2025/04/05 06:58:57.267 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:57.340 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:57.340 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 06:58:57.342 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 06:58:57.361 +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=135.64093ms] [] [2025/04/05 06:58:57.361 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 06:58:57.435 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 06:58:57.442 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:57.442 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/05 06:58:57.465 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:57.635 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.292188809\n# Parse_time: 0.000172217\n# Compile_time: 0.000471427\n# Rewrite_time: 0.000087297\n# Optimize_time: 0.000408859\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjYyNW5zLCBjbG9zZTo2NjlucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjYyNW5zLCBjbG9zZTo2NjlucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\nuse split_file;\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', __max_engine_size=_UTF8MB4'1';"] [2025/04/05 06:58:57.672 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=86024790-e5cc-4d5f-934e-fade0029abda] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.672 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 06:58:57.672 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:58:57.675 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:58:57.676 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:57.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:queueing, SchemaState:none, SchemaID:129, TableID:131, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.691 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 133, Table Name: t, Old Table ID: 131, Old Table Name: t)"] [2025/04/05 06:58:57.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.898804ms] [gotSchemaVersion=69] [phyTblIDs="[131,133]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:58:57.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=69] [2025/04/05 06:58:57.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=69] ["take time"=10.268913ms] [job="ID:134, Type:truncate table, State:done, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.725 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=134] [tableIDs="[131]"] [comment="truncate table: table ID"] [2025/04/05 06:58:57.730 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="truncate table"] [2025/04/05 06:58:57.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:truncate table, State:synced, SchemaState:public, SchemaID:129, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 06:58:57.749 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=69] [cur_db=split_file] [sql="truncate table t"] [user=] [2025/04/05 06:58:57.755 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:57.804 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"lines_terminated_by\":\"\\n\",\"skip_rows\":\"1\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 06:58:57.822 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=6.133KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:57.837 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:57.837 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:57.939 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:57.940 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:57.941 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 06:58:57.949 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:57.951 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:58:57.952 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:58:57.957 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=2094] [RegionsCount=3] [BatchSize=1] [cost=4.986645ms] [2025/04/05 06:58:57.957 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=5.120985ms] [] [2025/04/05 06:58:57.957 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=3] [2025/04/05 06:58:57.957 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=3] [2025/04/05 06:58:57.995 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:58.015 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:58:58.015 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:58.023 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:58.023 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:58.024 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:58.024 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:58.024 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:58.024 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:58.024 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:58.024 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:58.025 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:58.025 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:58.038 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:58.040 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:58.040 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t] [quota=374.2GB] [2025/04/05 06:58:58.040 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=1GiB] [per-index-buf-limit=341.3MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:58.040 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:58.040 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=348.5GiB] [2025/04/05 06:58:58.045 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 06:58:58.048 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/05 06:58:58.048 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [2025/04/05 06:58:58.052 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:58.056 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:58.056 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:58:58.066 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 06:58:58.089 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:0] [2025/04/05 06:58:58.095 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:0] [readDur=1.04607ms] [encodeDur=3.362968ms] [checksum="{cksum=8361670451610043062,size=6300,kvs=178}"] [deliverDur=580.954µs] [type=file] [takeTime=5.743609ms] [] [2025/04/05 06:58:58.096 +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/345e1d44-715b-42cc-8831-5cec357e8ad9.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F7280000000000000B2] [2025/04/05 06:58:58.096 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:58.096 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:58.096 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:58.098 +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.049456ms] [] [2025/04/05 06:58:58.098 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [retryCnt=0] [2025/04/05 06:58:58.103 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:58.124 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] ["region ranges"=1] [count=178] [size=6300] [2025/04/05 06:58:58.124 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:58.126 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f7280000000000000b3] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [2025/04/05 06:58:58.139 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [size=6300] [kvs=178] [importedSize=6300] [importedCount=178] [2025/04/05 06:58:58.141 +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.36144ms] [] [2025/04/05 06:58:58.141 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [2025/04/05 06:58:58.142 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:0] [engineUUID=ca3e155a-15d5-5ae7-9e5c-7b927aa672a8] [takeTime=1.220451ms] [] [2025/04/05 06:58:58.142 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:58:58.142 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:58.144 +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.716462ms] [] [2025/04/05 06:58:58.144 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [retryCnt=0] [2025/04/05 06:58:58.148 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:58.148 +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.722114ms] [] [2025/04/05 06:58:58.148 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [2025/04/05 06:58:58.149 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-1] [engineUUID=b9abc1dc-6b83-5f0f-a753-8886979f5596] [takeTime=937.481µs] [] [2025/04/05 06:58:58.149 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=43] [takeTime=100.825467ms] [] [2025/04/05 06:58:58.149 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=101.450559ms] [] [2025/04/05 06:58:58.173 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [2025/04/05 06:58:58.174 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [2025/04/05 06:58:58.177 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:58.181 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:58.181 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:58:58.230 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [2025/04/05 06:58:58.235 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:2107] [readDur=1.169536ms] [encodeDur=3.345748ms] [checksum="{cksum=18015026156569992564,size=5832,kvs=162}"] [deliverDur=176.786µs] [type=file] [takeTime=5.254747ms] [] [2025/04/05 06:58:58.236 +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/6eaaf925-e6b0-475c-92d1-02cd09ebce81.sst] [firstKey=7480000000000000855F7280000000000000B3] [lastKey=7480000000000000855F728000000000000154] [2025/04/05 06:58:58.236 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 06:58:58.237 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 06:58:58.237 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:58.239 +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.187375ms] [] [2025/04/05 06:58:58.239 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [retryCnt=0] [2025/04/05 06:58:58.243 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:58.265 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] ["region ranges"=1] [count=162] [size=5832] [2025/04/05 06:58:58.265 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:58.267 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f7280000000000000b3] [endOfAllRanges=7480000000000000855f728000000000000155] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000b30000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [2025/04/05 06:58:58.279 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=daa203f4-1887-5623-a6a4-248c6bef501a] [size=5832] [kvs=162] [importedSize=5832] [importedCount=162] [2025/04/05 06:58:58.281 +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=41.719581ms] [] [2025/04/05 06:58:58.281 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [2025/04/05 06:58:58.282 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:1] [engineUUID=daa203f4-1887-5623-a6a4-248c6bef501a] [takeTime=1.113593ms] [] [2025/04/05 06:58:58.282 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=1] [2025/04/05 06:58:58.282 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:58.284 +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.659155ms] [] [2025/04/05 06:58:58.284 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [retryCnt=0] [2025/04/05 06:58:58.287 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:58.287 +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.646576ms] [] [2025/04/05 06:58:58.288 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [2025/04/05 06:58:58.288 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-2] [engineUUID=b0c1b185-f84c-5cd5-bf88-6eb99f29f0c8] [takeTime=847.574µs] [] [2025/04/05 06:58:58.289 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=44] [takeTime=114.973898ms] [] [2025/04/05 06:58:58.289 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=import] [takeTime=115.138076ms] [] [2025/04/05 06:58:58.312 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/05 06:58:58.312 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [2025/04/05 06:58:58.315 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:58.319 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:58.319 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:58:58.397 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [2025/04/05 06:58:58.401 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=1.csv:4213] [readDur=1.065504ms] [encodeDur=2.868738ms] [checksum="{cksum=15344168976920314669,size=5724,kvs=159}"] [deliverDur=231.231µs] [type=file] [takeTime=4.748987ms] [] [2025/04/05 06:58:58.403 +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/c8ed96ba-a21e-4403-a258-f14001414e9d.sst] [firstKey=7480000000000000855F728000000000000155] [lastKey=7480000000000000855F7280000000000001F3] [2025/04/05 06:58:58.403 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 06:58:58.403 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 06:58:58.403 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:58.405 +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.239028ms] [] [2025/04/05 06:58:58.406 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [retryCnt=0] [2025/04/05 06:58:58.410 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:58.432 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] ["region ranges"=1] [count=159] [size=5724] [2025/04/05 06:58:58.432 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:58.434 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000155] [endOfAllRanges=7480000000000000855f7280000000000001f4] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0001550000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0001f40000000000fa] [2025/04/05 06:58:58.446 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=f3889bb6-7112-53f8-a71e-4117aeb30a89] [size=5724] [kvs=159] [importedSize=5724] [importedCount=159] [2025/04/05 06:58:58.448 +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=42.658582ms] [] [2025/04/05 06:58:58.448 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [2025/04/05 06:58:58.449 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:2] [engineUUID=f3889bb6-7112-53f8-a71e-4117aeb30a89] [takeTime=1.048289ms] [] [2025/04/05 06:58:58.449 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=2] [2025/04/05 06:58:58.450 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:58.451 +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.577604ms] [] [2025/04/05 06:58:58.451 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [retryCnt=0] [2025/04/05 06:58:58.455 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:58.455 +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.594048ms] [] [2025/04/05 06:58:58.455 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [2025/04/05 06:58:58.456 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t`:-3] [engineUUID=58c5f10f-1d2d-556d-b891-007aed152a59] [takeTime=828.933µs] [] [2025/04/05 06:58:58.456 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=45] [takeTime=144.251631ms] [] [2025/04/05 06:58:58.456 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=144.420796ms] [] [2025/04/05 06:58:58.545 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:58.546 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:58.547 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:58.547 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:58.577 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":499}"] [2025/04/05 06:58:58.579 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:58.579 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:58.603 +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/05 06:58:58.603 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:58:58.608 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:58.608 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:58.608 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:58.608 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:58.608 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:58.608 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:58.608 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:58.608 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:58.608 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:58.609 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:58.609 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:58.609 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:58.611 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:58.611 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:58.611 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:58.611 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:58.611 +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=570.696635ms] [] [2025/04/05 06:58:58.611 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 06:58:58.615 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:58.635 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:58.643 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/05 06:58:58.643 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 06:58:58.643 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 06:58:58.643 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [2025/04/05 06:58:58.643 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=1.641µs] [] [2025/04/05 06:58:58.643 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [groupId=-1] [size=17856] [kvs=499] [checksum=6555504159897345263] [2025/04/05 06:58:58.643 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [checksum="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/05 06:58:58.643 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [weight=30] [2025/04/05 06:58:58.643 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/05 06:58:58.645 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=6555504159897345263] [totalKvs=499] [totalBytes=17856] [2025/04/05 06:58:58.646 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:58.646 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [local="{cksum=6555504159897345263,size=17856,kvs=499}"] [2025/04/05 06:58:58.646 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.717448ms] [] [2025/04/05 06:58:58.646 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=46] [takeTime=2.839401ms] [] [2025/04/05 06:58:58.646 +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=3.010767ms] [] [2025/04/05 06:58:58.671 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:58.744 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:58.744 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 06:58:58.746 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 06:58:58.768 +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=132.317898ms] [] [2025/04/05 06:58:58.768 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 06:58:58.839 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:58.845 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:58.845 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 06:58:58.867 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:59.041 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.29109559\n# Parse_time: 0.000207014\n# Compile_time: 0.000453661\n# Rewrite_time: 0.000102216\n# Optimize_time: 0.000260506\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjY2NG5zLCBjbG9zZTo3ODZucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEuMjlzLCBvcGVuOjY2NG5zLCBjbG9zZTo3ODZucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\nIMPORT INTO `split_file`.`t` FROM 'gs://split-file/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ', skip_rows=1, __max_engine_size=_UTF8MB4'1';"] [2025/04/05 06:58:59.063 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.063 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2 (a int primary key nonclustered, b varchar(100));"] [2025/04/05 06:58:59.069 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.073 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t2)"] [2025/04/05 06:58:59.089 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.640317ms] [gotSchemaVersion=70] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.092 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=70] [2025/04/05 06:58:59.094 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=70] ["take time"=8.429469ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.105 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=2] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:129, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.015 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/05 06:58:59.117 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=split_file] [sql="create table t2 (a int primary key nonclustered, b varchar(100));"] [user=] [2025/04/05 06:58:59.123 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:59.171 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"lines_terminated_by\":\"\\r\\n\",\"split_file\":null}}"] [dist-task-enabled=true] [2025/04/05 06:58:59.190 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=26B] [thread-cnt=8] [global-sort=false] [2025/04/05 06:58:59.204 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/05 06:58:59.204 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:58:59.306 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:58:59.307 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:59.309 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/05 06:58:59.316 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:59.319 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 06:58:59.319 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=26] [2025/04/05 06:58:59.325 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=9] [RegionsCount=2] [BatchSize=26] [cost=6.413922ms] [2025/04/05 06:58:59.326 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=6.606706ms] [] [2025/04/05 06:58:59.326 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:58:59.326 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:58:59.366 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=8] [remaining-slots=8] [2025/04/05 06:58:59.386 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 06:58:59.387 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:58:59.394 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:59.395 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719522272135484] [2025/04/05 06:58:59.395 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:59.395 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:59.395 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:59.395 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:59.395 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:59.395 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:59.396 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:59.396 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:59.408 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:59.410 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:59.410 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=374.2GB] [2025/04/05 06:58:59.410 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=768MiB] [per-index-buf-limit=256MiB] [index-buf-block-size=16MiB] [2025/04/05 06:58:59.410 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=8] [disk-quota=348.5GiB] [2025/04/05 06:58:59.410 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:59.412 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/05 06:58:59.429 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/05 06:58:59.430 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [2025/04/05 06:58:59.433 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/05 06:58:59.434 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 06:58:59.438 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 06:58:59.438 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/05 06:58:59.438 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=135] [2025/04/05 06:58:59.470 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:0] [2025/04/05 06:58:59.472 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:0] [readDur=842.877µs] [encodeDur=327.541µs] [checksum="{cksum=4172864564292863038,size=207,kvs=6}"] [deliverDur=353.425µs] [type=file] [takeTime=1.84ms] [] [2025/04/05 06:58:59.473 +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/bde2ee53-2a6b-4d82-8d44-cea8ac52d0c9.sst] [firstKey=7480000000000000875F728000000000000001] [lastKey=7480000000000000875F728000000000000003] [2025/04/05 06:58:59.479 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=135] [key=2.csv:15] [2025/04/05 06:58:59.480 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=135] [key=2.csv:15] [readDur=125.496µs] [encodeDur=232.181µs] [checksum="{cksum=6641800212242329557,size=139,kvs=4}"] [deliverDur=287.157µs] [type=file] [takeTime=910.842µs] [] [2025/04/05 06:58:59.481 +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/fc234e51-f0b9-4d24-9e93-074313ba9ea0.sst] [firstKey=7480000000000000875F728000000000000005] [lastKey=7480000000000000875F728000000000000006] [2025/04/05 06:58:59.481 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:58:59.481 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:58:59.481 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 06:58:59.484 +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.059738ms] [] [2025/04/05 06:58:59.484 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [retryCnt=0] [2025/04/05 06:58:59.488 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:59.510 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] ["region ranges"=1] [count=5] [size=166] [2025/04/05 06:58:59.510 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:59.512 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f728000000000000001] [endOfAllRanges=7480000000000000875f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff875f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff875f728000000000ff0000070000000000fa] [2025/04/05 06:58:59.523 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b7061b4d-cde2-5b63-bd61-55af03920c43] [size=166] [kvs=5] [importedSize=166] [importedCount=5] [2025/04/05 06:58:59.525 +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=41.150786ms] [] [2025/04/05 06:58:59.525 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [2025/04/05 06:58:59.526 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:0] [engineUUID=b7061b4d-cde2-5b63-bd61-55af03920c43] [takeTime=1.162429ms] [] [2025/04/05 06:58:59.526 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:58:59.526 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 06:58:59.528 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=2] [size=180] [count=5] [cost=1.3013ms] [file=/tmp/tidb/import-4000/8/3f0a0734-602d-5886-ba9a-bb426e401303.sst/070c7db8-ffb1-4be6-940f-52081aabf8a9.sst] [2025/04/05 06:58:59.528 +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/070c7db8-ffb1-4be6-940f-52081aabf8a9.sst] [firstKey=7480000000000000875F698000000000000001038000000000000001] [lastKey=7480000000000000875F698000000000000001038000000000000009] [2025/04/05 06:58:59.530 +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.686806ms] [] [2025/04/05 06:58:59.530 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [retryCnt=0] [2025/04/05 06:58:59.534 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:59.556 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] ["region ranges"=1] [count=5] [size=180] [2025/04/05 06:58:59.556 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:59.557 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000875f698000000000000001038000000000000001] [endOfAllRanges=7480000000000000875f69800000000000000103800000000000000900] [startKeyOfFirstRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000100000000fb] [endKeyOfLastRegion=7480000000000000ff875f698000000000ff0000010380000000ff0000000900000000fc] [2025/04/05 06:58:59.569 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3f0a0734-602d-5886-ba9a-bb426e401303] [size=180] [kvs=5] [importedSize=180] [importedCount=5] [2025/04/05 06:58:59.570 +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=40.398806ms] [] [2025/04/05 06:58:59.570 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [2025/04/05 06:58:59.572 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`split_file`.`t2`:-1] [engineUUID=3f0a0734-602d-5886-ba9a-bb426e401303] [takeTime=1.072328ms] [] [2025/04/05 06:58:59.572 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=47] [takeTime=142.184893ms] [] [2025/04/05 06:58:59.572 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=142.369624ms] [] [2025/04/05 06:58:59.611 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:58:59.612 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:59.614 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/05 06:58:59.614 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:58:59.647 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":5}"] [2025/04/05 06:58:59.648 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:58:59.648 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:58:59.668 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:58:59.675 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 06:58:59.678 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:59.678 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:59.678 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:59.678 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:59.678 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:59.678 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:59.679 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:59.679 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:59.679 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:59.679 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:59.679 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:59.679 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:59.681 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:59.681 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:59.681 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:59.681 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:59.681 +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=270.210485ms] [] [2025/04/05 06:58:59.682 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=16GiB]"] [2025/04/05 06:58:59.689 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/05 06:58:59.689 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 06:58:59.689 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 06:58:59.689 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [2025/04/05 06:58:59.695 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=5.400845ms] [] [2025/04/05 06:58:59.695 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=-1] [size=166] [kvs=5] [checksum=10656432631736324641] [2025/04/05 06:58:59.695 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [groupId=1] [size=180] [kvs=5] [checksum=17737380028387883466] [2025/04/05 06:58:59.695 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [checksum="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/05 06:58:59.695 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [weight=30] [2025/04/05 06:58:59.695 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/05 06:58:59.701 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=-1] [checksum=10656432631736324641] [totalKvs=5] [totalBytes=166] [2025/04/05 06:58:59.702 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=135] [physicalTableID=135] [indexID=1] [checksum=17737380028387883466] [totalKvs=5] [totalBytes=180] [2025/04/05 06:58:59.702 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:58:59.702 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [local="{cksum=7333149010194901995,size=346,kvs=10}"] [2025/04/05 06:58:59.702 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=12.63232ms] [] [2025/04/05 06:58:59.702 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=48] [takeTime=12.796168ms] [] [2025/04/05 06:58:59.702 +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=12.934818ms] [] [2025/04/05 06:58:59.712 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:58:59.811 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:58:59.811 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/05 06:58:59.813 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/05 06:58:59.839 +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=156.947612ms] [] [2025/04/05 06:58:59.839 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/05 06:58:59.906 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/05 06:58:59.912 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:59.912 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/05 06:58:59.933 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:00.106 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989038908\n# Parse_time: 0.000116196\n# Compile_time: 0.000411865\n# Rewrite_time: 0.000091228\n# Optimize_time: 0.000229003\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC4ybXMsIG9wZW46NzkybnMsIGNsb3NlOjc2Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC4ybXMsIG9wZW46NzkybnMsIGNsb3NlOjc2Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000036347\nIMPORT INTO `split_file`.`t2` FROM 'gs://split-file/2.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH split_file, lines_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:00.108 +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 (4.02s) === NAME TestImportInto [2025/04/05 06:59:00.146 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:00.146 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:00.146 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [] [2025/04/05 06:59:00.146 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.146 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:00.146 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:00.146 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=83.597µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=64.108µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=50.669µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=48.013µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=50.836µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=48.036µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=57.919µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=47.853µs] [2025/04/05 06:59:00.147 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=49.436µs] [2025/04/05 06:59:00.148 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=42.612µs] [2025/04/05 06:59:00.148 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.148 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.149 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:00.149 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:00.153 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] ["take time"=6.950931ms] [2025/04/05 06:59:00.153 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.153 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:00.153 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:00.153 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6ad6fd57-1543-4ca6-b8f5-e07b6fe1f755] [2025/04/05 06:59:00.153 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6ad6fd57-1543-4ca6-b8f5-e07b6fe1f755] [watcherID=3ada58c2-d167-4e32-be1d-40d7412e54c1] [2025/04/05 06:59:00.153 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [ttl-worker=task-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [originalCount=4] [newCount=0] [2025/04/05 06:59:00.153 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.153 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.153 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.153 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.154 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [ttl-worker=task-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [originalCount=4] [newCount=0] [2025/04/05 06:59:00.156 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.156 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.157 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.159 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.159 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=563] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:00.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:00.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:00.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:00.160 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.161 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:00.160 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.160 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.161 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [2025/04/05 06:59:00.160 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=86024790-e5cc-4d5f-934e-fade0029abda] [2025/04/05 06:59:00.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.161 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:00.161 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:00.161 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:00.161 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:00.162 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:00.162 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:00.162 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=86024790-e5cc-4d5f-934e-fade0029abda] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:00.162 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:00.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:00.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:00.162 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 06:59:00.162 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:00.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:00.162 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:00.162 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [] [2025/04/05 06:59:00.162 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:00.162 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:00.162 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.163 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [2025/04/05 06:59:00.220 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d2f56b0c-4acc-408d-bd32-34f39024e846] [error="context canceled"] [2025/04/05 06:59:00.220 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:00.220 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:00.231 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.490639ms] [2025/04/05 06:59:00.234 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:00.234 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:00.234 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:00.234 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:00.234 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:00.234 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:00.234 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:00.234 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:00.234 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:00.234 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:00.235 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:00.235 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:00.236 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (19.43s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest4:importintotest4_test up-to-date: bazel-bin/tests/realtikvtest/importintotest4/importintotest4_test_/importintotest4_test INFO: Elapsed time: 68.190s, Critical Path: 50.53s 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 23.2s PASSED importintotest4_test.TestImportInto (19.4s) PASSED importintotest4_test.TestImportInto/TestGlobalSortBasic (5.6s) PASSED importintotest4_test.TestImportInto/TestGlobalSortMultiFiles (2.2s) PASSED importintotest4_test.TestImportInto/TestGlobalSortUniqueKeyConflict (2.5s) PASSED importintotest4_test.TestImportInto/TestSplitFile (4.0s) 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 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,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 11s remote-cache, linux-sandbox [4,573 / 4,574] 1 / 1 tests; Testing //tests/realtikvtest/sessiontest:sessiontest_test; 65s 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: 180.945s, Critical Path: 161.25s INFO: 4571 processes: 4490 remote cache hit, 13 internal, 68 linux-sandbox. INFO: Build completed successfully, 4571 total actions //tests/realtikvtest/sessiontest:sessiontest_test PASSED in 65.8s PASSED sessiontest_test.TestAutoCommitNeedNotLinearizability (0.6s) PASSED sessiontest_test.TestClusterTableSendError (0.5s) PASSED sessiontest_test.TestFailStatementCommitInRetry (0.6s) PASSED sessiontest_test.TestGCOldVersion (12.9s) PASSED sessiontest_test.TestGetTSFailDirtyState (0.6s) PASSED sessiontest_test.TestGetTSFailDirtyStateInretry (0.9s) PASSED sessiontest_test.TestIndexLookUpWithStaticPrune (0.6s) PASSED sessiontest_test.TestIndexReaderWithPaging (1.5s) PASSED sessiontest_test.TestIssue42426 (0.5s) PASSED sessiontest_test.TestIssue57530 (0.5s) PASSED sessiontest_test.TestKill (0.4s) PASSED sessiontest_test.TestKillFlagInBackoff (9.6s) PASSED sessiontest_test.TestPagingActRowsAndProcessKeys (28.1s) PASSED sessiontest_test.TestTiKVClientReadTimeout (3.7s) Test cases: finished with 14 passing and 0 failing out of 14 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,568 / 4,569] Testing //tests/realtikvtest/addindextest1:addindextest1_test; 41s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 41s remote-cache, linux-sandbox [4,571 / 4,572] Testing //tests/realtikvtest/addindextest3:addindextest3_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/flashbacktest:flashbacktest_test; 41s remote-cache, linux-sandbox [4,573 / 4,574] 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/05 06:58:37.205 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:37.206 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:37.206 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:37.207 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:37.207 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:37.208 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:37.208 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:37.208 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:37.208 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:37.208 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:37.208 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:37.214 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:37.221 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.221 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.222 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.245 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.245 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.250 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.250 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.261 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.285 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:37.308 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:37.346 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1338] ["lease id"=3eaa9604bcfac15b] [2025/04/05 06:58:37.349 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:37.357 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashback\n\ttests/realtikvtest/flashbacktest/flashback_test.go:65\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:37.461 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=103.968644ms] [2025/04/05 06:58:37.461 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:37.462 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:37.462 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:37.463 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:37.465 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:37.466 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:37.467 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266006904832/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.467 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.467 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [2025/04/05 06:58:37.469 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac160] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:37.469 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:37.469 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcfac160] [currRev=92] [2025/04/05 06:58:37.470 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:37.471 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:37.471 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.471 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcfac3e9] [ownerID=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [op=none] [2025/04/05 06:58:37.471 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [2025/04/05 06:58:37.471 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [ownerKey=/tidb/br-stream/owner/22319604bcfac3e9] [currRev=93] [2025/04/05 06:58:37.471 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac160] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:37.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=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:37.471 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:37.474 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:37.491 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.491 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:37.497 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.638 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=125.204294ms] [2025/04/05 06:58:37.638 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:37.644 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.644 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:37.646 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=1] ["take time"=134.888103ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.660 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.676 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:37.676 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:37.677 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:37.681 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/05 06:58:37.707 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.707 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.773 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.314471ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.777 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58:37.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=2] ["take time"=14.382466ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.830 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:37.830 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:37.846 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.846 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:37.851 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.871 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.007466ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.874 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.874 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:37.876 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=3] ["take time"=8.540511ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.899 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:37.899 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:37.913 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.913 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:37.919 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.938 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.011008ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:37.942 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:37.942 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:37.943 +00:00] [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.912925ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.955 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:37.968 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:37.968 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:37.989 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.989 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:37.996 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.036 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.40879ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.039 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.039 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:38.041 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=5] ["take time"=10.990534ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.054 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.076 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:38.076 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.092 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.092 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.541681ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.124 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:38.125 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=6] ["take time"=8.886849ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.065 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.152 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:38.152 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.168 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.168 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.174 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.494098ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.199 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.199 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:38.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=7] ["take time"=8.918497ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:58:38.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.241 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:58:38.246 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.264 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.638313ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.267 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:58:38.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=8] ["take time"=8.045941ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.279 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.290 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:58:38.291 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:58:38.304 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.304 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:58:38.309 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.327 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.759928ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.330 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:58:38.332 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=9] ["take time"=8.568903ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.342 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.354 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:58:38.354 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:58:38.369 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.368 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:58:38.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.271946ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.400 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:58:38.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=10] ["take time"=9.289363ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.412 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.426 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:58:38.427 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:58:38.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.441 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:58:38.447 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.468 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.145826ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.468 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:38.471 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.471 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:58:38.473 +00:00] [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.091814ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.484 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:58:38.498 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:58:38.500 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:38.515 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.521 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.548 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=2.994607ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.551 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.551 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:58:38.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=12] ["take time"=9.512932ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.582 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:58:38.583 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.598 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.598 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:58:38.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.628 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.502089ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.631 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:58:38.633 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.057973ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.644 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.565 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:58:38.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:58:38.674 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.674 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:38.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.05491ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.710 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:58:38.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=14] ["take time"=12.227371ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.738 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:58:38.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:38.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:38.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.780 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.062159ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.783 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.783 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:58:38.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=15] ["take time"=8.830831ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.795 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.809 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:58:38.809 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:38.822 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.822 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.827 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=1.916889ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.850 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.850 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:58:38.852 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.778356ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.862 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.875 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:58:38.875 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.890 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.890 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:58:38.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.917 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.061615ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.920 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:58:38.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=17] ["take time"=9.037064ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.933 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.947 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:58:38.947 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:58:38.962 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.962 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:58:38.968 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.098679ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.991 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.991 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:58:38.993 +00:00] [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.585941ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.004 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:58:39.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:58:39.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:39.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.098478ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.071 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:58:39.073 +00:00] [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.196795ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.086 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.103 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:58:39.103 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:39.127 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.153 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.086093ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.157 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.157 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:58:39.159 +00:00] [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.232705ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.169 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:58:39.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:58:39.201 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.214 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:39.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.704282ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:58:39.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=21] ["take time"=8.526201ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.235 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.248 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:58:39.248 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:58:39.261 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.261 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:58:39.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.283 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.416573ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.286 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.286 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:58:39.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=22] ["take time"=8.213761ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.298 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.310 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:58:39.310 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:58:39.325 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.325 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:58:39.332 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.570297ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.359 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:58:39.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=23] ["take time"=9.354534ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.388 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:58:39.389 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:58:39.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.409 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.429 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=1.993821ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.432 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.432 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:58:39.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=24] ["take time"=8.786533ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.446 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.463 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:58:39.464 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.466 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:39.467 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2382] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:58:39.478 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.478 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:58:39.483 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.503 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.09ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.506 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.506 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:58:39.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=25] ["take time"=9.284724ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.518 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.531 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:58:39.531 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:58:39.545 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.545 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:58:39.550 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.568 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.706725ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.571 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.571 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:58:39.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=26] ["take time"=8.088773ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.582 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:58:39.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:58:39.607 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.607 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:58:39.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.814463ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.634 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.634 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:58:39.636 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.975866ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.646 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.659 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:58:39.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:39.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:58:39.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.987249ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.698 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.698 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:58:39.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=28] ["take time"=8.799012ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.710 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.723 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:58:39.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:58:39.725 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:39.738 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.738 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:58:39.744 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.163731ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.768 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:58:39.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=29] ["take time"=9.015337ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.781 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.795 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:58:39.795 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:39.811 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.811 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:39.817 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.417008ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.845 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:58:39.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=30] ["take time"=9.806434ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.858 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.872 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:58:39.873 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:39.887 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:39.887 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.893 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.307383ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.918 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.918 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:58:39.920 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=31] ["take time"=9.543968ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.931 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.864 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.946 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:58:39.946 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:39.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:58:39.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.998 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.399551ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.001 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.001 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:58:40.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=32] ["take time"=10.189271ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.016 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.914 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:58:40.034 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:58:40.046 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.046 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:58:40.051 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.451612ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.070 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:58:40.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=33] ["take time"=7.879381ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.082 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.093 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:58:40.093 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:58:40.110 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:58:40.110 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.115 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.1774ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:40.141 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:58:40.143 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=8.850252ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.153 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.168 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:58:40.183 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.183 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:58:40.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.216 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.127902ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.220 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.220 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:58:40.222 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=35] ["take time"=9.179168ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.250 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:58:40.250 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:58:40.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.264 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:58:40.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.289 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.977421ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.292 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.292 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:58:40.294 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=36] ["take time"=8.862406ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.305 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.317 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:58:40.318 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:58:40.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:58:40.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.355 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.854666ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.359 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:58: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=37] ["take time"=8.761995ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.371 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.383 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:58:40.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:58:40.402 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.402 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:58:40.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.438 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.356473ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.441 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.441 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:58:40.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.412347ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.365 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.474 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:58:40.475 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:58:40.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:58:40.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.20783ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.529 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:58:40.531 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=39] ["take time"=10.2942ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.544 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:58:40.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:58:40.581 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.581 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:58:40.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.617 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.39065ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.620 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.620 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:58:40.622 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=40] ["take time"=10.266387ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.635 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.653 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:58:40.653 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:58:40.671 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:40.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.677908ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.711 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:58:40.714 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=41] ["take time"=10.888652ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.728 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:58:40.747 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:40.765 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.765 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:40.771 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.546835ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.805 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:58:40.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=42] ["take time"=10.144003ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.820 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.838 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:58:40.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:40.856 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.856 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:58:40.862 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.220374ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.893 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:58:40.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=43] ["take time"=9.575217ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.907 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.924 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:58:40.925 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:58:40.940 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.940 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:40.946 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.669933ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.974 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:58:40.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=44] ["take time"=9.41465ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.987 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.003 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:58:41.004 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.023 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.023 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:41.028 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.784557ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.057 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:58:41.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=45] ["take time"=10.153953ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:58:41.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.106 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.106 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:58:41.113 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.145 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.749459ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.148 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:58:41.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=46] ["take time"=10.378699ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.163 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.183 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:58:41.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:58:41.200 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.200 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:41.206 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.232 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.840095ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.235 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:58:41.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=47] ["take time"=9.654204ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.249 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:58:41.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.278 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:58:41.278 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.284 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.304 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.904306ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.307 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.307 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:58:41.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=48] ["take time"=8.880543ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:58:41.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/05 06:58:41.347 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.347 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:58:41.353 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.107902ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.377 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.377 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:58:41.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=49] ["take time"=9.3957ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.389 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.401 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:58:41.402 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:58:41.403 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:41.415 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.415 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:58:41.421 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.442 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=1.987416ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.445 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.445 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:58:41.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=50] ["take time"=8.526485ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.457 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.471 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:58:41.471 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:58:41.474 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:41.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:41.475 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:41.475 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:41.483 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:58:41.483 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.502 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=613.92µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:41.505 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:58:41.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=51] ["take time"=7.329916ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.516 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.526 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:58:41.527 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:58:41.541 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.541 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:58:41.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.566 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.708943ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:41.569 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:58:41.571 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=52] ["take time"=8.48488ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.581 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.593 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:58:41.610 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.610 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:58:41.616 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.643 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.111884ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.646 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.646 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:58:41.649 +00:00] [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.277002ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.661 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.678 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:58:41.678 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:58:41.692 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.692 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:58:41.697 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.719 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.168967ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.722 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:58:41.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=54] ["take time"=9.231168ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.735 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:58:41.747 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:58:41.762 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.763 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:58:41.768 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.790 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.341249ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.794 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:58:41.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=55] ["take time"=9.720501ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.807 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.822 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:58:41.822 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:58:41.970 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.499594554s] [2025/04/05 06:58:41.974 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:41.974 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [] [2025/04/05 06:58:41.974 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:41.975 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:41.975 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=66.384µs] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=38.241µs] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=31.131µs] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=30.722µs] [2025/04/05 06:58:41.975 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=32.441µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=29.284µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=29.06µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=29.005µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=25.811µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=29.419µs] [2025/04/05 06:58:41.976 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:41.976 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:41.977 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:41.977 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:41.986 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] ["take time"=11.963892ms] [2025/04/05 06:58:41.986 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1338] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:41.987 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:41.987 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:41.987 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:41.987 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [2025/04/05 06:58:41.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:41.987 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [2025/04/05 06:58:41.989 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e917f7b6-cae1-4cfd-85dc-1db24f373cc9] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:41.989 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:41.989 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:41.989 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:41.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:41.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:41.989 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:41.989 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:41.994 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=19.943143ms] [2025/04/05 06:58:41.994 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:42.004 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:42.040 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=300] ["lease id"=22319604bcfac457] [2025/04/05 06:58:42.042 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:42.160 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=115.06555ms] [2025/04/05 06:58:42.160 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:42.168 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:42.168 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:42.170 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [lease=3eaa9604bcfac160] [2025/04/05 06:58:42.170 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:42.170 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266006953984/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:42.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:42.170 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:42.171 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:42.171 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.171 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [2025/04/05 06:58:42.173 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac160] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:42.173 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.173 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcfac160] [currRev=272] [2025/04/05 06:58:42.174 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:42.174 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.174 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:42.174 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfac361] [ownerID=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [op=none] [2025/04/05 06:58:42.175 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [2025/04/05 06:58:42.175 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [ownerKey=/tidb/br-stream/owner/6f189604bcfac361] [currRev=273] [2025/04/05 06:58:42.175 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac160] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:42.175 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:42.175 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:42.181 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.183 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:42.183 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:42.185 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319604bcfac45f] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:42.185 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.185 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [ownerKey=/tidb/bindinfo/owner/22319604bcfac45f] [currRev=274] [2025/04/05 06:58:42.190 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:58:42.193 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:42.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:42.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:42.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:42.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:42.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:42.207 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:42.207 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:42.207 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:42.207 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:42.208 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:42.208 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:42.208 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:42.208 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:42.210 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:42.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:42.212 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfac367] [ownerID=044cf185-5e8f-49d6-8b0a-b374f2897440] [op=none] [2025/04/05 06:58:42.212 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.212 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [ownerKey=/tidb/stats/owner/6f189604bcfac367] [currRev=275] [2025/04/05 06:58:42.212 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:42.215 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/0c3e7dcb-866e-4595-a4f3-402965529660] [2025/04/05 06:58:42.215 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [ttl-worker=task-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [originalCount=0] [newCount=4] [2025/04/05 06:58:42.215 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [ttl-worker=task-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [originalCount=0] [newCount=4] [2025/04/05 06:58:42.215 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:42.216 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:42.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:42.224 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743836322224443789 [2025/04/05 06:58:42.224 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 06:58:42.224 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:42.233 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=24.024731ms] [2025/04/05 06:58:42.233 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:42.233 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:42.236 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836322238160581 [2025/04/05 06:58:42.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:58:42.262 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.262 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 06:58:42.267 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.272 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/05 06:58:42.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=1.620514ms] [gotSchemaVersion=56] [phyTblIDs="[112]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:58:42.295 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=56] ["take time"=8.508362ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.306 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.322 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:58:42.322 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 06:58:43.184 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:43.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:43.184 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:43.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:43.215 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:43.215 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:43.215 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/0c3e7dcb-866e-4595-a4f3-402965529660] [watcherID=a2c8fac4-0e34-45cf-ba50-ee4987e29da1] [2025/04/05 06:58:43.224 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:43.229 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=52] [2025/04/05 06:58:43.229 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:43.229 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:43.229 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:43.229 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:43.333 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:43.314 +0000 UTC"] [2025/04/05 06:58:43.348 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:43.314000'"] [2025/04/05 06:58:43.348 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:43.354 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.359 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 06:58:43.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.432 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=100ms] [prevState=normal] [newState=adapting] [2025/04/05 06:58:43.535 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=123.472µs] [gotSchemaVersion=57] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:43.538 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/05 06:58:43.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=57] ["take time"=6.878242ms] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.548 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.549 +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/05 06:58:43.561 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d44423a3200000000fb0000000000000068] ["first new region left"="{Id:29 StartKey: EndKey:6d44423a32000000ff00fb000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:30 store_id:3 id:31 store_id:2 id:32 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.561 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[29,33]"] [2025/04/05 06:58:43.562 +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/05 06:58:43.568 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=10] ["first at"=6d4442730000000000fa0000000000000068] ["first new region left"="{Id:37 StartKey:6d44423a33000000ff00fb000000000000ff0068000000000000f9 EndKey:6d44427300000000ff00fa000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:38 store_id:3 id:39 store_id:2 id:40 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.568 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[37,41]"] [2025/04/05 06:58:43.568 +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/05 06:58:43.571 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000000] ["first new region left"="{Id:45 StartKey:7200000100000000fb EndKey:7480000000000000ff0000000000000000f8 RegionEpoch:{ConfVer:5 Version:7} Peers:[id:46 store_id:3 id:47 store_id:2 id:48 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.571 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[45,49]"] [2025/04/05 06:58:43.571 +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/05 06:58:43.577 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000005] ["first new region left"="{Id:53 StartKey:7480000000000000ff0400000000000000f8 EndKey:7480000000000000ff0500000000000000f8 RegionEpoch:{ConfVer:5 Version:9} Peers:[id:54 store_id:3 id:55 store_id:2 id:56 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.577 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[53,57]"] [2025/04/05 06:58:43.577 +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/05 06:58:43.583 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000007] ["first new region left"="{Id:61 StartKey:7480000000000000ff0600000000000000f8 EndKey:7480000000000000ff0700000000000000f8 RegionEpoch:{ConfVer:5 Version:11} Peers:[id:62 store_id:3 id:63 store_id:2 id:64 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.583 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[61,65]"] [2025/04/05 06:58:43.583 +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/05 06:58:43.589 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000009] ["first new region left"="{Id:69 StartKey:7480000000000000ff0800000000000000f8 EndKey:7480000000000000ff0900000000000000f8 RegionEpoch:{ConfVer:5 Version:13} Peers:[id:70 store_id:3 id:71 store_id:2 id:72 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.589 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[69,73]"] [2025/04/05 06:58:43.589 +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/05 06:58:43.594 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000b] ["first new region left"="{Id:77 StartKey:7480000000000000ff0a00000000000000f8 EndKey:7480000000000000ff0b00000000000000f8 RegionEpoch:{ConfVer:5 Version:15} Peers:[id:78 store_id:3 id:79 store_id:2 id:80 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.594 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[77,81]"] [2025/04/05 06:58:43.594 +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/05 06:58:43.600 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000d] ["first new region left"="{Id:85 StartKey:7480000000000000ff0c00000000000000f8 EndKey:7480000000000000ff0d00000000000000f8 RegionEpoch:{ConfVer:5 Version:17} Peers:[id:86 store_id:3 id:87 store_id:2 id:88 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.600 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[85,89]"] [2025/04/05 06:58:43.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"=74800000000000000f] [2025/04/05 06:58:43.606 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000000f] ["first new region left"="{Id:93 StartKey:7480000000000000ff0e00000000000000f8 EndKey:7480000000000000ff0f00000000000000f8 RegionEpoch:{ConfVer:5 Version:19} Peers:[id:94 store_id:3 id:95 store_id:2 id:96 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.606 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[93,97]"] [2025/04/05 06:58:43.606 +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/05 06:58:43.611 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000011] ["first new region left"="{Id:101 StartKey:7480000000000000ff1000000000000000f8 EndKey:7480000000000000ff1100000000000000f8 RegionEpoch:{ConfVer:5 Version:21} Peers:[id:102 store_id:3 id:103 store_id:2 id:104 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.611 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[101,105]"] [2025/04/05 06:58:43.611 +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/05 06:58:43.617 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000013] ["first new region left"="{Id:109 StartKey:7480000000000000ff1200000000000000f8 EndKey:7480000000000000ff1300000000000000f8 RegionEpoch:{ConfVer:5 Version:23} Peers:[id:110 store_id:3 id:111 store_id:2 id:112 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.617 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[109,113]"] [2025/04/05 06:58:43.617 +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/05 06:58:43.623 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000015] ["first new region left"="{Id:117 StartKey:7480000000000000ff1400000000000000f8 EndKey:7480000000000000ff1500000000000000f8 RegionEpoch:{ConfVer:5 Version:25} Peers:[id:118 store_id:3 id:119 store_id:2 id:120 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.623 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[117,121]"] [2025/04/05 06:58:43.623 +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/05 06:58:43.628 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000001f] ["first new region left"="{Id:125 StartKey:7480000000000000ff1e00000000000000f8 EndKey:7480000000000000ff1f00000000000000f8 RegionEpoch:{ConfVer:5 Version:27} Peers:[id:126 store_id:3 id:127 store_id:2 id:128 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.628 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[125,129]"] [2025/04/05 06:58:43.628 +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/05 06:58:43.634 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000023] ["first new region left"="{Id:133 StartKey:7480000000000000ff2200000000000000f8 EndKey:7480000000000000ff2300000000000000f8 RegionEpoch:{ConfVer:5 Version:29} Peers:[id:134 store_id:3 id:135 store_id:2 id:136 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.634 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[133,137]"] [2025/04/05 06:58:43.634 +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/05 06:58:43.639 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000025] ["first new region left"="{Id:141 StartKey:7480000000000000ff2400000000000000f8 EndKey:7480000000000000ff2500000000000000f8 RegionEpoch:{ConfVer:5 Version:31} Peers:[id:142 store_id:3 id:143 store_id:2 id:144 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.640 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[141,145]"] [2025/04/05 06:58:43.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"=748000000000000027] [2025/04/05 06:58:43.645 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000027] ["first new region left"="{Id:149 StartKey:7480000000000000ff2600000000000000f8 EndKey:7480000000000000ff2700000000000000f8 RegionEpoch:{ConfVer:5 Version:33} Peers:[id:150 store_id:3 id:151 store_id:2 id:152 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.645 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[149,153]"] [2025/04/05 06:58:43.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"=74800000000000002b] [2025/04/05 06:58:43.651 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002b] ["first new region left"="{Id:157 StartKey:7480000000000000ff2a00000000000000f8 EndKey:7480000000000000ff2b00000000000000f8 RegionEpoch:{ConfVer:5 Version:35} Peers:[id:158 store_id:3 id:159 store_id:2 id:160 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.651 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[157,161]"] [2025/04/05 06:58:43.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"=74800000000000002d] [2025/04/05 06:58:43.657 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000002d] ["first new region left"="{Id:165 StartKey:7480000000000000ff2c00000000000000f8 EndKey:7480000000000000ff2d00000000000000f8 RegionEpoch:{ConfVer:5 Version:37} Peers:[id:166 store_id:3 id:167 store_id:2 id:168 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.657 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[165,169]"] [2025/04/05 06:58:43.657 +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/05 06:58:43.663 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000033] ["first new region left"="{Id:173 StartKey:7480000000000000ff3200000000000000f8 EndKey:7480000000000000ff3300000000000000f8 RegionEpoch:{ConfVer:5 Version:39} Peers:[id:174 store_id:3 id:175 store_id:2 id:176 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.663 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[173,177]"] [2025/04/05 06:58:43.663 +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/05 06:58:43.669 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000035] ["first new region left"="{Id:181 StartKey:7480000000000000ff3400000000000000f8 EndKey:7480000000000000ff3500000000000000f8 RegionEpoch:{ConfVer:5 Version:41} Peers:[id:182 store_id:3 id:183 store_id:2 id:184 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.669 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[181,185]"] [2025/04/05 06:58:43.669 +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/05 06:58:43.674 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000037] ["first new region left"="{Id:189 StartKey:7480000000000000ff3600000000000000f8 EndKey:7480000000000000ff3700000000000000f8 RegionEpoch:{ConfVer:5 Version:43} Peers:[id:190 store_id:3 id:191 store_id:2 id:192 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.674 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[189,193]"] [2025/04/05 06:58:43.674 +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/05 06:58:43.679 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000039] ["first new region left"="{Id:197 StartKey:7480000000000000ff3800000000000000f8 EndKey:7480000000000000ff3900000000000000f8 RegionEpoch:{ConfVer:5 Version:45} Peers:[id:198 store_id:3 id:199 store_id:2 id:200 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.679 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[197,201]"] [2025/04/05 06:58:43.679 +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/05 06:58:43.685 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000003b] ["first new region left"="{Id:205 StartKey:7480000000000000ff3a00000000000000f8 EndKey:7480000000000000ff3b00000000000000f8 RegionEpoch:{ConfVer:5 Version:47} Peers:[id:206 store_id:3 id:207 store_id:2 id:208 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.685 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[205,209]"] [2025/04/05 06:58:43.685 +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/05 06:58:43.691 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000041] ["first new region left"="{Id:213 StartKey:7480000000000000ff4000000000000000f8 EndKey:7480000000000000ff4100000000000000f8 RegionEpoch:{ConfVer:5 Version:49} Peers:[id:214 store_id:3 id:215 store_id:2 id:216 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.691 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[213,217]"] [2025/04/05 06:58:43.691 +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/05 06:58:43.697 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000043] ["first new region left"="{Id:221 StartKey:7480000000000000ff4200000000000000f8 EndKey:7480000000000000ff4300000000000000f8 RegionEpoch:{ConfVer:5 Version:51} Peers:[id:222 store_id:3 id:223 store_id:2 id:224 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.697 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[221,225]"] [2025/04/05 06:58:43.697 +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/05 06:58:43.703 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000047] ["first new region left"="{Id:229 StartKey:7480000000000000ff4600000000000000f8 EndKey:7480000000000000ff4700000000000000f8 RegionEpoch:{ConfVer:5 Version:53} Peers:[id:230 store_id:3 id:231 store_id:2 id:232 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.703 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[229,233]"] [2025/04/05 06:58:43.703 +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/05 06:58:43.708 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000049] ["first new region left"="{Id:237 StartKey:7480000000000000ff4800000000000000f8 EndKey:7480000000000000ff4900000000000000f8 RegionEpoch:{ConfVer:5 Version:55} Peers:[id:238 store_id:3 id:239 store_id:2 id:240 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.708 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[237,241]"] [2025/04/05 06:58:43.708 +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/05 06:58:43.714 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004d] ["first new region left"="{Id:245 StartKey:7480000000000000ff4c00000000000000f8 EndKey:7480000000000000ff4d00000000000000f8 RegionEpoch:{ConfVer:5 Version:57} Peers:[id:246 store_id:3 id:247 store_id:2 id:248 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.714 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[245,249]"] [2025/04/05 06:58:43.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"=74800000000000004f] [2025/04/05 06:58:43.720 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000004f] ["first new region left"="{Id:253 StartKey:7480000000000000ff4e00000000000000f8 EndKey:7480000000000000ff4f00000000000000f8 RegionEpoch:{ConfVer:5 Version:59} Peers:[id:254 store_id:3 id:255 store_id:2 id:256 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.720 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[253,257]"] [2025/04/05 06:58:43.720 +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/05 06:58:43.725 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000051] ["first new region left"="{Id:261 StartKey:7480000000000000ff5000000000000000f8 EndKey:7480000000000000ff5100000000000000f8 RegionEpoch:{ConfVer:5 Version:61} Peers:[id:262 store_id:3 id:263 store_id:2 id:264 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.726 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[261,265]"] [2025/04/05 06:58:43.726 +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/05 06:58:43.730 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000053] ["first new region left"="{Id:269 StartKey:7480000000000000ff5200000000000000f8 EndKey:7480000000000000ff5300000000000000f8 RegionEpoch:{ConfVer:5 Version:63} Peers:[id:270 store_id:3 id:271 store_id:2 id:272 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.730 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[269,273]"] [2025/04/05 06:58:43.730 +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/05 06:58:43.736 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000055] ["first new region left"="{Id:277 StartKey:7480000000000000ff5400000000000000f8 EndKey:7480000000000000ff5500000000000000f8 RegionEpoch:{ConfVer:5 Version:65} Peers:[id:278 store_id:3 id:279 store_id:2 id:280 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.736 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[277,281]"] [2025/04/05 06:58:43.736 +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/05 06:58:43.742 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000057] ["first new region left"="{Id:285 StartKey:7480000000000000ff5600000000000000f8 EndKey:7480000000000000ff5700000000000000f8 RegionEpoch:{ConfVer:5 Version:67} Peers:[id:286 store_id:3 id:287 store_id:2 id:288 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.742 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[285,289]"] [2025/04/05 06:58:43.742 +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/05 06:58:43.748 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000059] ["first new region left"="{Id:293 StartKey:7480000000000000ff5800000000000000f8 EndKey:7480000000000000ff5900000000000000f8 RegionEpoch:{ConfVer:5 Version:69} Peers:[id:294 store_id:3 id:295 store_id:2 id:296 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.748 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[293,297]"] [2025/04/05 06:58:43.748 +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/05 06:58:43.753 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005b] ["first new region left"="{Id:301 StartKey:7480000000000000ff5a00000000000000f8 EndKey:7480000000000000ff5b00000000000000f8 RegionEpoch:{ConfVer:5 Version:71} Peers:[id:302 store_id:3 id:303 store_id:2 id:304 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.753 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[301,305]"] [2025/04/05 06:58:43.753 +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/05 06:58:43.759 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005d] ["first new region left"="{Id:309 StartKey:7480000000000000ff5c00000000000000f8 EndKey:7480000000000000ff5d00000000000000f8 RegionEpoch:{ConfVer:5 Version:73} Peers:[id:310 store_id:3 id:311 store_id:2 id:312 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.759 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[309,313]"] [2025/04/05 06:58:43.759 +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/05 06:58:43.765 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000005f] ["first new region left"="{Id:317 StartKey:7480000000000000ff5e00000000000000f8 EndKey:7480000000000000ff5f00000000000000f8 RegionEpoch:{ConfVer:5 Version:75} Peers:[id:318 store_id:3 id:319 store_id:2 id:320 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.765 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[317,321]"] [2025/04/05 06:58:43.765 +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/05 06:58:43.770 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000061] ["first new region left"="{Id:325 StartKey:7480000000000000ff6000000000000000f8 EndKey:7480000000000000ff6100000000000000f8 RegionEpoch:{ConfVer:5 Version:77} Peers:[id:326 store_id:3 id:327 store_id:2 id:328 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.770 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[325,329]"] [2025/04/05 06:58:43.770 +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/05 06:58:43.776 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000063] ["first new region left"="{Id:333 StartKey:7480000000000000ff6200000000000000f8 EndKey:7480000000000000ff6300000000000000f8 RegionEpoch:{ConfVer:5 Version:79} Peers:[id:334 store_id:3 id:335 store_id:2 id:336 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.776 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[333,337]"] [2025/04/05 06:58:43.776 +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/05 06:58:43.781 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=748000000000000065] ["first new region left"="{Id:341 StartKey:7480000000000000ff6400000000000000f8 EndKey:7480000000000000ff6500000000000000f8 RegionEpoch:{ConfVer:5 Version:81} Peers:[id:342 store_id:3 id:343 store_id:2 id:344 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.781 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[341,345]"] [2025/04/05 06:58:43.781 +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/05 06:58:43.786 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006b] ["first new region left"="{Id:349 StartKey:7480000000000000ff6a00000000000000f8 EndKey:7480000000000000ff6b00000000000000f8 RegionEpoch:{ConfVer:5 Version:83} Peers:[id:350 store_id:3 id:351 store_id:2 id:352 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.787 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[349,353]"] [2025/04/05 06:58:43.787 +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/05 06:58:43.792 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006d] ["first new region left"="{Id:357 StartKey:7480000000000000ff6c00000000000000f8 EndKey:7480000000000000ff6d00000000000000f8 RegionEpoch:{ConfVer:5 Version:85} Peers:[id:358 store_id:3 id:359 store_id:2 id:360 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.792 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[357,361]"] [2025/04/05 06:58:43.792 +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/05 06:58:43.798 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000006f] ["first new region left"="{Id:365 StartKey:7480000000000000ff6e00000000000000f8 EndKey:7480000000000000ff6f00000000000000f8 RegionEpoch:{ConfVer:5 Version:87} Peers:[id:366 store_id:3 id:367 store_id:2 id:368 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=2] [2025/04/05 06:58:43.798 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=2] ["region IDs"="[365,369]"] [2025/04/05 06:58:43.798 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:43.801 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:43.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.891073ms] ["completed regions"=1] [2025/04/05 06:58:43.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:43.807 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:43.809 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.169008ms] ["completed regions"=1] [2025/04/05 06:58:43.809 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:43.813 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:43.814 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.667039ms] ["completed regions"=1] [2025/04/05 06:58:43.814 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:43.817 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:43.819 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.396232ms] ["completed regions"=1] [2025/04/05 06:58:43.819 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:43.822 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:43.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.493249ms] ["completed regions"=1] [2025/04/05 06:58:43.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:43.827 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:43.828 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.084532ms] ["completed regions"=1] [2025/04/05 06:58:43.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:43.832 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:43.833 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.482066ms] ["completed regions"=1] [2025/04/05 06:58:43.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:43.836 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:43.838 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.111385ms] ["completed regions"=1] [2025/04/05 06:58:43.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:43.841 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:43.842 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.073338ms] ["completed regions"=1] [2025/04/05 06:58:43.842 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:43.845 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:43.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.959528ms] ["completed regions"=1] [2025/04/05 06:58:43.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:43.850 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:43.851 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.017029ms] ["completed regions"=1] [2025/04/05 06:58:43.851 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:43.854 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:43.855 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.805936ms] ["completed regions"=1] [2025/04/05 06:58:43.855 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:43.858 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:43.859 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.52426ms] ["completed regions"=1] [2025/04/05 06:58:43.859 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:43.862 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:43.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.780499ms] ["completed regions"=1] [2025/04/05 06:58:43.863 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:43.866 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:43.867 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.492015ms] ["completed regions"=1] [2025/04/05 06:58:43.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:43.870 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:43.871 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.634534ms] ["completed regions"=1] [2025/04/05 06:58:43.871 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:43.874 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:43.875 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.480899ms] ["completed regions"=1] [2025/04/05 06:58:43.875 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:43.878 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:43.879 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.458542ms] ["completed regions"=1] [2025/04/05 06:58:43.879 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:43.882 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:43.883 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.36556ms] ["completed regions"=1] [2025/04/05 06:58:43.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:43.885 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:43.887 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.575155ms] ["completed regions"=1] [2025/04/05 06:58:43.887 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:43.889 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:43.890 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.196944ms] ["completed regions"=1] [2025/04/05 06:58:43.890 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:43.893 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:43.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.3307ms] ["completed regions"=1] [2025/04/05 06:58:43.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:43.896 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:43.898 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.229837ms] ["completed regions"=1] [2025/04/05 06:58:43.898 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:43.900 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:43.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.043776ms] ["completed regions"=1] [2025/04/05 06:58:43.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:43.903 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:43.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.045552ms] ["completed regions"=1] [2025/04/05 06:58:43.905 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:43.907 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:43.908 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.031551ms] ["completed regions"=1] [2025/04/05 06:58:43.908 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:43.910 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:43.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.842407ms] ["completed regions"=1] [2025/04/05 06:58:43.912 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:43.913 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:43.915 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.946893ms] ["completed regions"=1] [2025/04/05 06:58:43.915 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:43.917 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:43.918 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.8066ms] ["completed regions"=1] [2025/04/05 06:58:43.918 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:43.920 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:43.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.712255ms] ["completed regions"=1] [2025/04/05 06:58:43.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:43.923 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:43.924 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.707007ms] ["completed regions"=1] [2025/04/05 06:58:43.924 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:43.926 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:43.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.990165ms] ["completed regions"=1] [2025/04/05 06:58:43.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:43.929 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:43.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.607395ms] ["completed regions"=1] [2025/04/05 06:58:43.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:43.932 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:43.934 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.457083ms] ["completed regions"=1] [2025/04/05 06:58:43.934 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:43.935 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:43.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.430862ms] ["completed regions"=1] [2025/04/05 06:58:43.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:43.938 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:43.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.366664ms] ["completed regions"=1] [2025/04/05 06:58:43.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:43.941 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:43.942 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.355917ms] ["completed regions"=1] [2025/04/05 06:58:43.942 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:43.943 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:43.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.310217ms] ["completed regions"=1] [2025/04/05 06:58:43.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:43.946 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:43.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.256073ms] ["completed regions"=1] [2025/04/05 06:58:43.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:43.949 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:43.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.300561ms] ["completed regions"=1] [2025/04/05 06:58:43.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:43.951 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:43.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.233143ms] ["completed regions"=1] [2025/04/05 06:58:43.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:43.954 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:43.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.117355ms] ["completed regions"=1] [2025/04/05 06:58:43.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:43.957 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 06:58:43.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=2.704444ms] ["completed regions"=1] [2025/04/05 06:58:43.965 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=114] [2025/04/05 06:58:43.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:43.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:43.975 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:43.977 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/05 06:58:43.977 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.101034ms] ["completed regions"=1] [2025/04/05 06:58:43.977 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:43.981 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:43.982 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/05 06:58:43.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.605655ms] ["completed regions"=1] [2025/04/05 06:58:43.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:43.986 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:43.988 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/05 06:58:43.988 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.944211ms] ["completed regions"=1] [2025/04/05 06:58:43.988 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:43.991 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:43.993 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/05 06:58:43.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.687799ms] ["completed regions"=1] [2025/04/05 06:58:43.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:43.996 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:43.998 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/05 06:58:43.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.47175ms] ["completed regions"=1] [2025/04/05 06:58:43.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:44.001 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:44.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/05 06:58:44.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.428975ms] ["completed regions"=1] [2025/04/05 06:58:44.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:44.006 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:44.007 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/05 06:58:44.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.464242ms] ["completed regions"=1] [2025/04/05 06:58:44.007 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:44.010 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:44.012 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/05 06:58:44.012 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.271798ms] ["completed regions"=1] [2025/04/05 06:58:44.012 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:44.015 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:44.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/05 06:58:44.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.19921ms] ["completed regions"=1] [2025/04/05 06:58:44.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:44.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:44.021 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/05 06:58:44.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.117214ms] ["completed regions"=1] [2025/04/05 06:58:44.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:44.024 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:44.026 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/05 06:58:44.026 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.252258ms] ["completed regions"=1] [2025/04/05 06:58:44.026 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:44.029 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:44.031 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/05 06:58:44.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.698806ms] ["completed regions"=1] [2025/04/05 06:58:44.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:44.034 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:44.036 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/05 06:58:44.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.446666ms] ["completed regions"=1] [2025/04/05 06:58:44.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:44.039 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:44.040 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/05 06:58:44.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.057859ms] ["completed regions"=1] [2025/04/05 06:58:44.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:44.043 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:44.044 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/05 06:58:44.044 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.920336ms] ["completed regions"=1] [2025/04/05 06:58:44.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:44.047 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:44.049 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/05 06:58:44.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.055448ms] ["completed regions"=1] [2025/04/05 06:58:44.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:44.051 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:44.053 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/05 06:58:44.053 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.905787ms] ["completed regions"=1] [2025/04/05 06:58:44.053 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:44.056 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:44.057 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/05 06:58:44.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.836987ms] ["completed regions"=1] [2025/04/05 06:58:44.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:44.060 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:44.061 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/05 06:58:44.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.509817ms] ["completed regions"=1] [2025/04/05 06:58:44.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:44.064 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:44.065 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/05 06:58:44.065 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.523743ms] ["completed regions"=1] [2025/04/05 06:58:44.065 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:44.068 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:44.069 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/05 06:58:44.069 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.598418ms] ["completed regions"=1] [2025/04/05 06:58:44.069 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:44.072 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:44.073 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/05 06:58:44.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.447698ms] ["completed regions"=1] [2025/04/05 06:58:44.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:44.075 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:44.077 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/05 06:58:44.077 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.545692ms] ["completed regions"=1] [2025/04/05 06:58:44.077 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:44.079 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:44.081 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/05 06:58:44.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.332984ms] ["completed regions"=1] [2025/04/05 06:58:44.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:44.083 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:44.085 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/05 06:58:44.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.373621ms] ["completed regions"=1] [2025/04/05 06:58:44.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:44.087 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:44.088 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/05 06:58:44.088 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.194401ms] ["completed regions"=1] [2025/04/05 06:58:44.088 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:44.090 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:44.092 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/05 06:58:44.092 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.220026ms] ["completed regions"=1] [2025/04/05 06:58:44.092 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:44.094 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:44.095 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/05 06:58:44.095 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.156638ms] ["completed regions"=1] [2025/04/05 06:58:44.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:44.097 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:44.099 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/05 06:58:44.099 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.164909ms] ["completed regions"=1] [2025/04/05 06:58:44.099 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:44.101 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:44.102 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/05 06:58:44.102 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.996615ms] ["completed regions"=1] [2025/04/05 06:58:44.102 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:44.104 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:44.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/05 06:58:44.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.164761ms] ["completed regions"=1] [2025/04/05 06:58:44.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:44.108 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:44.109 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/05 06:58:44.109 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.205623ms] ["completed regions"=1] [2025/04/05 06:58:44.109 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:44.111 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:44.113 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/05 06:58:44.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.887527ms] ["completed regions"=1] [2025/04/05 06:58:44.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:44.114 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:44.116 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/05 06:58:44.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.952257ms] ["completed regions"=1] [2025/04/05 06:58:44.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:44.118 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:44.119 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/05 06:58:44.119 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.799814ms] ["completed regions"=1] [2025/04/05 06:58:44.119 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:44.121 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:44.122 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/05 06:58:44.123 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.957452ms] ["completed regions"=1] [2025/04/05 06:58:44.123 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:44.124 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:44.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/05 06:58:44.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.751346ms] ["completed regions"=1] [2025/04/05 06:58:44.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:44.127 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:44.129 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/05 06:58:44.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=3.487503ms] ["completed regions"=1] [2025/04/05 06:58:44.130 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:44.131 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:44.133 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/05 06:58:44.133 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.853934ms] ["completed regions"=1] [2025/04/05 06:58:44.133 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:44.134 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:44.136 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/05 06:58:44.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.547671ms] ["completed regions"=1] [2025/04/05 06:58:44.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:44.137 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:44.139 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/05 06:58:44.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.485747ms] ["completed regions"=1] [2025/04/05 06:58:44.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:44.140 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:44.142 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/05 06:58:44.142 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.512994ms] ["completed regions"=1] [2025/04/05 06:58:44.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:44.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 06:58:44.146 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/05 06:58:44.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.184551ms] ["completed regions"=1] [2025/04/05 06:58:44.146 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:58:44.163 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:58:44.171 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:44.299 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=136.301105ms] [2025/04/05 06:58:44.299 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:44.305 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/05 06:58:44.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=58] ["take time"=146.615287ms] [job="ID:114, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.386 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=114] [conn=2] [job="ID:114, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:43.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.402 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/05 06:58:44.403 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.070023093\n# Parse_time: 0.000092271\n# Compile_time: 0.000290332\n# Rewrite_time: 0.000003302\n# Optimize_time: 0.000071846\n# Wait_TS: 0.000408488\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:58:43.314000';"] [2025/04/05 06:58:44.406 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:44.427 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:44.427 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [] [2025/04/05 06:58:44.427 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.428 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:44.428 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:44.428 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:44.428 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=37.154µs] [2025/04/05 06:58:44.428 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=42.316µs] [2025/04/05 06:58:44.428 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.429 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.430 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:44.430 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:44.431 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] ["take time"=3.631099ms] [2025/04/05 06:58:44.431 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.431 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:44.431 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:44.431 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/0c3e7dcb-866e-4595-a4f3-402965529660] [watcherID=a2c8fac4-0e34-45cf-ba50-ee4987e29da1] [2025/04/05 06:58:44.431 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/0c3e7dcb-866e-4595-a4f3-402965529660] [2025/04/05 06:58:44.431 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [ttl-worker=task-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [originalCount=4] [newCount=0] [2025/04/05 06:58:44.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:44.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:44.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:44.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:44.431 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [ttl-worker=task-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [originalCount=4] [newCount=0] [2025/04/05 06:58:44.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:44.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:44.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:44.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:44.436 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.436 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:44.437 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=300] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:44.438 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:44.439 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:44.439 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:44.438 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:44.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [2025/04/05 06:58:44.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:44.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:44.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.439 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:44.439 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:44.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.439 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.441 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=30d3ed54-93a2-4286-8b0b-fd4e564a725f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:44.441 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:44.441 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:44.441 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:44.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [] [2025/04/05 06:58:44.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:44.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:44.441 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [error="context canceled"] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.441 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.441 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [2025/04/05 06:58:44.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [error="context canceled"] [2025/04/05 06:58:44.441 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=044cf185-5e8f-49d6-8b0a-b374f2897440] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:44.462 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:44.462 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:44.501 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:44.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:44.512 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.369282ms] [2025/04/05 06:58:44.515 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:44.515 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:44.515 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:44.515 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:44.515 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:44.515 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:44.515 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:44.515 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:44.515 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:44.515 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:44.515 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:44.515 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:44.516 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashback (7.32s) === NAME === RUN TestPrepareFlashbackFailed [2025/04/05 06:58:44.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/05 06:58:44.522 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:44.523 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:44.523 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:44.523 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:44.524 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:44.524 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:44.524 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:44.524 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:44.524 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:44.524 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:44.528 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:44.533 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:44.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/05 06:58:44.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/05 06:58:44.544 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:44.554 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:44.588 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1122] ["lease id"=22319604bcfac477] [2025/04/05 06:58:44.590 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:44.715 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=58] ["elapsed time"=122.095177ms] [2025/04/05 06:58:44.715 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:44.719 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:44.725 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:44.725 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:44.727 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.728 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:44.728 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007089152/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:44.728 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:44.728 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:44.729 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:44.729 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [2025/04/05 06:58:44.731 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac37c] [ownerID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [op=none] [2025/04/05 06:58:44.731 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.731 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ownerKey=/tidb/ddl/fg/owner/6f189604bcfac37c] [currRev=309] [2025/04/05 06:58:44.732 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:44.732 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:44.732 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:44.732 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfac37e] [ownerID=fe6b7bde-db80-44e9-a30e-68cdabd67084] [op=none] [2025/04/05 06:58:44.732 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [2025/04/05 06:58:44.732 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [ownerKey=/tidb/br-stream/owner/6f189604bcfac37e] [currRev=310] [2025/04/05 06:58:44.733 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac37c] [ownerID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [op=none] [2025/04/05 06:58:44.733 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [op=none] [2025/04/05 06:58:44.733 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:44.740 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.741 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:44.741 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:44.752 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:44.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:44.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:44.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:44.768 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:44.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:44.768 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:44.768 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:44.768 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:44.768 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:44.768 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:44.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:44.769 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:44.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:44.771 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:44.771 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:44.773 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcfac481] [ownerID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [op=none] [2025/04/05 06:58:44.773 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.773 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ownerKey=/tidb/stats/owner/22319604bcfac481] [currRev=312] [2025/04/05 06:58:44.773 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:44.775 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/191ac845-5d17-414e-8184-83a6ef264e23] [2025/04/05 06:58:44.775 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ttl-worker=task-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [originalCount=0] [newCount=4] [2025/04/05 06:58:44.775 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ttl-worker=task-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [originalCount=0] [newCount=4] [2025/04/05 06:58:44.776 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:44.778 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:44.782 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:44.782 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:44.783 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836324783167393 [2025/04/05 06:58:44.786 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:44.792 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.208108ms] [2025/04/05 06:58:44.792 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:44.792 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:44.796 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:44.801 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=3] [schemaVersion=58] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:44.814 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:44.814 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:58:44.819 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.838 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=2.096182ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:44.841 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=59] [2025/04/05 06:58:44.843 +00:00] [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.246886ms] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.000484ms] [gotSchemaVersion=60] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:44.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=60] [2025/04/05 06:58:44.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=60] ["take time"=8.979008ms] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.884 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.891 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/05 06:58:44.908 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.195908ms] [gotSchemaVersion=61] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:44.911 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=61] [2025/04/05 06:58:44.913 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=8.538332ms] [job="ID:115, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.923 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=115] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/05 06:58:44.933 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=115] [jobType="drop table"] [2025/04/05 06:58:44.934 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=3] [job="ID:115, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:44.960 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 06:58:44.961 +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: 1743836324961334940 [2025/04/05 06:58:44.988 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:45.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=61] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:58:45.016 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 06:58:45.016 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:45.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.027 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 116, Table Name: t)"] [2025/04/05 06:58:45.064 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=61] ["elapsed time"=83.831976ms] [2025/04/05 06:58:45.064 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 06:58:45.064 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:45.071 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.473499ms] [gotSchemaVersion=62] [phyTblIDs="[116]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:45.074 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/05 06:58:45.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=62] ["take time"=37.171335ms] [job="ID:117, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:44.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.088 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=4] [job="ID:117, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:44.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:45.099 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 06:58:45.099 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=62] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 06:58:45.738 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:45.738 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:45.739 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:45.739 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:45.776 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:45.776 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:45.776 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/191ac845-5d17-414e-8184-83a6ef264e23] [watcherID=f9441448-d615-4720-8a54-86bee99cdc06] [2025/04/05 06:58:45.783 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:45.787 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:45.787 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:45.787 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:45.787 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:46.112 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:46.064 +0000 UTC"] [2025/04/05 06:58:46.123 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:46.123 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:46.064000'"] [2025/04/05 06:58:46.128 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.134 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 06:58:46.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.224 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=158ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:58:46.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=119.871µs] [gotSchemaVersion=63] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:46.259 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=63] [2025/04/05 06:58:46.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=63] ["take time"=6.887991ms] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.269 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:46.303 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:46.308 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:46.310 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=9.761238ms] ["completed regions"=1] [2025/04/05 06:58:46.310 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:46.313 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:46.318 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:46.319 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=9.114614ms] ["completed regions"=1] [2025/04/05 06:58:46.320 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:46.323 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:46.327 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:46.329 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=9.060469ms] ["completed regions"=1] [2025/04/05 06:58:46.329 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:46.332 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:46.336 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:46.338 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=8.27882ms] ["completed regions"=1] [2025/04/05 06:58:46.338 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:46.341 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:46.345 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:46.347 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=8.912829ms] ["completed regions"=1] [2025/04/05 06:58:46.347 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:46.350 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:46.355 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:46.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=8.942519ms] ["completed regions"=1] [2025/04/05 06:58:46.356 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:46.359 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:46.364 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:46.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=8.859054ms] ["completed regions"=1] [2025/04/05 06:58:46.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:46.369 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:46.373 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:46.375 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=8.648913ms] ["completed regions"=1] [2025/04/05 06:58:46.375 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:46.378 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:46.382 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:46.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=8.773591ms] ["completed regions"=1] [2025/04/05 06:58:46.384 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:46.387 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:46.392 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:46.393 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=8.804522ms] ["completed regions"=1] [2025/04/05 06:58:46.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:46.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:46.400 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:46.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=8.338804ms] ["completed regions"=1] [2025/04/05 06:58:46.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:46.405 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:46.409 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:46.411 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=8.382813ms] ["completed regions"=1] [2025/04/05 06:58:46.411 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:46.413 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:46.418 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:46.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=8.237031ms] ["completed regions"=1] [2025/04/05 06:58:46.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:46.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:46.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:46.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=8.438417ms] ["completed regions"=1] [2025/04/05 06:58:46.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:46.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:46.435 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:46.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=8.051287ms] ["completed regions"=1] [2025/04/05 06:58:46.437 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:46.439 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:46.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:46.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=8.288046ms] ["completed regions"=1] [2025/04/05 06:58:46.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:46.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:46.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:46.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=8.31042ms] ["completed regions"=1] [2025/04/05 06:58:46.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:46.457 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:46.461 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:46.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=8.179921ms] ["completed regions"=1] [2025/04/05 06:58:46.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:46.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:46.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:46.471 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=7.959543ms] ["completed regions"=1] [2025/04/05 06:58:46.471 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:46.473 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:46.478 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:46.480 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=8.492278ms] ["completed regions"=1] [2025/04/05 06:58:46.480 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:46.482 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:46.486 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:46.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=7.243973ms] ["completed regions"=1] [2025/04/05 06:58:46.488 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:46.490 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:46.494 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:46.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=7.883227ms] ["completed regions"=1] [2025/04/05 06:58:46.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:46.498 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:46.503 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:46.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=7.826548ms] ["completed regions"=1] [2025/04/05 06:58:46.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:46.506 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:46.511 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:46.512 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=7.881773ms] ["completed regions"=1] [2025/04/05 06:58:46.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:46.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:46.518 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:46.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=6.711829ms] ["completed regions"=1] [2025/04/05 06:58:46.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:46.522 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:46.525 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:46.527 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=6.726463ms] ["completed regions"=1] [2025/04/05 06:58:46.527 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:46.529 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:46.533 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:46.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=7.753039ms] ["completed regions"=1] [2025/04/05 06:58:46.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:46.537 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:46.541 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:46.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=7.494374ms] ["completed regions"=1] [2025/04/05 06:58:46.543 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:46.545 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:46.548 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:46.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=6.510882ms] ["completed regions"=1] [2025/04/05 06:58:46.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:46.551 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:46.556 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:46.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=7.304777ms] ["completed regions"=1] [2025/04/05 06:58:46.557 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:46.559 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:46.563 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:46.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=7.424246ms] ["completed regions"=1] [2025/04/05 06:58:46.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:46.567 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:46.571 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:46.573 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=7.291046ms] ["completed regions"=1] [2025/04/05 06:58:46.573 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:46.575 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:46.579 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:46.581 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=7.379487ms] ["completed regions"=1] [2025/04/05 06:58:46.581 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:46.582 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:46.586 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:46.588 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=6.57886ms] ["completed regions"=1] [2025/04/05 06:58:46.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:46.589 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:46.593 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:46.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=6.310877ms] ["completed regions"=1] [2025/04/05 06:58:46.595 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:46.596 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:46.600 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:46.602 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=7.185715ms] ["completed regions"=1] [2025/04/05 06:58:46.602 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:46.603 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:46.608 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:46.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=7.041412ms] ["completed regions"=1] [2025/04/05 06:58:46.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:46.611 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:46.615 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:46.617 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=6.992989ms] ["completed regions"=1] [2025/04/05 06:58:46.617 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:46.618 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:46.622 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:46.623 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=5.93466ms] ["completed regions"=1] [2025/04/05 06:58:46.623 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:46.624 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:46.629 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:46.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=6.923239ms] ["completed regions"=1] [2025/04/05 06:58:46.631 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:46.632 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:46.635 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:46.637 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=6.000172ms] ["completed regions"=1] [2025/04/05 06:58:46.637 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:46.638 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:46.642 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:46.644 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=6.699051ms] ["completed regions"=1] [2025/04/05 06:58:46.644 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:46.645 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 06:58:46.650 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 06:58:46.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=7.260592ms] ["completed regions"=1] [2025/04/05 06:58:46.658 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=118] [2025/04/05 06:58:46.664 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:46.665 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:46.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:46.670 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=43] [] [2025/04/05 06:58:46.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=4.903691ms] ["completed regions"=1] [2025/04/05 06:58:46.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:46.674 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:46.675 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=43] [] [2025/04/05 06:58:46.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.767064ms] ["completed regions"=1] [2025/04/05 06:58:46.676 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:46.679 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:46.681 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=43] [] [2025/04/05 06:58:46.681 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.756909ms] ["completed regions"=1] [2025/04/05 06:58:46.681 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:46.684 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:46.685 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=43] [] [2025/04/05 06:58:46.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.403596ms] ["completed regions"=1] [2025/04/05 06:58:46.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:46.689 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:46.690 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=43] [] [2025/04/05 06:58:46.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.59502ms] ["completed regions"=1] [2025/04/05 06:58:46.691 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:46.694 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:46.695 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=43] [] [2025/04/05 06:58:46.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.563806ms] ["completed regions"=1] [2025/04/05 06:58:46.696 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:46.699 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:46.700 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=43] [] [2025/04/05 06:58:46.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.535196ms] ["completed regions"=1] [2025/04/05 06:58:46.701 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:46.703 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:46.705 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=43] [] [2025/04/05 06:58:46.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.274585ms] ["completed regions"=1] [2025/04/05 06:58:46.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:46.708 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:46.710 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=43] [] [2025/04/05 06:58:46.710 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.452451ms] ["completed regions"=1] [2025/04/05 06:58:46.710 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:46.713 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:46.715 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=43] [] [2025/04/05 06:58:46.715 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.229394ms] ["completed regions"=1] [2025/04/05 06:58:46.715 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:46.718 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:46.719 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=43] [] [2025/04/05 06:58:46.719 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.304638ms] ["completed regions"=1] [2025/04/05 06:58:46.719 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:46.722 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:46.724 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=43] [] [2025/04/05 06:58:46.724 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.037408ms] ["completed regions"=1] [2025/04/05 06:58:46.724 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:46.727 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:46.728 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:46.728 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=43] [] [2025/04/05 06:58:46.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.063905ms] ["completed regions"=1] [2025/04/05 06:58:46.728 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:46.731 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:46.733 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=43] [] [2025/04/05 06:58:46.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.172722ms] ["completed regions"=1] [2025/04/05 06:58:46.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:46.736 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:46.737 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=43] [] [2025/04/05 06:58:46.738 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.238559ms] ["completed regions"=1] [2025/04/05 06:58:46.738 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:46.740 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:46.742 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=43] [] [2025/04/05 06:58:46.742 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.774025ms] ["completed regions"=1] [2025/04/05 06:58:46.742 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:46.744 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:46.746 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=43] [] [2025/04/05 06:58:46.746 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.865996ms] ["completed regions"=1] [2025/04/05 06:58:46.746 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:46.748 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:46.750 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=43] [] [2025/04/05 06:58:46.750 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.617531ms] ["completed regions"=1] [2025/04/05 06:58:46.750 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:46.752 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:46.754 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=43] [] [2025/04/05 06:58:46.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.646096ms] ["completed regions"=1] [2025/04/05 06:58:46.754 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:46.756 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:46.758 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=43] [] [2025/04/05 06:58:46.758 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.626493ms] ["completed regions"=1] [2025/04/05 06:58:46.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:46.760 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:46.762 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=43] [] [2025/04/05 06:58:46.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.453974ms] ["completed regions"=1] [2025/04/05 06:58:46.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:46.764 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:46.766 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=43] [] [2025/04/05 06:58:46.766 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.488774ms] ["completed regions"=1] [2025/04/05 06:58:46.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:46.768 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:46.770 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=43] [] [2025/04/05 06:58:46.770 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.438554ms] ["completed regions"=1] [2025/04/05 06:58:46.770 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:46.772 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:46.773 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=43] [] [2025/04/05 06:58:46.773 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.207971ms] ["completed regions"=1] [2025/04/05 06:58:46.773 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:46.775 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:46.777 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=43] [] [2025/04/05 06:58:46.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.466252ms] ["completed regions"=1] [2025/04/05 06:58:46.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:46.779 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:46.781 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=43] [] [2025/04/05 06:58:46.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.246267ms] ["completed regions"=1] [2025/04/05 06:58:46.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:46.783 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:46.785 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=43] [] [2025/04/05 06:58:46.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.444685ms] ["completed regions"=1] [2025/04/05 06:58:46.785 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:46.787 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:46.788 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=43] [] [2025/04/05 06:58:46.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.192799ms] ["completed regions"=1] [2025/04/05 06:58:46.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:46.790 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:46.792 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=43] [] [2025/04/05 06:58:46.792 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.277571ms] ["completed regions"=1] [2025/04/05 06:58:46.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:46.794 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:46.795 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=43] [] [2025/04/05 06:58:46.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.056644ms] ["completed regions"=1] [2025/04/05 06:58:46.796 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:46.797 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:46.799 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=43] [] [2025/04/05 06:58:46.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.021364ms] ["completed regions"=1] [2025/04/05 06:58:46.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:46.801 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:46.802 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=43] [] [2025/04/05 06:58:46.802 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.908249ms] ["completed regions"=1] [2025/04/05 06:58:46.802 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:46.804 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:46.805 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=43] [] [2025/04/05 06:58:46.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.893235ms] ["completed regions"=1] [2025/04/05 06:58:46.805 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:46.807 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:46.809 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=43] [] [2025/04/05 06:58:46.809 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.846982ms] ["completed regions"=1] [2025/04/05 06:58:46.809 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:46.810 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:46.812 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=43] [] [2025/04/05 06:58:46.812 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.757919ms] ["completed regions"=1] [2025/04/05 06:58:46.812 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:46.813 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:46.815 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=43] [] [2025/04/05 06:58:46.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.712008ms] ["completed regions"=1] [2025/04/05 06:58:46.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:46.816 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:46.818 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=43] [] [2025/04/05 06:58:46.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.814828ms] ["completed regions"=1] [2025/04/05 06:58:46.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:46.819 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:46.821 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=43] [] [2025/04/05 06:58:46.821 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.62524ms] ["completed regions"=1] [2025/04/05 06:58:46.821 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:46.823 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:46.824 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=43] [] [2025/04/05 06:58:46.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.621364ms] ["completed regions"=1] [2025/04/05 06:58:46.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:46.825 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:46.827 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=43] [] [2025/04/05 06:58:46.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.425069ms] ["completed regions"=1] [2025/04/05 06:58:46.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:46.828 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:46.830 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=43] [] [2025/04/05 06:58:46.830 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.42245ms] ["completed regions"=1] [2025/04/05 06:58:46.830 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:46.831 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:46.833 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=43] [] [2025/04/05 06:58:46.833 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.454386ms] ["completed regions"=1] [2025/04/05 06:58:46.833 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:46.834 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=74800000000000006f] [end_key=748000fffffffffc17] [2025/04/05 06:58:46.837 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=43] [] [2025/04/05 06:58:46.837 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.235233ms] ["completed regions"=1] [2025/04/05 06:58:46.837 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:58:46.853 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:58:46.936 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=82.741324ms] [2025/04/05 06:58:46.936 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:46.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=118] [version=64] [2025/04/05 06:58:46.941 +00:00] [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"=89.611218ms] [job="ID:118, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.020 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=118] [conn=4] [job="ID:118, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:46.114 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.032 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=118] [2025/04/05 06:58:47.033 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 4\n# Query_time: 0.921451097\n# Parse_time: 0.000094771\n# Compile_time: 0.000272834\n# Rewrite_time: 0.000003539\n# Optimize_time: 0.000084389\n# Wait_TS: 0.000391502\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:58:46.064000';"] [2025/04/05 06:58:47.035 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:47.059 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:47.059 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [] [2025/04/05 06:58:47.059 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:47.059 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.059 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:47.059 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:47.059 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=53.75µs] [2025/04/05 06:58:47.059 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=37.026µs] [2025/04/05 06:58:47.060 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=42.16µs] [2025/04/05 06:58:47.060 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.060 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.061 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:47.061 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:47.062 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] ["take time"=3.214435ms] [2025/04/05 06:58:47.062 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.062 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:47.062 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:47.062 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/191ac845-5d17-414e-8184-83a6ef264e23] [watcherID=f9441448-d615-4720-8a54-86bee99cdc06] [2025/04/05 06:58:47.062 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/191ac845-5d17-414e-8184-83a6ef264e23] [2025/04/05 06:58:47.062 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ttl-worker=task-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [originalCount=4] [newCount=0] [2025/04/05 06:58:47.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:47.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:47.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:47.063 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:47.063 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [ttl-worker=task-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [originalCount=4] [newCount=0] [2025/04/05 06:58:47.065 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:47.065 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:47.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:47.066 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:47.068 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.068 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1122] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:47.069 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [2025/04/05 06:58:47.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:47.069 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:47.069 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:47.070 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.069 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:47.070 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:47.070 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:47.070 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:47.070 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:47.070 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:47.072 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:47.072 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:47.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:47.073 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:47.073 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=fe6b7bde-db80-44e9-a30e-68cdabd67084] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:47.073 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:47.073 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:47.073 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:47.073 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:47.073 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:47.073 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:47.074 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [error="context canceled"] [2025/04/05 06:58:47.074 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [2025/04/05 06:58:47.090 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:47.090 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:47.134 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1b1ac360-d3e4-4e52-a5f6-274c06ff1623] [error="context canceled"] [2025/04/05 06:58:47.134 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:47.134 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:47.145 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.416589ms] [2025/04/05 06:58:47.148 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.148 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.148 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.148 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.148 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.148 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.148 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.148 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.148 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.149 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.149 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.149 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.150 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPrepareFlashbackFailed (2.63s) === NAME === RUN TestFlashbackAddDropIndex [2025/04/05 06:58:47.156 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.157 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:47.157 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:47.158 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.158 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:47.158 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.158 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.158 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.158 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.159 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.159 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.163 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:47.167 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.168 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.169 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.177 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:47.188 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:47.223 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1447] ["lease id"=6f189604bcfac39e] [2025/04/05 06:58:47.225 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:47.310 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=83.289612ms] [2025/04/05 06:58:47.310 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:47.313 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:47.318 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8858cc26-d2ed-4de3-a899-15cd64761d53] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:47.318 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:47.320 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.321 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:47.322 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007183360/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:47.322 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:47.322 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:47.322 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [2025/04/05 06:58:47.325 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac226] [ownerID=8858cc26-d2ed-4de3-a899-15cd64761d53] [op=none] [2025/04/05 06:58:47.325 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.325 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcfac226] [currRev=355] [2025/04/05 06:58:47.325 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:47.325 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=74f2922c-c857-4413-b659-317e973e53d2] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:47.326 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcfac228] [ownerID=74f2922c-c857-4413-b659-317e973e53d2] [op=none] [2025/04/05 06:58:47.326 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [2025/04/05 06:58:47.326 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [ownerKey=/tidb/br-stream/owner/3eaa9604bcfac228] [currRev=355] [2025/04/05 06:58:47.326 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:47.327 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac226] [ownerID=8858cc26-d2ed-4de3-a899-15cd64761d53] [op=none] [2025/04/05 06:58:47.327 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [op=none] [2025/04/05 06:58:47.327 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:47.330 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:47.331 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:47.340 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:47.347 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:47.353 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:47.353 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:47.353 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:47.353 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:47.353 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:47.353 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:47.353 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:47.353 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:47.353 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:47.354 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:47.354 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:47.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:47.356 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:47.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:47.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:47.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:47.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:47.358 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:47.358 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfac3a8] [ownerID=8858cc26-d2ed-4de3-a899-15cd64761d53] [op=none] [2025/04/05 06:58:47.358 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.358 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [ownerKey=/tidb/stats/owner/6f189604bcfac3a8] [currRev=357] [2025/04/05 06:58:47.359 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/468fea6f-af41-40e5-88c5-0a9cc7d9260e] [2025/04/05 06:58:47.360 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [ttl-worker=task-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [originalCount=0] [newCount=4] [2025/04/05 06:58:47.360 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [ttl-worker=task-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [originalCount=0] [newCount=4] [2025/04/05 06:58:47.360 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:47.361 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:47.362 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:47.362 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:47.362 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836327362669329 [2025/04/05 06:58:47.365 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:47.372 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.943478ms] [2025/04/05 06:58:47.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:47.372 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:47.376 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:47.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:47.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:58:47.397 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.414 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.862761ms] [gotSchemaVersion=65] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:47.417 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=65] [2025/04/05 06:58:47.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=65] ["take time"=9.028402ms] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.429 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.445 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.904257ms] [gotSchemaVersion=66] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:47.449 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=66] [2025/04/05 06:58:47.450 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=66] ["take time"=8.929142ms] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.459 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:116, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.465 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 116, Old Table Name: t)"] [2025/04/05 06:58:47.478 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.068964ms] [gotSchemaVersion=67] [phyTblIDs="[116]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:47.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=67] [2025/04/05 06:58:47.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=67] ["take time"=7.967299ms] [job="ID:119, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.493 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=119] [tableIDs="[116]"] [comment="drop table: table ID"] [2025/04/05 06:58:47.501 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=119] [jobType="drop table"] [2025/04/05 06:58:47.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=5] [job="ID:119, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:116, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.520 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 06:58:47.520 +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: 1743836327520728908 [2025/04/05 06:58:47.534 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=67] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:58:47.546 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.546 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 06:58:47.551 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.555 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 120, Table Name: t)"] [2025/04/05 06:58:47.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.471115ms] [gotSchemaVersion=68] [phyTblIDs="[120]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:47.573 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=121] [version=68] [2025/04/05 06:58:47.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=68] ["take time"=8.698065ms] [job="ID:121, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.587 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=121] [conn=6] [job="ID:121, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:47.514 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.598 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=121] [2025/04/05 06:58:47.599 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=68] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 06:58:48.331 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:48.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:48.331 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:48.331 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:48.360 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:48.360 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:48.360 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/468fea6f-af41-40e5-88c5-0a9cc7d9260e] [watcherID=3e63f66d-7551-4b32-b092-b01c67fe92f2] [2025/04/05 06:58:48.362 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:48.367 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:48.367 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:48.367 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:48.367 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:48.612 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/05 06:58:48.628 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 06:58:48.628 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/05 06:58:48.633 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.635 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:122, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":2,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/05 06:58:48.653 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.395031ms] [gotSchemaVersion=69] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:48.657 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=69] [2025/04/05 06:58:48.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=69] ["take time"=10.558807ms] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.670 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.624912ms] [gotSchemaVersion=70] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:48.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=70] [2025/04/05 06:58:48.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=70] ["take time"=9.157756ms] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.702 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.719 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.596311ms] [gotSchemaVersion=71] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:48.722 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=71] [2025/04/05 06:58:48.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=71] ["take time"=8.892596ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.733 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.735 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/05 06:58:48.737 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=122] [physicalTableID=120] [startKey=7480000000000000785f728000000000000001] [endKey=7480000000000000785f72800000000000000300] [2025/04/05 06:58:48.752 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=122] [2025/04/05 06:58:48.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136230554402824, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:48.760 +00:00] [INFO] [index.go:1363] ["index backfill state running"] [category=ddl] ["job ID"=122] [table=t] ["ingest mode"=true] [index=k] [2025/04/05 06:58:48.777 +00:00] [INFO] [index.go:2593] ["adjusted add-index task concurrency"] [category=ddl] [worker-cnt=4] [task-concurrency=4] [task-key=ddl/backfill/122] [2025/04/05 06:58:48.793 +00:00] [INFO] [index.go:2804] ["estimate row size"] [tableID=120] [size=0] [error="less than 3 regions"] [2025/04/05 06:58:48.833 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:48.833 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=4] [2025/04/05 06:58:49.163 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:49.322 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:49.336 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=read-index] [2025/04/05 06:58:49.336 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:58:49.338 +00:00] [INFO] [backfilling_dist_scheduler.go:125] ["on next subtasks batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [2025/04/05 06:58:49.338 +00:00] [INFO] [backfilling_dist_scheduler.go:132] ["available local disk space resource"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [size=25GiB] [2025/04/05 06:58:49.341 +00:00] [INFO] [backfilling_dist_scheduler.go:318] ["calculate region batch"] [category=ddl] [type=backfill] [task-id=1] [curr-step=init] [next-step=read-index] [totalRegionCnt=1] [regionBatch=1] [instanceCnt=1] [useCloud=false] [2025/04/05 06:58:49.342 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [state=pending] [step=read-index] [concurrency=4] [subtasks=1] [2025/04/05 06:58:49.475 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=backfill] [concurrency=4] [remaining-slots=12] [2025/04/05 06:58:49.787 +00:00] [INFO] [backfilling_read_index.go:93] ["read index executor init subtask exec env"] [category=ddl] [2025/04/05 06:58:49.787 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:49.787 +00:00] [INFO] [config.go:181] ["change memory setting for ingest"] ["local writer memory cache size"=134217728] ["engine memory cache size"=536870912] ["worker concurrency"=8] [2025/04/05 06:58:49.787 +00:00] [INFO] [backend_mgr.go:181] ["create local backend for adding index"] [category=ddl-ingest] [sortDir=/tmp/tidb/tmp_ddl-4000/122] [keyspaceName=] ["job ID"=122] ["current memory usage"=0] ["max memory quota"=17179869184] ["has unique index"=false] [2025/04/05 06:58:49.794 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:49.794 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:49.794 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:49.795 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:49.795 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:49.795 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:49.795 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:49.795 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:49.795 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:49.795 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:49.810 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:58:49.812 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:58:49.812 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=1] [task-type=backfill] [server-id=:4000] [step=read-index] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=4, Mem=8GiB]"] [2025/04/05 06:58:49.822 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=backfill] [server-id=:4000] [subtaskID=1] [step=read-index] [2025/04/05 06:58:49.822 +00:00] [INFO] [backfilling_read_index.go:107] ["read index executor run subtask"] [category=ddl] ["use cloud"=false] [2025/04/05 06:58:49.822 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:49.828 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 06:58:49.828 +00:00] [INFO] [engine_mgr.go:93] ["open an engine for index reorg task"] ["job ID"=122] ["index IDs"="[2]"] ["current memory usage"=0] ["memory limitation"=17179869184] [2025/04/05 06:58:49.828 +00:00] [INFO] [backfilling_operators.go:192] ["build add index local storage operators"] [task-id=1] [subtask-id=1] [jobID=122] [avgRowSize=0] [reader=2] [writer=4] [2025/04/05 06:58:49.828 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=120] ["start key"=7480000000000000785f728000000000000001] ["end key"=7480000000000000785f72800000000000000300] [2025/04/05 06:58:49.829 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=1] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 06:58:49.833 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=120] ["range start"=7480000000000000785f728000000000000001] ["range end"=7480000000000000785f72800000000000000300] ["range count"=1] [2025/04/05 06:58:49.834 +00:00] [INFO] [backfilling_operators.go:561] ["start a table scan task"] [task-id=1] [subtask-id=1] [id=0] [task="TableScanTask: id=0, startKey=7480000000000000785f728000000000000001, endKey=7480000000000000785f72800000000000000300"] [2025/04/05 06:58:49.845 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=2] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 06:58:49.845 +00:00] [INFO] [backfilling_operators.go:796] ["finish a index ingest task"] [task-id=1] [subtask-id=1] [id=0] [2025/04/05 06:58:49.859 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=3] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 06:58:49.859 +00:00] [INFO] [engine.go:151] ["create one local writer for index reorg task"] ["job ID"=122] ["index ID"=2] ["worker ID"=4] ["allocate memory"=134217768] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 06:58:49.859 +00:00] [INFO] [backfilling_operators.go:520] ["table scan operator total count"] [task-id=1] [subtask-id=1] [count=3] [2025/04/05 06:58:49.860 +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/e08ae8e2-de40-496a-8cce-3e6d0231729b.sst] [firstKey=7480000000000000785F698000000000000002038000000000000001038000000000000001] [lastKey=7480000000000000785F698000000000000002038000000000000003038000000000000003] [2025/04/05 06:58:49.866 +00:00] [INFO] [manager.go:654] ["acquire distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/05 06:58:49.866 +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: 266007212032/468329922560, backend usage: 0"] [2025/04/05 06:58:49.866 +00:00] [INFO] [backend.go:289] ["set ingest ts before import"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [jobID=122] [ts=457136230711689225] [2025/04/05 06:58:49.866 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [2025/04/05 06:58:49.871 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:58:49.894 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] ["region ranges"=1] [count=3] [size=114] [2025/04/05 06:58:49.894 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:58:49.895 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000785f698000000000000002038000000000000001038000000000000001] [endOfAllRanges=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [startKeyOfFirstRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ff785f698000000000ff0000020380000000ff0000000303800000ff0000000003000000fd] [2025/04/05 06:58:49.915 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [size=114] [kvs=3] [importedSize=114] [importedCount=3] [2025/04/05 06:58:49.917 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [retryCnt=0] [takeTime=50.548356ms] [] [2025/04/05 06:58:49.924 +00:00] [INFO] [manager.go:660] ["release distributed lock success"] [key=/tidb/distributeLock/122] [2025/04/05 06:58:49.926 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 06:58:49.928 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.941209ms] [] [2025/04/05 06:58:49.928 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [2025/04/05 06:58:49.929 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=t:2] [engineUUID=8de86ffa-82e6-5f82-9981-8310a1aa3f1d] [takeTime=1.140396ms] [] [2025/04/05 06:58:49.929 +00:00] [INFO] [backend.go:360] ["close one backend for DDL job"] [jobID=122] ["current memory usage"=0] ["max memory quota"=17179869184] [2025/04/05 06:58:49.935 +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=113.75986ms] [] [2025/04/05 06:58:50.340 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=backfill] [allocated-slots=true] [server-id=:4000] [current-step=read-index] [next-step=done] [2025/04/05 06:58:50.359 +00:00] [INFO] [read.go:674] ["Table information not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=112] [columnID=1] [2025/04/05 06:58:50.360 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=112] [indexID=1] [2025/04/05 06:58:50.360 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=116] [indexID=1] [2025/04/05 06:58:50.361 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:58:50.643 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/05 06:58:50.665 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.571985ms] [gotSchemaVersion=72] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:50.668 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=72] [2025/04/05 06:58:50.670 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=72] ["take time"=8.333879ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136230554402824, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136230554402824, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.680 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=122] [table=t] [index=k] [2025/04/05 06:58:50.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=1.600227ms] [gotSchemaVersion=73] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:50.698 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=73] [2025/04/05 06:58:50.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=73] ["take time"=8.032128ms] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.708 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:120, RowCount:3, ArgLen:0, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.711 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=122] [table=t] [2025/04/05 06:58:50.714 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 120, Table Name: t, Index ID: 2, Index Name: k)"] [2025/04/05 06:58:50.717 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/05 06:58:50.729 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.494671ms] [gotSchemaVersion=74] [phyTblIDs="[120]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:58:50.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=74] [2025/04/05 06:58:50.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=74] ["take time"=7.729996ms] [job="ID:122, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.742 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=122] [tableID=120] [indexIDs="[9223090561878065154]"] [comment="add index: physical table ID(s)"] [2025/04/05 06:58:50.751 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=122] [jobType="add index"] [2025/04/05 06:58:50.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=6] [job="ID:122, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:120, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:48.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:50.772 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 06:58:50.773 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 2.162306618\n# Parse_time: 0.000129706\n# Compile_time: 0.000320664\n# Rewrite_time: 0.000004975\n# Optimize_time: 0.000831569\n# Wait_TS: 0.00045332\n# DB: test\n# Is_internal: false\n# Digest: 1fbe1c4139cd04724109d4c37ad89fa611eb1f981f53303829eaf6e89580a83a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nalter table t add index k(a);"] [2025/04/05 06:58:50.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=74] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/05 06:58:50.787 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop index i"] [2025/04/05 06:58:50.787 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:50.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.808 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.536264ms] [gotSchemaVersion=75] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 06:58:50.811 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=75] [2025/04/05 06:58:50.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=75] ["take time"=8.317525ms] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.835 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:50.837 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.751401ms] [gotSchemaVersion=76] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 06:58:50.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=76] [2025/04/05 06:58:50.840 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:58:50.840 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 06:58:50.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=76] ["take time"=8.403959ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.850 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.860 +00:00] [INFO] [backfilling_read_index.go:175] ["read index executor cleanup subtask exec env"] [2025/04/05 06:58:50.862 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:58:50.863 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:50.863 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:50.863 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:50.863 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:50.863 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:50.863 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:50.863 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:50.863 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:50.864 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:50.864 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:50.864 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:50.863 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:50.865 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:58:50.865 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:50.865 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:50.865 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:50.865 +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.053160566s] [] [2025/04/05 06:58:50.866 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=backfill] [2025/04/05 06:58:50.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.623984ms] [gotSchemaVersion=77] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 06:58:50.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=77] [2025/04/05 06:58:50.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=77] ["take time"=8.606828ms] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.880 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.896 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.500181ms] [gotSchemaVersion=78] [phyTblIDs="[120]"] [actionTypes="[8]"] [diffTypes="[\"drop index\"]"] [2025/04/05 06:58:50.900 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=78] [2025/04/05 06:58:50.902 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=78] ["take time"=8.535233ms] [job="ID:123, Type:drop index, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.911 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=123] [tableID=120] [indexIDs="[1]"] [comment="drop index: table ID"] [2025/04/05 06:58:50.916 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop index"] [2025/04/05 06:58:50.917 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=6] [job="ID:123, Type:drop index, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 06:58:50.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=78] [cur_db=test] [sql="alter table t drop index i"] [user=] [2025/04/05 06:58:50.935 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'i' doesn't exist in table 't'"] [SQL="select max(a) from t use index(i)"] [2025/04/05 06:58:50.942 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:48.564 +0000 UTC"] [2025/04/05 06:58:50.953 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:50.953 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:48.564000'"] [2025/04/05 06:58:50.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:50.963 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/05 06:58:50.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=122.611µs] [gotSchemaVersion=79] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:51.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=79] [2025/04/05 06:58:51.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=79] ["take time"=9.713976ms] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.094 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.122 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:51.126 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:51.129 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.97045ms] ["completed regions"=1] [2025/04/05 06:58:51.129 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:51.132 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:51.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.27704ms] ["completed regions"=1] [2025/04/05 06:58:51.134 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:51.137 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:51.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.231806ms] ["completed regions"=1] [2025/04/05 06:58:51.139 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:51.142 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:51.143 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.063353ms] ["completed regions"=1] [2025/04/05 06:58:51.143 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:51.146 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:51.148 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.616783ms] ["completed regions"=1] [2025/04/05 06:58:51.148 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:51.151 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:51.153 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=3.934926ms] ["completed regions"=1] [2025/04/05 06:58:51.153 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:51.155 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:51.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.69866ms] ["completed regions"=1] [2025/04/05 06:58:51.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:51.160 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:51.162 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.124027ms] ["completed regions"=1] [2025/04/05 06:58:51.162 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:51.165 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:51.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.798746ms] ["completed regions"=1] [2025/04/05 06:58:51.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:51.169 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:51.170 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=3.712378ms] ["completed regions"=1] [2025/04/05 06:58:51.170 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:51.173 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:51.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.964631ms] ["completed regions"=1] [2025/04/05 06:58:51.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:51.177 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:51.179 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.286736ms] ["completed regions"=1] [2025/04/05 06:58:51.179 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:51.182 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:51.183 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.609757ms] ["completed regions"=1] [2025/04/05 06:58:51.183 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:51.186 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:51.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.53011ms] ["completed regions"=1] [2025/04/05 06:58:51.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:51.190 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:51.191 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.478868ms] ["completed regions"=1] [2025/04/05 06:58:51.191 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:51.193 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:51.195 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.499127ms] ["completed regions"=1] [2025/04/05 06:58:51.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:51.197 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:51.199 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.882612ms] ["completed regions"=1] [2025/04/05 06:58:51.199 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:51.201 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:51.203 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.384352ms] ["completed regions"=1] [2025/04/05 06:58:51.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:51.205 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:51.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.423929ms] ["completed regions"=1] [2025/04/05 06:58:51.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:51.209 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:51.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.318026ms] ["completed regions"=1] [2025/04/05 06:58:51.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:51.212 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:51.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.186766ms] ["completed regions"=1] [2025/04/05 06:58:51.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:51.216 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:51.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.135602ms] ["completed regions"=1] [2025/04/05 06:58:51.217 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:51.219 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:51.220 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.0527ms] ["completed regions"=1] [2025/04/05 06:58:51.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:51.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:51.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.126806ms] ["completed regions"=1] [2025/04/05 06:58:51.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:51.226 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:51.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.966725ms] ["completed regions"=1] [2025/04/05 06:58:51.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:51.229 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:51.230 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.858532ms] ["completed regions"=1] [2025/04/05 06:58:51.230 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:51.232 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:51.233 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.70958ms] ["completed regions"=1] [2025/04/05 06:58:51.233 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:51.235 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:51.236 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.7287ms] ["completed regions"=1] [2025/04/05 06:58:51.237 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:51.238 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:51.240 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.820042ms] ["completed regions"=1] [2025/04/05 06:58:51.240 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:51.241 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:51.243 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.705526ms] ["completed regions"=1] [2025/04/05 06:58:51.243 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:51.244 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:51.246 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.569491ms] ["completed regions"=1] [2025/04/05 06:58:51.246 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:51.247 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:51.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.558546ms] ["completed regions"=1] [2025/04/05 06:58:51.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:51.250 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:51.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.6169ms] ["completed regions"=1] [2025/04/05 06:58:51.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:51.253 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:51.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.421733ms] ["completed regions"=1] [2025/04/05 06:58:51.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:51.256 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:51.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.477017ms] ["completed regions"=1] [2025/04/05 06:58:51.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:51.258 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:51.260 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.378066ms] ["completed regions"=1] [2025/04/05 06:58:51.260 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:51.261 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:51.263 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.498538ms] ["completed regions"=1] [2025/04/05 06:58:51.263 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:51.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:51.265 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.443415ms] ["completed regions"=1] [2025/04/05 06:58:51.265 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:51.267 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:51.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.384434ms] ["completed regions"=1] [2025/04/05 06:58:51.268 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:51.269 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:51.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.3312ms] ["completed regions"=1] [2025/04/05 06:58:51.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:51.272 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:51.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.42787ms] ["completed regions"=1] [2025/04/05 06:58:51.274 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:51.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:51.276 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.235594ms] ["completed regions"=1] [2025/04/05 06:58:51.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:51.277 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:51.279 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:51.281 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:51.283 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.698782ms] ["completed regions"=3] [2025/04/05 06:58:51.290 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=124] [2025/04/05 06:58:51.296 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:51.300 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:51.302 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:58:51.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.44791ms] ["completed regions"=1] [2025/04/05 06:58:51.302 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:51.306 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:51.308 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:58:51.308 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.048424ms] ["completed regions"=1] [2025/04/05 06:58:51.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:51.311 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:51.313 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:58:51.313 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.661569ms] ["completed regions"=1] [2025/04/05 06:58:51.313 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:51.316 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:51.317 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:58:51.318 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.490238ms] ["completed regions"=1] [2025/04/05 06:58:51.318 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:51.321 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:51.323 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:58:51.323 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.593612ms] ["completed regions"=1] [2025/04/05 06:58:51.323 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:51.326 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:51.327 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:58:51.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.480144ms] ["completed regions"=1] [2025/04/05 06:58:51.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:51.330 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:51.332 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:58:51.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.334681ms] ["completed regions"=1] [2025/04/05 06:58:51.332 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:51.335 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:51.337 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:58:51.337 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.475195ms] ["completed regions"=1] [2025/04/05 06:58:51.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:51.340 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:51.341 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:58:51.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.06447ms] ["completed regions"=1] [2025/04/05 06:58:51.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:51.344 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:51.346 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:58:51.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.017249ms] ["completed regions"=1] [2025/04/05 06:58:51.346 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:51.348 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:51.350 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:58:51.350 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.117598ms] ["completed regions"=1] [2025/04/05 06:58:51.350 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:51.353 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:51.356 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:58:51.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.986814ms] ["completed regions"=1] [2025/04/05 06:58:51.357 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:51.359 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:51.361 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:58:51.361 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.87897ms] ["completed regions"=1] [2025/04/05 06:58:51.361 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:51.363 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:51.365 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:58:51.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.075741ms] ["completed regions"=1] [2025/04/05 06:58:51.365 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:51.368 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:51.369 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:58:51.369 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.925131ms] ["completed regions"=1] [2025/04/05 06:58:51.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:51.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:51.373 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:58:51.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.888437ms] ["completed regions"=1] [2025/04/05 06:58:51.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:51.376 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:51.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:58:51.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.027455ms] ["completed regions"=1] [2025/04/05 06:58:51.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:51.381 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:51.382 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:58:51.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.716628ms] ["completed regions"=1] [2025/04/05 06:58:51.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:51.384 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:51.386 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:58:51.386 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.534618ms] ["completed regions"=1] [2025/04/05 06:58:51.386 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:51.388 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:51.390 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:58:51.390 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.981614ms] ["completed regions"=1] [2025/04/05 06:58:51.390 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:51.392 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:51.394 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:58:51.394 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.418382ms] ["completed regions"=1] [2025/04/05 06:58:51.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:51.396 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:51.398 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:58:51.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.405398ms] ["completed regions"=1] [2025/04/05 06:58:51.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:51.400 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:51.401 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:58:51.401 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.361794ms] ["completed regions"=1] [2025/04/05 06:58:51.402 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:51.403 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:51.405 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:58:51.405 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.319209ms] ["completed regions"=1] [2025/04/05 06:58:51.405 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:51.407 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:51.409 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:58:51.409 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.177206ms] ["completed regions"=1] [2025/04/05 06:58:51.409 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:51.411 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:51.412 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:58:51.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.230017ms] ["completed regions"=1] [2025/04/05 06:58:51.412 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:51.414 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:51.416 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:58:51.416 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.186535ms] ["completed regions"=1] [2025/04/05 06:58:51.416 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:51.418 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:51.419 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:58:51.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.18697ms] ["completed regions"=1] [2025/04/05 06:58:51.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:51.421 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:51.423 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:58:51.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.229687ms] ["completed regions"=1] [2025/04/05 06:58:51.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:51.424 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:51.426 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:58:51.426 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.031343ms] ["completed regions"=1] [2025/04/05 06:58:51.426 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:51.428 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:51.429 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:58:51.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.002928ms] ["completed regions"=1] [2025/04/05 06:58:51.430 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:51.431 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:51.433 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:58:51.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.09143ms] ["completed regions"=1] [2025/04/05 06:58:51.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:51.434 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:51.436 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:58:51.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.013229ms] ["completed regions"=1] [2025/04/05 06:58:51.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:51.438 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:51.440 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:58:51.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=3.028034ms] ["completed regions"=1] [2025/04/05 06:58:51.440 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:51.441 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:51.443 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:58:51.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.936263ms] ["completed regions"=1] [2025/04/05 06:58:51.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:51.445 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:51.446 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:58:51.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.913965ms] ["completed regions"=1] [2025/04/05 06:58:51.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:51.448 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:51.449 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:58:51.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.796824ms] ["completed regions"=1] [2025/04/05 06:58:51.450 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:51.451 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:51.453 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:58:51.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.802404ms] ["completed regions"=1] [2025/04/05 06:58:51.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:51.454 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:51.456 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:58:51.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.609167ms] ["completed regions"=1] [2025/04/05 06:58:51.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:51.457 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:51.458 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:58:51.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.595748ms] ["completed regions"=1] [2025/04/05 06:58:51.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:51.460 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:51.461 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:58:51.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.481074ms] ["completed regions"=1] [2025/04/05 06:58:51.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:51.462 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:51.464 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:58:51.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.479032ms] ["completed regions"=1] [2025/04/05 06:58:51.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:51.465 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:51.467 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:51.471 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:51.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:58:51.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=9.800356ms] ["completed regions"=3] [2025/04/05 06:58:51.474 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:58:51.490 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:58:51.571 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=80.794227ms] [2025/04/05 06:58:51.571 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:51.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=80] [2025/04/05 06:58:51.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=80] ["take time"=88.416593ms] [job="ID:124, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.652 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=124] [conn=6] [job="ID:124, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:50.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:51.664 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 06:58:51.664 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 6\n# Query_time: 0.723058627\n# Parse_time: 0.000058458\n# Compile_time: 0.000262514\n# Rewrite_time: 0.000003204\n# Optimize_time: 0.000625832\n# Wait_TS: 0.00047327\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-05 06:58:48.564000';"] [2025/04/05 06:58:51.666 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:51.684 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:1176]Key 'k' doesn't exist in table 't'"] [SQL="select max(a) from t use index(k)"] [2025/04/05 06:58:51.688 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [] [2025/04/05 06:58:51.688 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:51.688 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:51.688 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:51.688 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp add index"] ["take time"=59.916µs] [2025/04/05 06:58:51.688 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:51.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=34.844µs] [2025/04/05 06:58:51.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=39.526µs] [2025/04/05 06:58:51.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=34.447µs] [2025/04/05 06:58:51.689 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=30.774µs] [2025/04/05 06:58:51.689 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.689 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.690 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:51.690 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:51.692 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8858cc26-d2ed-4de3-a899-15cd64761d53] ["take time"=3.857334ms] [2025/04/05 06:58:51.692 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.692 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:51.692 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:51.692 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/468fea6f-af41-40e5-88c5-0a9cc7d9260e] [watcherID=3e63f66d-7551-4b32-b092-b01c67fe92f2] [2025/04/05 06:58:51.692 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/468fea6f-af41-40e5-88c5-0a9cc7d9260e] [2025/04/05 06:58:51.692 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [ttl-worker=task-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [originalCount=4] [newCount=0] [2025/04/05 06:58:51.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:51.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:51.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:51.692 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:51.692 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [ttl-worker=task-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [originalCount=4] [newCount=0] [2025/04/05 06:58:51.695 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:51.695 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:51.695 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:51.695 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:51.697 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.697 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1447] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:51.699 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=74f2922c-c857-4413-b659-317e973e53d2] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [] [2025/04/05 06:58:51.699 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:51.699 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:51.699 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:51.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:51.699 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:51.700 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:51.699 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.700 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.700 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:51.700 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.700 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:51.700 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:51.700 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.700 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:51.700 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:51.702 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:51.702 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=74f2922c-c857-4413-b659-317e973e53d2] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:51.702 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:51.702 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:51.702 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:51.702 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:51.702 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:51.702 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:51.702 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [error="context canceled"] [2025/04/05 06:58:51.702 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:51.702 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:51.702 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:51.703 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [error="context canceled"] [2025/04/05 06:58:51.703 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [2025/04/05 06:58:51.703 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [error="context canceled"] [2025/04/05 06:58:51.703 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=8858cc26-d2ed-4de3-a899-15cd64761d53] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.719 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:51.719 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:51.762 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:51.762 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:51.774 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.777757ms] [2025/04/05 06:58:51.777 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:51.777 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:51.777 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:51.777 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:51.777 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:51.777 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:51.777 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:51.777 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:51.777 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:51.777 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:51.777 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:51.778 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:51.779 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropIndex (4.63s) === NAME === RUN TestFlashbackAddDropModifyColumn [2025/04/05 06:58:51.786 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:51.787 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:51.788 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:51.788 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:51.788 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:51.788 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:51.788 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:51.788 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:51.789 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:51.789 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:51.789 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:51.793 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:51.797 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:51.798 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:51.799 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:51.811 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:51.821 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:51.857 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=428] ["lease id"=6f189604bcfac3da] [2025/04/05 06:58:51.859 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:51.944 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=80] ["elapsed time"=82.274696ms] [2025/04/05 06:58:51.944 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:51.946 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:51.951 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b0425690-1ace-41e3-9a83-8db13bdd5edc] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:51.951 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:51.953 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:51.955 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:51.955 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007306240/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:51.955 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:51.955 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:51.955 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [2025/04/05 06:58:51.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:51.958 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac4e1] [ownerID=b0425690-1ace-41e3-9a83-8db13bdd5edc] [op=none] [2025/04/05 06:58:51.958 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:51.958 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:51.958 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ownerKey=/tidb/ddl/fg/owner/22319604bcfac4e1] [currRev=426] [2025/04/05 06:58:51.959 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:51.959 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcfac25d] [ownerID=5508fce2-b3db-4406-b437-5c897fe6e724] [op=none] [2025/04/05 06:58:51.959 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [2025/04/05 06:58:51.959 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [ownerKey=/tidb/br-stream/owner/3eaa9604bcfac25d] [currRev=426] [2025/04/05 06:58:51.959 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac4e1] [ownerID=b0425690-1ace-41e3-9a83-8db13bdd5edc] [op=none] [2025/04/05 06:58:51.960 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [op=none] [2025/04/05 06:58:51.960 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:51.964 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:51.965 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:51.965 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:52.027 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:52.035 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:52.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:52.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:52.044 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:52.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:52.044 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:52.044 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:52.044 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:52.044 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:52.044 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:52.045 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:52.045 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:52.047 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:52.047 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:52.047 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:52.048 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:52.050 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:52.050 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfac3e5] [ownerID=b0425690-1ace-41e3-9a83-8db13bdd5edc] [op=none] [2025/04/05 06:58:52.050 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:52.050 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ownerKey=/tidb/stats/owner/6f189604bcfac3e5] [currRev=428] [2025/04/05 06:58:52.052 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/44a0ddf3-2ca2-4d0a-a29c-64caeb30c7bd] [2025/04/05 06:58:52.052 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ttl-worker=task-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [originalCount=0] [newCount=4] [2025/04/05 06:58:52.052 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ttl-worker=task-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [originalCount=0] [newCount=4] [2025/04/05 06:58:52.052 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:52.054 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:52.054 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:52.054 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:52.055 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836332055175591 [2025/04/05 06:58:52.060 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:52.067 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.724957ms] [2025/04/05 06:58:52.067 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:52.067 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:52.075 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:52.078 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=80] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:52.090 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:52.090 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:58:52.095 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.113 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.108519ms] [gotSchemaVersion=81] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.116 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=81] [2025/04/05 06:58:52.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=81] ["take time"=9.362692ms] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=2.150752ms] [gotSchemaVersion=82] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.155 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=82] [2025/04/05 06:58:52.157 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=82] ["take time"=10.987571ms] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.166 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:120, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.173 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 120, Old Table Name: t)"] [2025/04/05 06:58:52.186 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.095369ms] [gotSchemaVersion=83] [phyTblIDs="[120]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:52.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=83] [2025/04/05 06:58:52.192 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=8.165657ms] [job="ID:125, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.201 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=125] [tableIDs="[120]"] [comment="drop table: table ID"] [2025/04/05 06:58:52.211 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=125] [jobType="drop table"] [2025/04/05 06:58:52.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=7] [job="ID:125, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:120, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.231 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 06:58:52.232 +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: 1743836332232419881 [2025/04/05 06:58:52.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=83] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:58:52.260 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, b int, index i(a))"] [2025/04/05 06:58:52.260 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:52.265 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.270 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 126, Table Name: t)"] [2025/04/05 06:58:52.285 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.568614ms] [gotSchemaVersion=84] [phyTblIDs="[126]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:52.288 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=84] [2025/04/05 06:58:52.290 +00:00] [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.414098ms] [job="ID:127, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:52.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.302 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=127] [conn=8] [job="ID:127, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:52.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:52.313 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/05 06:58:52.313 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=84] [cur_db=test] [sql="create table t(a int, b int, index i(a))"] [user=] [2025/04/05 06:58:52.965 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:52.965 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:52.965 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:52.965 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:53.052 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:53.052 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:53.053 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/44a0ddf3-2ca2-4d0a-a29c-64caeb30c7bd] [watcherID=9e8fb743-e839-4dd8-bd66-868faa87a9bb] [2025/04/05 06:58:53.055 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:53.060 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:53.060 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:53.060 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:53.060 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:53.334 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add column c int"] [2025/04/05 06:58:53.334 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.342 +00:00] [INFO] [add_column.go:82] ["run add column job"] [category=ddl] [job="ID:128, Type:add column, State:running, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [columnInfo="{\"id\":3,\"name\":{\"O\":\"c\",\"L\":\"c\"},\"offset\":2,\"origin_default\":null,\"origin_default_bit\":null,\"default\":null,\"default_bit\":null,\"default_is_expr\":false,\"generated_expr_string\":\"\",\"generated_stored\":false,\"dependences\":null,\"type\":{},\"state\":0,\"comment\":\"\",\"hidden\":false,\"change_state_info\":null,\"version\":2}"] [2025/04/05 06:58:53.358 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.820094ms] [gotSchemaVersion=85] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 06:58:53.361 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=85] [2025/04/05 06:58:53.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=85] ["take time"=9.05592ms] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.390 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.693322ms] [gotSchemaVersion=86] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 06:58:53.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=86] [2025/04/05 06:58:53.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=86] ["take time"=8.774148ms] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.405 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.421 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.758439ms] [gotSchemaVersion=87] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 06:58:53.425 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=87] [2025/04/05 06:58:53.427 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=8.870834ms] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.435 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.441 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add column, Table ID: 126, Table Name: t, Column ID: 3, Column Name: c)"] [2025/04/05 06:58:53.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.821705ms] [gotSchemaVersion=88] [phyTblIDs="[126]"] [actionTypes="[5]"] [diffTypes="[\"add column\"]"] [2025/04/05 06:58:53.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=88] [2025/04/05 06:58:53.462 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=9.171825ms] [job="ID:128, Type:add column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.472 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=8] [job="ID:128, Type:add column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.485 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 06:58:53.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=88] [cur_db=test] [sql="alter table t add column c int"] [user=] [2025/04/05 06:58:53.497 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.497 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop column b"] [2025/04/05 06:58:53.502 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.519 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.656686ms] [gotSchemaVersion=89] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 06:58:53.522 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=89] [2025/04/05 06:58:53.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=89] ["take time"=8.176854ms] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.772004ms] [gotSchemaVersion=90] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 06:58:53.562 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=90] [2025/04/05 06:58:53.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=90] ["take time"=9.69094ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.573 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.591 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.679743ms] [gotSchemaVersion=91] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 06:58:53.595 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=91] [2025/04/05 06:58:53.596 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=91] ["take time"=8.599102ms] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.605 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.623 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.686277ms] [gotSchemaVersion=92] [phyTblIDs="[126]"] [actionTypes="[6]"] [diffTypes="[\"drop column\"]"] [2025/04/05 06:58:53.627 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=92] [2025/04/05 06:58:53.628 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=92] ["take time"=9.030603ms] [job="ID:129, Type:drop column, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.638 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop column"] [2025/04/05 06:58:53.639 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=8] [job="ID:129, Type:drop column, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 06:58:53.659 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=92] [cur_db=test] [sql="alter table t drop column b"] [user=] [2025/04/05 06:58:53.661 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="modify column"] [enableDistTask=false] [enableFastReorg=false] [targetScope=] [maxNodeCount=0] [concurrency=4] [batchSize=256] [2025/04/05 06:58:53.672 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 06:58:53.672 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t modify column a tinyint"] [2025/04/05 06:58:53.678 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:queueing, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.697 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.888689ms] [gotSchemaVersion=93] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 06:58:53.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=93] [2025/04/05 06:58:53.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=93] ["take time"=9.141986ms] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.713 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.732 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.962365ms] [gotSchemaVersion=94] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 06:58:53.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=94] [2025/04/05 06:58:53.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=94] ["take time"=8.938655ms] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.745 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.764 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.847291ms] [gotSchemaVersion=95] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 06:58:53.767 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=95] [2025/04/05 06:58:53.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=95] ["take time"=8.807545ms] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.782 +00:00] [INFO] [reorg.go:913] ["job get table range"] [category=ddl] [jobID=130] [physicalTableID=126] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.793 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:53.800 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=130] [2025/04/05 06:58:53.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136231878230022, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.812 +00:00] [INFO] [column.go:481] ["start to update table row"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136231878230022, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_col_,CurrElementID:4,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/05 06:58:53.817 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="update column"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp update column"] [jobID=130] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp update column"] [jobID=130] [2025/04/05 06:58:53.818 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp update column"] [jobID=130] [2025/04/05 06:58:53.825 +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"=6.091402ms] [2025/04/05 06:58:53.825 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp update column"] [jobID=130] [2025/04/05 06:58:53.825 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:4,TypeKey:_col_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/05 06:58:53.834 +00:00] [INFO] [column.go:583] ["update column and indexes"] [category=ddl] ["job ID"=130] [element=ID:2,TypeKey:_idx_] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.834 +00:00] [INFO] [index.go:2404] ["start to add table index"] [category=ddl] [job="ID:130, Type:modify column, State:running, SchemaState:write reorganization, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136231878230022, Version: v2, UniqueWarnings:0"] [reorgInfo="CurrElementType:_idx_,CurrElementID:2,StartKey:74800000000000007e5f728000000000000001,EndKey:74800000000000007e5f72800000000000000300,First:false,PhysicalTableID:126,Ingest mode:false"] [2025/04/05 06:58:53.838 +00:00] [INFO] [backfilling.go:519] ["load table ranges from PD"] [category=ddl] [physicalTableID=126] ["start key"=74800000000000007e5f728000000000000001] ["end key"=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.838 +00:00] [INFO] [backfilling.go:546] ["load table ranges from PD done"] [category=ddl] [physicalTableID=126] ["range start"=74800000000000007e5f728000000000000001] ["range end"=74800000000000007e5f72800000000000000300] ["range count"=1] [2025/04/05 06:58:53.838 +00:00] [INFO] [backfilling.go:1056] ["start backfill workers to reorg record"] [category=ddl] [type="add index"] [workerCnt=4] [regionCnt=1] [startKey=74800000000000007e5f728000000000000001] [endKey=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.839 +00:00] [INFO] [backfilling.go:653] ["get backfill range task, change end key"] [category=ddl] [id=0] [pTbl=126] ["end key"=74800000000000007e5f72800000000000000300] ["current end key"=74800000000000007e5f72800000000000000300] [2025/04/05 06:58:53.839 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 2, tp add index"] [jobID=130] [2025/04/05 06:58:53.839 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 3, tp add index"] [jobID=130] [2025/04/05 06:58:53.839 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 1, tp add index"] [jobID=130] [2025/04/05 06:58:53.844 +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.553211ms] [2025/04/05 06:58:53.844 +00:00] [INFO] [backfilling.go:437] ["backfill worker exit"] [category=ddl] [worker="backfill-worker 0, tp add index"] [jobID=130] [2025/04/05 06:58:53.844 +00:00] [INFO] [backfilling.go:1002] ["backfill workers successfully processed"] [category=ddl] [element=ID:2,TypeKey:_idx_] ["total added count"=3] ["start key"=74800000000000007e5f728000000000000001] [2025/04/05 06:58:53.844 +00:00] [INFO] [reorg.go:409] ["run reorg job done"] [category=ddl] ["handled rows"=3] [2025/04/05 06:58:53.856 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: modify column, Table ID: 126, Table Name: t, Column ID: 4, Column Name: a)"] [2025/04/05 06:58:53.873 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.76606ms] [gotSchemaVersion=96] [phyTblIDs="[126]"] [actionTypes="[12]"] [diffTypes="[\"modify column\"]"] [2025/04/05 06:58:53.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=96] [2025/04/05 06:58:53.878 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=96] ["take time"=8.968359ms] [job="ID:130, Type:modify column, State:done, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136231878230022, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.888 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=130] [tableID=126] [indexIDs="[1]"] [comment="modify column: table ID"] [2025/04/05 06:58:53.893 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=130] [jobType="modify column"] [2025/04/05 06:58:53.894 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=130] [conn=8] [job="ID:130, Type:modify column, State:synced, SchemaState:public, SchemaID:2, TableID:126, RowCount:3, ArgLen:1, start time: 2025-04-05 06:58:53.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:457136231878230022, Version: v2, UniqueWarnings:0"] [2025/04/05 06:58:53.917 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/05 06:58:53.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=96] [cur_db=test] [sql="alter table t modify column a tinyint"] [user=] [2025/04/05 06:58:53.922 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:53.314 +0000 UTC"] [2025/04/05 06:58:53.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:53.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:53.314000'"] [2025/04/05 06:58:53.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.944 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/05 06:58:53.951 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:53.955 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:54.036 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=607ms] [requiredStaleness=707ms] [prevState=normal] [newState=adapting] [2025/04/05 06:58:54.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=148.596µs] [gotSchemaVersion=97] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:54.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=97] [2025/04/05 06:58:54.078 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=97] ["take time"=7.150329ms] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.087 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.119 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:54.122 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:54.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.731764ms] ["completed regions"=1] [2025/04/05 06:58:54.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:54.130 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:54.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.73213ms] ["completed regions"=1] [2025/04/05 06:58:54.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:54.135 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:54.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.534718ms] ["completed regions"=1] [2025/04/05 06:58:54.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:54.140 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:54.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.491781ms] ["completed regions"=1] [2025/04/05 06:58:54.141 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:54.145 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:54.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.546357ms] ["completed regions"=1] [2025/04/05 06:58:54.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:54.150 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:54.151 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.182231ms] ["completed regions"=1] [2025/04/05 06:58:54.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:54.155 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:54.156 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.565947ms] ["completed regions"=1] [2025/04/05 06:58:54.156 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:54.159 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:54.161 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.365239ms] ["completed regions"=1] [2025/04/05 06:58:54.161 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:54.164 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:54.166 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.250042ms] ["completed regions"=1] [2025/04/05 06:58:54.166 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:54.169 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:54.171 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.421803ms] ["completed regions"=1] [2025/04/05 06:58:54.171 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:54.174 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:54.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.887949ms] ["completed regions"=1] [2025/04/05 06:58:54.175 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:54.178 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:54.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.527208ms] ["completed regions"=1] [2025/04/05 06:58:54.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:54.183 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:54.184 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.864722ms] ["completed regions"=1] [2025/04/05 06:58:54.184 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:54.187 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:54.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.704428ms] ["completed regions"=1] [2025/04/05 06:58:54.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:54.191 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:54.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.637281ms] ["completed regions"=1] [2025/04/05 06:58:54.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:54.195 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:54.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.636425ms] ["completed regions"=1] [2025/04/05 06:58:54.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:54.200 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:54.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.828972ms] ["completed regions"=1] [2025/04/05 06:58:54.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:54.204 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:54.205 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.644024ms] ["completed regions"=1] [2025/04/05 06:58:54.205 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:54.208 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:54.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.543072ms] ["completed regions"=1] [2025/04/05 06:58:54.209 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:54.212 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:54.213 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.591404ms] ["completed regions"=1] [2025/04/05 06:58:54.213 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:54.215 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:54.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.447237ms] ["completed regions"=1] [2025/04/05 06:58:54.217 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:54.219 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:54.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.355114ms] ["completed regions"=1] [2025/04/05 06:58:54.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:54.223 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:54.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.07043ms] ["completed regions"=1] [2025/04/05 06:58:54.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:54.226 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:54.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.135836ms] ["completed regions"=1] [2025/04/05 06:58:54.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:54.230 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:54.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=2.87243ms] ["completed regions"=1] [2025/04/05 06:58:54.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:54.233 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:54.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.969511ms] ["completed regions"=1] [2025/04/05 06:58:54.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:54.236 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:54.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.211243ms] ["completed regions"=1] [2025/04/05 06:58:54.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:54.240 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:54.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.909875ms] ["completed regions"=1] [2025/04/05 06:58:54.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:54.243 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:54.244 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.781858ms] ["completed regions"=1] [2025/04/05 06:58:54.244 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:54.246 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:54.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.066729ms] ["completed regions"=1] [2025/04/05 06:58:54.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:54.250 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:54.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.860626ms] ["completed regions"=1] [2025/04/05 06:58:54.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:54.253 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:54.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.732658ms] ["completed regions"=1] [2025/04/05 06:58:54.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:54.256 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:54.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.543916ms] ["completed regions"=1] [2025/04/05 06:58:54.257 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:54.259 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:54.260 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.505414ms] ["completed regions"=1] [2025/04/05 06:58:54.260 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:54.262 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:54.263 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.592846ms] ["completed regions"=1] [2025/04/05 06:58:54.263 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:54.264 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:54.266 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.445488ms] ["completed regions"=1] [2025/04/05 06:58:54.266 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:54.267 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:54.269 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.322134ms] ["completed regions"=1] [2025/04/05 06:58:54.269 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:54.270 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:54.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.37219ms] ["completed regions"=1] [2025/04/05 06:58:54.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:54.273 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:54.274 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.280918ms] ["completed regions"=1] [2025/04/05 06:58:54.274 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:54.275 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:54.277 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.352963ms] ["completed regions"=1] [2025/04/05 06:58:54.277 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:54.278 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:54.280 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.380089ms] ["completed regions"=1] [2025/04/05 06:58:54.280 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:54.281 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:54.286 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=5.406649ms] ["completed regions"=1] [2025/04/05 06:58:54.286 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:54.287 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:54.288 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:54.290 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:54.292 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.660576ms] ["completed regions"=3] [2025/04/05 06:58:54.299 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=131] [2025/04/05 06:58:54.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.306 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:54.309 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:54.311 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:58:54.311 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.437462ms] ["completed regions"=1] [2025/04/05 06:58:54.311 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:54.315 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:54.317 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:58:54.317 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.019904ms] ["completed regions"=1] [2025/04/05 06:58:54.317 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:54.320 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:54.322 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:58:54.322 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.568283ms] ["completed regions"=1] [2025/04/05 06:58:54.322 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:54.325 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:54.327 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:58:54.327 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.632872ms] ["completed regions"=1] [2025/04/05 06:58:54.327 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:54.330 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:54.332 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:58:54.332 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.470816ms] ["completed regions"=1] [2025/04/05 06:58:54.332 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:54.335 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:54.336 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:58:54.336 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.431502ms] ["completed regions"=1] [2025/04/05 06:58:54.337 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:54.340 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:54.341 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:58:54.341 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.52082ms] ["completed regions"=1] [2025/04/05 06:58:54.341 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:54.344 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:54.346 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:58:54.346 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.18014ms] ["completed regions"=1] [2025/04/05 06:58:54.346 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:54.349 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:54.350 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:58:54.350 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.157098ms] ["completed regions"=1] [2025/04/05 06:58:54.350 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:54.353 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:54.355 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:58:54.355 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.256182ms] ["completed regions"=1] [2025/04/05 06:58:54.355 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:54.358 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:54.360 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:58:54.360 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.19882ms] ["completed regions"=1] [2025/04/05 06:58:54.360 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:54.363 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:54.365 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:58:54.366 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.246868ms] ["completed regions"=1] [2025/04/05 06:58:54.366 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:54.368 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:54.370 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:58:54.370 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.909924ms] ["completed regions"=1] [2025/04/05 06:58:54.370 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:54.372 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:54.374 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:58:54.374 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.977725ms] ["completed regions"=1] [2025/04/05 06:58:54.374 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:54.377 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:54.378 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:58:54.378 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.848787ms] ["completed regions"=1] [2025/04/05 06:58:54.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:54.381 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:54.382 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:58:54.382 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.599693ms] ["completed regions"=1] [2025/04/05 06:58:54.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:54.385 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:54.386 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:58:54.387 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.855038ms] ["completed regions"=1] [2025/04/05 06:58:54.387 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:54.389 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:54.391 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:58:54.391 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.736296ms] ["completed regions"=1] [2025/04/05 06:58:54.391 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:54.393 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:54.395 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:58:54.395 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.620524ms] ["completed regions"=1] [2025/04/05 06:58:54.395 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:54.397 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:54.398 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:58:54.399 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.547668ms] ["completed regions"=1] [2025/04/05 06:58:54.399 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:54.401 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:54.402 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:58:54.402 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.576524ms] ["completed regions"=1] [2025/04/05 06:58:54.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:54.404 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:54.406 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:58:54.406 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.436675ms] ["completed regions"=1] [2025/04/05 06:58:54.406 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:54.408 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:54.410 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:58:54.410 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.36778ms] ["completed regions"=1] [2025/04/05 06:58:54.410 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:54.412 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:54.414 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:58:54.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.417403ms] ["completed regions"=1] [2025/04/05 06:58:54.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:54.416 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:54.418 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:58:54.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.577763ms] ["completed regions"=1] [2025/04/05 06:58:54.418 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:54.420 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:54.421 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:58:54.421 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.381548ms] ["completed regions"=1] [2025/04/05 06:58:54.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:54.423 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:54.425 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:58:54.425 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.253446ms] ["completed regions"=1] [2025/04/05 06:58:54.425 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:54.427 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:54.429 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:58:54.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.196038ms] ["completed regions"=1] [2025/04/05 06:58:54.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:54.430 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:54.432 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:58:54.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.065522ms] ["completed regions"=1] [2025/04/05 06:58:54.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:54.434 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:54.436 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:58:54.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.335839ms] ["completed regions"=1] [2025/04/05 06:58:54.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:54.438 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:54.439 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:58:54.439 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.153173ms] ["completed regions"=1] [2025/04/05 06:58:54.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:54.441 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:54.443 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:58:54.443 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.937415ms] ["completed regions"=1] [2025/04/05 06:58:54.443 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:54.444 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:54.446 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:58:54.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.056101ms] ["completed regions"=1] [2025/04/05 06:58:54.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:54.448 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:54.449 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:58:54.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.93259ms] ["completed regions"=1] [2025/04/05 06:58:54.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:54.451 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:54.453 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:58:54.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.909163ms] ["completed regions"=1] [2025/04/05 06:58:54.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:54.454 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:54.456 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:58:54.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.845161ms] ["completed regions"=1] [2025/04/05 06:58:54.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:54.458 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:54.459 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:58:54.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.880303ms] ["completed regions"=1] [2025/04/05 06:58:54.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:54.461 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:54.462 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:58:54.463 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.859626ms] ["completed regions"=1] [2025/04/05 06:58:54.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:54.464 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:54.465 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:58:54.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.684303ms] ["completed regions"=1] [2025/04/05 06:58:54.466 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:54.467 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:54.469 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:58:54.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.865345ms] ["completed regions"=1] [2025/04/05 06:58:54.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:54.470 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:54.472 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:58:54.472 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.493653ms] ["completed regions"=1] [2025/04/05 06:58:54.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:54.473 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:54.474 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:58:54.474 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.536069ms] ["completed regions"=1] [2025/04/05 06:58:54.475 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:54.475 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:54.477 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:54.479 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:54.482 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:58:54.482 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=7.183457ms] ["completed regions"=3] [2025/04/05 06:58:54.482 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:58:54.498 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:58:54.584 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=86.558319ms] [2025/04/05 06:58:54.584 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:54.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=98] [2025/04/05 06:58:54.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=98] ["take time"=93.885897ms] [job="ID:131, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.668 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=8] [job="ID:131, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:53.915 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:54.681 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 06:58:54.681 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 8\n# Query_time: 0.759641582\n# Parse_time: 0.000076575\n# Compile_time: 0.000250151\n# Rewrite_time: 0.00000354\n# Optimize_time: 0.000037813\n# Wait_TS: 0.000353009\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:58:53.314000';"] [2025/04/05 06:58:54.683 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:54.704 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:54.704 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:54.704 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [] [2025/04/05 06:58:54.705 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.705 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp add index"] ["take time"=47.932µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=55.243µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=37.005µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=38.573µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=33.336µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=29.933µs] [2025/04/05 06:58:54.705 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.705 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.706 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:54.707 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:54.710 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b0425690-1ace-41e3-9a83-8db13bdd5edc] ["take time"=5.790323ms] [2025/04/05 06:58:54.710 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.710 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:54.710 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/44a0ddf3-2ca2-4d0a-a29c-64caeb30c7bd] [watcherID=9e8fb743-e839-4dd8-bd66-868faa87a9bb] [2025/04/05 06:58:54.710 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:54.710 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/44a0ddf3-2ca2-4d0a-a29c-64caeb30c7bd] [2025/04/05 06:58:54.710 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ttl-worker=task-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [originalCount=4] [newCount=0] [2025/04/05 06:58:54.710 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:54.710 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:54.710 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:54.711 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:54.711 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [ttl-worker=task-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [originalCount=4] [newCount=0] [2025/04/05 06:58:54.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:54.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:54.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:54.713 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:54.716 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.716 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=428] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:54.717 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.717 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:54.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:54.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:54.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:54.717 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:54.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:54.717 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.718 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.718 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:54.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:54.718 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:54.718 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:54.718 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:54.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:54.718 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:54.718 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:54.720 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:54.720 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [error="context canceled"] [2025/04/05 06:58:54.720 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:54.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:54.720 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:54.720 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=5508fce2-b3db-4406-b437-5c897fe6e724] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:54.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:54.720 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:54.720 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:54.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:54.720 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:54.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:54.722 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [error="context canceled"] [2025/04/05 06:58:54.722 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [2025/04/05 06:58:54.722 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [error="context canceled"] [2025/04/05 06:58:54.722 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=b0425690-1ace-41e3-9a83-8db13bdd5edc] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:54.742 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:54.742 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:54.782 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:54.782 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:54.793 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.869148ms] [2025/04/05 06:58:54.796 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:54.796 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:54.796 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:54.796 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:54.796 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:54.796 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:54.797 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:54.797 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:54.797 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:54.797 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:54.797 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:54.797 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:54.798 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAddDropModifyColumn (3.02s) === NAME === RUN TestFlashbackBasicRenameDropCreateTable [2025/04/05 06:58:54.807 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:54.807 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:54.808 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:54.809 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:54.809 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:54.809 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:54.809 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:54.809 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:54.809 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:54.810 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:54.810 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:54.814 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:54.819 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:54.820 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:54.820 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:54.834 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:54.844 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:54.878 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=628] ["lease id"=22319604bcfac512] [2025/04/05 06:58:54.880 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:54.972 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=98] ["elapsed time"=88.767202ms] [2025/04/05 06:58:54.972 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:54.974 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:54.979 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=305d12c6-ef93-4bc3-be1e-49911702a88a] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:54.979 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:54.981 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:54.983 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:54.983 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007429120/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:54.984 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:54.984 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:54.984 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [2025/04/05 06:58:54.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:54.986 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac517] [ownerID=305d12c6-ef93-4bc3-be1e-49911702a88a] [op=none] [2025/04/05 06:58:54.986 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:54.986 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [ownerKey=/tidb/ddl/fg/owner/22319604bcfac517] [currRev=496] [2025/04/05 06:58:54.986 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:54.986 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:54.987 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:54.987 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfac412] [ownerID=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [op=none] [2025/04/05 06:58:54.987 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [2025/04/05 06:58:54.987 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [ownerKey=/tidb/br-stream/owner/6f189604bcfac412] [currRev=497] [2025/04/05 06:58:54.988 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac517] [ownerID=305d12c6-ef93-4bc3-be1e-49911702a88a] [op=none] [2025/04/05 06:58:54.988 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [op=none] [2025/04/05 06:58:54.988 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:54.991 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:54.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:54.993 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:55.002 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:55.009 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:55.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:55.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:55.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:55.018 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:55.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:55.018 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:55.018 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:55.018 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:55.018 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:55.019 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:55.019 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:55.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:55.021 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:55.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:55.023 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:55.023 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcfac51f] [ownerID=305d12c6-ef93-4bc3-be1e-49911702a88a] [op=none] [2025/04/05 06:58:55.023 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:55.023 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [ownerKey=/tidb/stats/owner/22319604bcfac51f] [currRev=499] [2025/04/05 06:58:55.025 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/49324f8a-2a9d-4cab-8a2e-56117f989d25] [2025/04/05 06:58:55.025 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [ttl-worker=task-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [originalCount=0] [newCount=4] [2025/04/05 06:58:55.026 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [ttl-worker=task-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [originalCount=0] [newCount=4] [2025/04/05 06:58:55.026 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:55.026 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:55.027 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:55.027 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:55.027 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836335027345794 [2025/04/05 06:58:55.032 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:55.038 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.953699ms] [2025/04/05 06:58:55.038 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:55.038 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:55.046 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:55.057 +00:00] [INFO] [set.go:172] ["set global var"] [conn=9] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:55.060 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=98] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:55.072 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:58:55.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.095 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.153668ms] [gotSchemaVersion=99] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.099 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=99] [2025/04/05 06:58:55.101 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=9.121029ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.110 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.128 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.158837ms] [gotSchemaVersion=100] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.131 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=100] [2025/04/05 06:58:55.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=100] ["take time"=9.044303ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.142 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:126, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.148 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 126, Old Table Name: t)"] [2025/04/05 06:58:55.162 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.11068ms] [gotSchemaVersion=101] [phyTblIDs="[126]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:55.165 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=101] [2025/04/05 06:58:55.167 +00:00] [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.790735ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.176 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[126]"] [comment="drop table: table ID"] [2025/04/05 06:58:55.184 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/05 06:58:55.185 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=9] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:126, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.205 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 06:58:55.205 +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: 1743836335205764312 [2025/04/05 06:58:55.224 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:55.238 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=101] [cur_db=test] [sql="drop table if exists t, t1, t2, t3"] [user=] [2025/04/05 06:58:55.252 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.252 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index i(a))"] [2025/04/05 06:58:55.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.262 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/05 06:58:55.277 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.550875ms] [gotSchemaVersion=102] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:55.281 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=102] [2025/04/05 06:58:55.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=102] ["take time"=8.484601ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.294 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=10] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.306 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 06:58:55.306 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=102] [cur_db=test] [sql="create table t(a int, index i(a))"] [user=] [2025/04/05 06:58:55.331 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:55.331 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, index i(a))"] [2025/04/05 06:58:55.337 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.342 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 135, Table Name: t1)"] [2025/04/05 06:58:55.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.54228ms] [gotSchemaVersion=103] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:55.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=103] [2025/04/05 06:58:55.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=103] ["take time"=8.274523ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:55.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=136] [conn=10] [job="ID:136, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:55.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:55.384 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/05 06:58:55.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=103] [cur_db=test] [sql="create table t1(a int, index i(a))"] [user=] [2025/04/05 06:58:55.993 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:55.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:55.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:55.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:56.026 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:56.026 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:56.026 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/49324f8a-2a9d-4cab-8a2e-56117f989d25] [watcherID=99aba2c4-6653-4d37-b6e2-28e1c384839a] [2025/04/05 06:58:56.027 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:56.033 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:56.033 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:56.033 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:56.033 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:56.407 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="rename table t to t3"] [2025/04/05 06:58:56.407 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.412 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:queueing, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.431 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.59988ms] [gotSchemaVersion=104] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/05 06:58:56.435 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=104] [2025/04/05 06:58:56.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=104] ["take time"=8.293314ms] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.448 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:running, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.465 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.521814ms] [gotSchemaVersion=105] [phyTblIDs="[133]"] [actionTypes="[14]"] [diffTypes="[\"rename table\"]"] [2025/04/05 06:58:56.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=105] [2025/04/05 06:58:56.470 +00:00] [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.673454ms] [job="ID:137, Type:rename table, State:done, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.483 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=10] [job="ID:137, Type:rename table, State:synced, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.494 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 06:58:56.495 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=105] [cur_db=test] [sql="rename table t to t3"] [user=] [2025/04/05 06:58:56.507 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.507 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t1"] [2025/04/05 06:58:56.512 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.529 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.897174ms] [gotSchemaVersion=106] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.533 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=106] [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 41s remote-cache, linux-sandbox [2025/04/05 06:58:56.534 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=106] ["take time"=8.961154ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.544 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.561 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.873043ms] [gotSchemaVersion=107] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.564 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=107] [2025/04/05 06:58:56.566 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=107] ["take time"=8.858878ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.574 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.581 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/05 06:58:56.595 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.074855ms] [gotSchemaVersion=108] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:56.598 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=108] [2025/04/05 06:58:56.600 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=8.363838ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.610 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/05 06:58:56.615 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/05 06:58:56.616 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=10] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.464 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/05 06:58:56.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=108] [cur_db=test] [sql="drop table t1"] [user=] [2025/04/05 06:58:56.646 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.646 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, index i(a))"] [2025/04/05 06:58:56.651 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.656 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t2)"] [2025/04/05 06:58:56.671 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.582028ms] [gotSchemaVersion=109] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:56.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=109] [2025/04/05 06:58:56.676 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=109] ["take time"=8.681301ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.687 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=10] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.614 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 06:58:56.700 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=109] [cur_db=test] [sql="create table t2(a int, index i(a))"] [user=] [2025/04/05 06:58:56.718 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:56.364 +0000 UTC"] [2025/04/05 06:58:56.729 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:56.729 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:56.364000'"] [2025/04/05 06:58:56.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.740 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/05 06:58:56.747 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.814 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:56.832 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=451ms] [prevState=normal] [newState=adapting] [2025/04/05 06:58:56.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=152.139µs] [gotSchemaVersion=110] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:56.868 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=110] [2025/04/05 06:58:56.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=110] ["take time"=7.343913ms] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.878 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:56.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:56.913 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:56.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.125052ms] ["completed regions"=1] [2025/04/05 06:58:56.917 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:56.920 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:56.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.572513ms] ["completed regions"=1] [2025/04/05 06:58:56.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:56.925 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:56.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.365139ms] ["completed regions"=1] [2025/04/05 06:58:56.927 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:56.930 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:56.931 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.177058ms] ["completed regions"=1] [2025/04/05 06:58:56.931 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:56.934 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:56.936 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.473448ms] ["completed regions"=1] [2025/04/05 06:58:56.936 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:56.940 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:56.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.350048ms] ["completed regions"=1] [2025/04/05 06:58:56.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:56.944 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:56.946 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.149481ms] ["completed regions"=1] [2025/04/05 06:58:56.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:56.949 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:56.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.141233ms] ["completed regions"=1] [2025/04/05 06:58:56.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:56.953 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:56.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.058811ms] ["completed regions"=1] [2025/04/05 06:58:56.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:56.958 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:56.960 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.157128ms] ["completed regions"=1] [2025/04/05 06:58:56.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:56.963 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:56.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.956185ms] ["completed regions"=1] [2025/04/05 06:58:56.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:56.967 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:56.969 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.403512ms] ["completed regions"=1] [2025/04/05 06:58:56.969 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:56.972 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:56.973 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.728951ms] ["completed regions"=1] [2025/04/05 06:58:56.973 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:56.976 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:56.977 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.684675ms] ["completed regions"=1] [2025/04/05 06:58:56.977 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:56.980 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:56.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.482953ms] ["completed regions"=1] [2025/04/05 06:58:56.981 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:56.983 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:56.984 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:56.985 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.785401ms] ["completed regions"=1] [2025/04/05 06:58:56.985 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:56.988 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:56.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.636103ms] ["completed regions"=1] [2025/04/05 06:58:56.989 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:56.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:56.993 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.468368ms] ["completed regions"=1] [2025/04/05 06:58:56.993 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:56.996 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:56.997 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.454884ms] ["completed regions"=1] [2025/04/05 06:58:56.997 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:57.000 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:57.001 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.523056ms] ["completed regions"=1] [2025/04/05 06:58:57.001 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:57.003 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:57.005 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.501765ms] ["completed regions"=1] [2025/04/05 06:58:57.005 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:57.007 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:57.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.185308ms] ["completed regions"=1] [2025/04/05 06:58:57.009 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:57.011 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:57.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.408882ms] ["completed regions"=1] [2025/04/05 06:58:57.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:57.015 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:57.016 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.311885ms] ["completed regions"=1] [2025/04/05 06:58:57.016 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:57.019 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:57.020 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.204689ms] ["completed regions"=1] [2025/04/05 06:58:57.020 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:57.022 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:57.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.095242ms] ["completed regions"=1] [2025/04/05 06:58:57.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:57.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:57.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.092072ms] ["completed regions"=1] [2025/04/05 06:58:57.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:57.029 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:57.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.195899ms] ["completed regions"=1] [2025/04/05 06:58:57.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:57.033 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:57.035 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.052009ms] ["completed regions"=1] [2025/04/05 06:58:57.035 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:57.037 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:57.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.260341ms] ["completed regions"=1] [2025/04/05 06:58:57.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:57.040 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:57.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.943482ms] ["completed regions"=1] [2025/04/05 06:58:57.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:57.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:57.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.733414ms] ["completed regions"=1] [2025/04/05 06:58:57.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:57.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:57.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.76802ms] ["completed regions"=1] [2025/04/05 06:58:57.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:57.050 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:57.051 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.632405ms] ["completed regions"=1] [2025/04/05 06:58:57.051 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:57.053 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:57.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.732163ms] ["completed regions"=1] [2025/04/05 06:58:57.055 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:57.056 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:57.058 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.758015ms] ["completed regions"=1] [2025/04/05 06:58:57.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:57.059 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:57.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.405282ms] ["completed regions"=1] [2025/04/05 06:58:57.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:57.062 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:57.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.451634ms] ["completed regions"=1] [2025/04/05 06:58:57.064 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:57.065 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:57.066 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.331176ms] ["completed regions"=1] [2025/04/05 06:58:57.066 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:57.067 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:57.069 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.382182ms] ["completed regions"=1] [2025/04/05 06:58:57.069 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:57.070 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:57.072 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.279321ms] ["completed regions"=1] [2025/04/05 06:58:57.072 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:57.073 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:57.074 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.221312ms] ["completed regions"=1] [2025/04/05 06:58:57.074 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:57.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:57.077 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:57.078 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:57.080 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.280028ms] ["completed regions"=3] [2025/04/05 06:58:57.086 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=141] [2025/04/05 06:58:57.092 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.093 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:57.097 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:57.100 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:58:57.101 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.095036ms] ["completed regions"=1] [2025/04/05 06:58:57.101 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:57.104 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:57.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:58:57.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.120127ms] ["completed regions"=1] [2025/04/05 06:58:57.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:57.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:57.111 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:58:57.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.631015ms] ["completed regions"=1] [2025/04/05 06:58:57.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:57.114 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:57.116 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:58:57.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.730529ms] ["completed regions"=1] [2025/04/05 06:58:57.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:57.119 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:57.121 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:58:57.121 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.420042ms] ["completed regions"=1] [2025/04/05 06:58:57.121 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:57.124 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:57.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:58:57.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.269134ms] ["completed regions"=1] [2025/04/05 06:58:57.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:57.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:57.130 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:58:57.130 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.372498ms] ["completed regions"=1] [2025/04/05 06:58:57.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:57.134 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:57.135 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:58:57.135 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.329196ms] ["completed regions"=1] [2025/04/05 06:58:57.135 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:57.138 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:57.140 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:58:57.140 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.433303ms] ["completed regions"=1] [2025/04/05 06:58:57.140 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:57.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:57.145 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:58:57.145 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.275888ms] ["completed regions"=1] [2025/04/05 06:58:57.145 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:57.148 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:57.149 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:58:57.149 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.125467ms] ["completed regions"=1] [2025/04/05 06:58:57.149 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:57.152 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:57.155 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:58:57.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.142309ms] ["completed regions"=1] [2025/04/05 06:58:57.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:57.158 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:57.159 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:58:57.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.170814ms] ["completed regions"=1] [2025/04/05 06:58:57.160 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:57.162 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:57.164 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:58:57.164 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.935288ms] ["completed regions"=1] [2025/04/05 06:58:57.164 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:57.166 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:57.168 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:58:57.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.730772ms] ["completed regions"=1] [2025/04/05 06:58:57.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:57.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:57.172 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:58:57.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.772228ms] ["completed regions"=1] [2025/04/05 06:58:57.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:57.174 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:57.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:58:57.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.66551ms] ["completed regions"=1] [2025/04/05 06:58:57.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:57.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:57.180 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:58:57.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.591837ms] ["completed regions"=1] [2025/04/05 06:58:57.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:57.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:57.184 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:58:57.184 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.792388ms] ["completed regions"=1] [2025/04/05 06:58:57.184 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:57.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:57.188 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:58:57.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.658566ms] ["completed regions"=1] [2025/04/05 06:58:57.188 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:57.190 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:57.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:58:57.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.759814ms] ["completed regions"=1] [2025/04/05 06:58:57.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:57.194 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:57.196 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:58:57.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.411128ms] ["completed regions"=1] [2025/04/05 06:58:57.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:57.198 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:57.200 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:58:57.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.547753ms] ["completed regions"=1] [2025/04/05 06:58:57.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:57.202 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:57.203 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:58:57.203 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.309326ms] ["completed regions"=1] [2025/04/05 06:58:57.203 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:57.205 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:57.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:58:57.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.220112ms] ["completed regions"=1] [2025/04/05 06:58:57.207 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:57.209 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:57.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:58:57.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.222621ms] ["completed regions"=1] [2025/04/05 06:58:57.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:57.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:57.214 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:58:57.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.16716ms] ["completed regions"=1] [2025/04/05 06:58:57.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:57.216 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:57.217 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:58:57.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.167737ms] ["completed regions"=1] [2025/04/05 06:58:57.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:57.219 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:57.221 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:58:57.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.024956ms] ["completed regions"=1] [2025/04/05 06:58:57.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:57.222 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:57.224 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:58:57.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.024734ms] ["completed regions"=1] [2025/04/05 06:58:57.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:57.226 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:57.227 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:58:57.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.008674ms] ["completed regions"=1] [2025/04/05 06:58:57.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:57.229 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:57.231 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:58:57.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.122774ms] ["completed regions"=1] [2025/04/05 06:58:57.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:57.233 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:57.234 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:58:57.234 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.999954ms] ["completed regions"=1] [2025/04/05 06:58:57.234 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:57.236 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:57.238 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:58:57.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.94939ms] ["completed regions"=1] [2025/04/05 06:58:57.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:57.239 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:57.241 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:58:57.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.07823ms] ["completed regions"=1] [2025/04/05 06:58:57.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:57.243 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:57.244 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:58:57.244 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.968079ms] ["completed regions"=1] [2025/04/05 06:58:57.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:57.246 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:57.248 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:58:57.248 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.867035ms] ["completed regions"=1] [2025/04/05 06:58:57.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:57.249 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:57.251 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:58:57.251 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.966974ms] ["completed regions"=1] [2025/04/05 06:58:57.251 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:57.253 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:57.254 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:58:57.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.667139ms] ["completed regions"=1] [2025/04/05 06:58:57.254 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:57.256 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:57.257 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:58:57.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.891835ms] ["completed regions"=1] [2025/04/05 06:58:57.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:57.259 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:57.261 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:58:57.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.746795ms] ["completed regions"=1] [2025/04/05 06:58:57.261 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:57.262 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:57.264 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:58:57.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.606951ms] ["completed regions"=1] [2025/04/05 06:58:57.264 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:57.265 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:57.267 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:57.268 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:57.272 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:58:57.272 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=7.515037ms] ["completed regions"=3] [2025/04/05 06:58:57.272 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:58:57.288 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:58:57.373 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=85.6003ms] [2025/04/05 06:58:57.373 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:57.377 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=111] [2025/04/05 06:58:57.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=111] ["take time"=93.081042ms] [job="ID:141, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.459 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=10] [job="ID:141, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:56.715 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.472 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/05 06:58:57.472 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 10\n# Query_time: 0.754901009\n# Parse_time: 0.000065037\n# Compile_time: 0.000264467\n# Rewrite_time: 0.000003354\n# Optimize_time: 0.000642189\n# Wait_TS: 0.000416253\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:58:56.364000';"] [2025/04/05 06:58:57.474 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:57.493 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t1] ["index name"=i] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t1`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t1` use index(`i`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:58:57.513 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:57.513 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [] [2025/04/05 06:58:57.513 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:57.513 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.514 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:57.514 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=78.215µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=45.488µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=39.252µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=35.255µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=34.548µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=34.109µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=35.537µs] [2025/04/05 06:58:57.514 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.514 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.516 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:57.516 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:57.518 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=305d12c6-ef93-4bc3-be1e-49911702a88a] ["take time"=4.498983ms] [2025/04/05 06:58:57.518 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.518 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:57.518 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:58:57.518 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/49324f8a-2a9d-4cab-8a2e-56117f989d25] [watcherID=99aba2c4-6653-4d37-b6e2-28e1c384839a] [2025/04/05 06:58:57.518 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/49324f8a-2a9d-4cab-8a2e-56117f989d25] [2025/04/05 06:58:57.518 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [ttl-worker=task-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [originalCount=4] [newCount=0] [2025/04/05 06:58:57.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.518 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:57.518 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [ttl-worker=task-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [originalCount=4] [newCount=0] [2025/04/05 06:58:57.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.521 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:57.523 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.523 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=628] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:57.524 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:57.525 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:57.524 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [2025/04/05 06:58:57.525 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.525 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:58:57.525 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:58:57.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:57.525 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:57.525 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:57.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:57.524 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:57.524 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:57.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:57.525 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:57.525 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [2025/04/05 06:58:57.525 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:57.525 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:57.526 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:57.527 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:57.527 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:57.527 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:57.528 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:57.528 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:57.528 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=62cb0ae7-fbe1-422d-bbfc-50cadf8ec1b4] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.528 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:57.528 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:57.528 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:57.528 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:57.528 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:57.529 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [error="context canceled"] [2025/04/05 06:58:57.529 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [2025/04/05 06:58:57.547 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:57.547 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:57.589 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=305d12c6-ef93-4bc3-be1e-49911702a88a] [error="context canceled"] [2025/04/05 06:58:57.589 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:57.589 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:57.599 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.192307ms] [2025/04/05 06:58:57.603 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:57.603 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:57.603 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:57.603 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:57.603 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:57.603 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:57.603 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:57.603 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:57.603 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:57.603 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:57.603 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:57.603 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:57.604 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackBasicRenameDropCreateTable (2.81s) === NAME === RUN TestFlashbackCreateDropTableWithData [2025/04/05 06:58:57.612 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:57.613 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:58:57.614 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:58:57.614 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:57.614 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:58:57.614 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:57.614 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:57.614 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:57.614 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:57.615 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:57.615 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:57.619 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:57.624 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:57.625 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:57.626 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:57.638 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:57.649 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:57.685 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1371] ["lease id"=6f189604bcfac43f] [2025/04/05 06:58:57.687 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:57.779 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=111] ["elapsed time"=86.5667ms] [2025/04/05 06:58:57.779 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:57.781 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:57.786 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=f1212bef-7c88-4b70-931b-85d10438ec37] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:57.786 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:57.789 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.790 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:57.790 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007523328/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:57.790 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:57.791 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:57.791 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:57.791 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:57.791 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:57.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:57.791 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.791 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [2025/04/05 06:58:57.793 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac444] [ownerID=f1212bef-7c88-4b70-931b-85d10438ec37] [op=none] [2025/04/05 06:58:57.793 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.793 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [ownerKey=/tidb/ddl/fg/owner/6f189604bcfac444] [currRev=561] [2025/04/05 06:58:57.794 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:57.794 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:57.795 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcfac2cc] [ownerID=22bb0d69-785d-42ca-9f64-fe6287a41c66] [op=none] [2025/04/05 06:58:57.795 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [2025/04/05 06:58:57.795 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:57.795 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [ownerKey=/tidb/br-stream/owner/3eaa9604bcfac2cc] [currRev=562] [2025/04/05 06:58:57.795 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac444] [ownerID=f1212bef-7c88-4b70-931b-85d10438ec37] [op=none] [2025/04/05 06:58:57.795 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [op=none] [2025/04/05 06:58:57.795 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:57.799 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.800 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:57.800 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:57.809 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:57.816 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:57.825 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:57.825 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:57.825 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:57.825 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:57.825 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:57.825 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:57.825 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:57.825 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:57.825 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:57.826 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:57.826 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:57.828 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:57.828 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:57.828 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:57.830 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:58:57.830 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfac44c] [ownerID=f1212bef-7c88-4b70-931b-85d10438ec37] [op=none] [2025/04/05 06:58:57.830 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.830 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [ownerKey=/tidb/stats/owner/6f189604bcfac44c] [currRev=564] [2025/04/05 06:58:57.833 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d9e45c2f-ec56-4b86-ac53-21a094f96cfe] [2025/04/05 06:58:57.833 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [ttl-worker=task-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [originalCount=0] [newCount=4] [2025/04/05 06:58:57.833 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [ttl-worker=task-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [originalCount=0] [newCount=4] [2025/04/05 06:58:57.833 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:58:57.833 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:57.834 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:57.834 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:57.834 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836337834369444 [2025/04/05 06:58:57.839 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:57.845 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.875636ms] [2025/04/05 06:58:57.845 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:57.845 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:57.848 +00:00] [INFO] [set.go:172] ["set global var"] [conn=11] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:57.851 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:57.852 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=111] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 06:58:57.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:57.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 06:58:57.870 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.888 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.949446ms] [gotSchemaVersion=112] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.891 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=112] [2025/04/05 06:58:57.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=112] ["take time"=9.152311ms] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.81896ms] [gotSchemaVersion=113] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.923 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=113] [2025/04/05 06:58:57.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=113] ["take time"=8.826083ms] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.933 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.940 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/05 06:58:57.954 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.020189ms] [gotSchemaVersion=114] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:57.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=114] [2025/04/05 06:58:57.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=114] ["take time"=8.28705ms] [job="ID:142, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:57.968 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=142] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/05 06:58:57.976 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=142] [jobType="drop table"] [2025/04/05 06:58:57.977 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=142] [conn=11] [job="ID:142, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.000 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/05 06:58:58.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:58.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`,`t1`"] [2025/04/05 06:58:58.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.006199ms] [gotSchemaVersion=115] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:58.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=115] [2025/04/05 06:58:58.040 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=9.718686ms] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.050 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=1.975674ms] [gotSchemaVersion=116] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:58.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=116] [2025/04/05 06:58:58.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=116] ["take time"=9.0215ms] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.080 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.087 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 135, Old Table Name: t1)"] [2025/04/05 06:58:58.101 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.123752ms] [gotSchemaVersion=117] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:58.105 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=117] [2025/04/05 06:58:58.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=117] ["take time"=8.366453ms] [job="ID:143, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.116 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=143] [tableIDs="[135]"] [comment="drop table: table ID"] [2025/04/05 06:58:58.121 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=143] [jobType="drop table"] [2025/04/05 06:58:58.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=11] [job="ID:143, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:57.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.139 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/05 06:58:58.139 +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: 1743836338139920884 [2025/04/05 06:58:58.152 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:58.177 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:58.177 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/05 06:58:58.182 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.187 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 144, Table Name: t)"] [2025/04/05 06:58:58.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.380333ms] [gotSchemaVersion=118] [phyTblIDs="[144]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:58.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=145] [version=118] [2025/04/05 06:58:58.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=118] ["take time"=8.080881ms] [job="ID:145, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=145] [conn=12] [job="ID:145, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:58.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:58.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=145] [2025/04/05 06:58:58.228 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=118] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/05 06:58:58.800 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:58.800 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:58.800 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:58.800 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:58.833 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:58.833 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:58.833 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d9e45c2f-ec56-4b86-ac53-21a094f96cfe] [watcherID=8ee5c8a9-aefc-46bd-852d-bc1f90f767ab] [2025/04/05 06:58:58.834 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:58.839 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:58.839 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:58.839 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:58.839 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:59.247 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.247 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 06:58:59.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.269 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.714592ms] [gotSchemaVersion=119] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:59.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=119] [2025/04/05 06:58:59.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=119] ["take time"=9.207653ms] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.793608ms] [gotSchemaVersion=120] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:59.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=120] [2025/04/05 06:58:59.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=8.8067ms] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.319 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.326 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/05 06:58:59.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.246865ms] [gotSchemaVersion=121] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:59.343 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=121] [2025/04/05 06:58:59.345 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=121] ["take time"=8.449689ms] [job="ID:146, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.354 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=146] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/05 06:58:59.359 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="drop table"] [2025/04/05 06:58:59.360 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=12] [job="ID:146, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.378 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 06:58:59.378 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=121] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 06:58:59.391 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.391 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(b int)"] [2025/04/05 06:58:59.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.401 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 147, Table Name: t)"] [2025/04/05 06:58:59.416 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.513101ms] [gotSchemaVersion=122] [phyTblIDs="[147]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.419 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=122] [2025/04/05 06:58:59.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=122] ["take time"=8.025446ms] [job="ID:148, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.432 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=148] [conn=12] [job="ID:148, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:147, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.364 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/05 06:58:59.446 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=122] [cur_db=test] [sql="create table t(b int)"] [user=] [2025/04/05 06:58:59.454 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:58:59.214 +0000 UTC"] [2025/04/05 06:58:59.467 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.467 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:58:59.214000'"] [2025/04/05 06:58:59.473 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.479 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/05 06:58:59.488 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.578 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=357ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:58:59.611 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=150.806µs] [gotSchemaVersion=123] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:58:59.615 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=123] [2025/04/05 06:58:59.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=123] ["take time"=7.238018ms] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.659 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:59.662 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:59.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.465834ms] ["completed regions"=1] [2025/04/05 06:58:59.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:59.669 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:59.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.804935ms] ["completed regions"=1] [2025/04/05 06:58:59.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:59.674 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:59.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.279638ms] ["completed regions"=1] [2025/04/05 06:58:59.676 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:59.679 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:59.681 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.381202ms] ["completed regions"=1] [2025/04/05 06:58:59.681 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:59.684 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:59.685 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.394378ms] ["completed regions"=1] [2025/04/05 06:58:59.686 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:59.689 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:59.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.245427ms] ["completed regions"=1] [2025/04/05 06:58:59.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:59.693 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:59.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.383587ms] ["completed regions"=1] [2025/04/05 06:58:59.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:59.698 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:59.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.266465ms] ["completed regions"=1] [2025/04/05 06:58:59.700 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:59.703 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:59.704 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=3.996728ms] ["completed regions"=1] [2025/04/05 06:58:59.704 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:59.707 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:59.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.076422ms] ["completed regions"=1] [2025/04/05 06:58:59.709 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:59.711 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:59.713 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.892136ms] ["completed regions"=1] [2025/04/05 06:58:59.713 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:59.716 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:59.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.689704ms] ["completed regions"=1] [2025/04/05 06:58:59.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:59.721 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:59.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.89025ms] ["completed regions"=1] [2025/04/05 06:58:59.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:59.725 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:59.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.70254ms] ["completed regions"=1] [2025/04/05 06:58:59.727 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:59.729 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:59.731 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.620601ms] ["completed regions"=1] [2025/04/05 06:58:59.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:59.734 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:59.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.797799ms] ["completed regions"=1] [2025/04/05 06:58:59.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:59.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:59.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.674835ms] ["completed regions"=1] [2025/04/05 06:58:59.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:59.742 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:59.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.600483ms] ["completed regions"=1] [2025/04/05 06:58:59.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:59.746 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:59.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.519312ms] ["completed regions"=1] [2025/04/05 06:58:59.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:59.750 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:59.751 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.732891ms] ["completed regions"=1] [2025/04/05 06:58:59.751 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:59.754 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:59.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.648132ms] ["completed regions"=1] [2025/04/05 06:58:59.755 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:59.758 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:59.759 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.301356ms] ["completed regions"=1] [2025/04/05 06:58:59.759 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:59.762 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:59.763 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.336883ms] ["completed regions"=1] [2025/04/05 06:58:59.763 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:59.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:59.767 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.330751ms] ["completed regions"=1] [2025/04/05 06:58:59.767 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:59.769 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:59.770 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.097105ms] ["completed regions"=1] [2025/04/05 06:58:59.770 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:59.772 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:59.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.088153ms] ["completed regions"=1] [2025/04/05 06:58:59.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:59.776 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:59.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.089497ms] ["completed regions"=1] [2025/04/05 06:58:59.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:58:59.779 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:58:59.781 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.102886ms] ["completed regions"=1] [2025/04/05 06:58:59.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:58:59.783 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:58:59.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.081523ms] ["completed regions"=1] [2025/04/05 06:58:59.784 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:58:59.786 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:58:59.788 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.007856ms] ["completed regions"=1] [2025/04/05 06:58:59.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:58:59.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:58:59.791 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:59.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.217082ms] ["completed regions"=1] [2025/04/05 06:58:59.792 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:58:59.795 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:58:59.797 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=4.212278ms] ["completed regions"=1] [2025/04/05 06:58:59.797 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:58:59.799 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:58:59.800 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.464375ms] ["completed regions"=1] [2025/04/05 06:58:59.801 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:58:59.802 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:58:59.804 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.939827ms] ["completed regions"=1] [2025/04/05 06:58:59.804 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:58:59.806 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:58:59.807 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.901039ms] ["completed regions"=1] [2025/04/05 06:58:59.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:58:59.809 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:58:59.810 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.765053ms] ["completed regions"=1] [2025/04/05 06:58:59.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:58:59.812 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:58:59.814 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.793289ms] ["completed regions"=1] [2025/04/05 06:58:59.814 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:58:59.815 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:58:59.817 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=3.010112ms] ["completed regions"=1] [2025/04/05 06:58:59.817 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:58:59.819 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:58:59.820 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.825358ms] ["completed regions"=1] [2025/04/05 06:58:59.820 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:58:59.822 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:58:59.824 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=3.054086ms] ["completed regions"=1] [2025/04/05 06:58:59.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:58:59.825 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:58:59.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.648866ms] ["completed regions"=1] [2025/04/05 06:58:59.827 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:58:59.829 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:58:59.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=3.104701ms] ["completed regions"=1] [2025/04/05 06:58:59.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:58:59.832 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:58:59.834 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:58:59.835 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:58:59.837 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.492477ms] ["completed regions"=3] [2025/04/05 06:58:59.846 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=149] [2025/04/05 06:58:59.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.854 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:58:59.858 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:58:59.861 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:58:59.862 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.485724ms] ["completed regions"=1] [2025/04/05 06:58:59.862 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:58:59.865 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:58:59.867 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:58:59.868 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.55442ms] ["completed regions"=1] [2025/04/05 06:58:59.868 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:58:59.871 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:58:59.873 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:58:59.873 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=5.021894ms] ["completed regions"=1] [2025/04/05 06:58:59.873 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:58:59.876 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:58:59.878 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:58:59.878 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.830439ms] ["completed regions"=1] [2025/04/05 06:58:59.878 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:58:59.885 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:58:59.887 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:58:59.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=8.869725ms] ["completed regions"=1] [2025/04/05 06:58:59.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:58:59.892 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:58:59.894 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:58:59.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=5.366225ms] ["completed regions"=1] [2025/04/05 06:58:59.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:58:59.898 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:58:59.900 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:58:59.900 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=5.473736ms] ["completed regions"=1] [2025/04/05 06:58:59.900 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:58:59.903 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:58:59.905 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:58:59.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=5.308636ms] ["completed regions"=1] [2025/04/05 06:58:59.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:58:59.909 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:58:59.911 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:58:59.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=5.212594ms] ["completed regions"=1] [2025/04/05 06:58:59.911 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:58:59.915 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:58:59.917 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:58:59.917 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=5.126937ms] ["completed regions"=1] [2025/04/05 06:58:59.917 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:58:59.920 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:58:59.922 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:58:59.922 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.791912ms] ["completed regions"=1] [2025/04/05 06:58:59.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:58:59.925 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:58:59.928 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:58:59.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.896913ms] ["completed regions"=1] [2025/04/05 06:58:59.929 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:58:59.931 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:58:59.933 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:58:59.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.434296ms] ["completed regions"=1] [2025/04/05 06:58:59.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:58:59.937 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:58:59.939 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:58:59.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=5.256591ms] ["completed regions"=1] [2025/04/05 06:58:59.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:58:59.942 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:58:59.944 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:58:59.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=5.09651ms] ["completed regions"=1] [2025/04/05 06:58:59.945 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:58:59.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:58:59.950 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:58:59.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=5.019716ms] ["completed regions"=1] [2025/04/05 06:58:59.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:58:59.953 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:58:59.955 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:58:59.955 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.242464ms] ["completed regions"=1] [2025/04/05 06:58:59.955 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:58:59.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:58:59.959 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:58:59.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=4.416033ms] ["completed regions"=1] [2025/04/05 06:58:59.960 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:58:59.962 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:58:59.964 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:58:59.964 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.216489ms] ["completed regions"=1] [2025/04/05 06:58:59.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:58:59.967 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:58:59.969 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:58:59.969 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=4.116816ms] ["completed regions"=1] [2025/04/05 06:58:59.969 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:58:59.972 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:58:59.973 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:58:59.974 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=4.492442ms] ["completed regions"=1] [2025/04/05 06:58:59.974 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:58:59.976 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:58:59.978 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:58:59.978 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.787565ms] ["completed regions"=1] [2025/04/05 06:58:59.978 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:58:59.980 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:58:59.982 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:58:59.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.909881ms] ["completed regions"=1] [2025/04/05 06:58:59.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:58:59.984 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:58:59.986 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:58:59.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.694327ms] ["completed regions"=1] [2025/04/05 06:58:59.986 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:58:59.988 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:58:59.990 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:58:59.990 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.531513ms] ["completed regions"=1] [2025/04/05 06:58:59.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:58:59.992 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:58:59.994 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:58:59.994 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.524243ms] ["completed regions"=1] [2025/04/05 06:58:59.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:58:59.996 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:58:59.998 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:58:59.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.577582ms] ["completed regions"=1] [2025/04/05 06:58:59.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:00.000 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:00.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:00.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.396877ms] ["completed regions"=1] [2025/04/05 06:59:00.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:00.004 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:00.006 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:00.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.402273ms] ["completed regions"=1] [2025/04/05 06:59:00.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:00.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:00.010 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:00.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.45142ms] ["completed regions"=1] [2025/04/05 06:59:00.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:00.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:00.013 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:00.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.348817ms] ["completed regions"=1] [2025/04/05 06:59:00.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:00.015 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:00.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:00.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.131276ms] ["completed regions"=1] [2025/04/05 06:59:00.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:00.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:00.020 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:00.020 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.115211ms] ["completed regions"=1] [2025/04/05 06:59:00.020 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:00.022 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:00.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:00.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.96585ms] ["completed regions"=1] [2025/04/05 06:59:00.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:00.025 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:00.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:00.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.026597ms] ["completed regions"=1] [2025/04/05 06:59:00.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:00.029 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:00.030 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:00.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.899508ms] ["completed regions"=1] [2025/04/05 06:59:00.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:00.032 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:00.033 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:00.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.755724ms] ["completed regions"=1] [2025/04/05 06:59:00.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:00.035 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:00.037 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:00.037 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.786977ms] ["completed regions"=1] [2025/04/05 06:59:00.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:00.038 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:00.040 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:00.040 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.548556ms] ["completed regions"=1] [2025/04/05 06:59:00.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:00.041 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:00.042 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:00.043 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.617298ms] ["completed regions"=1] [2025/04/05 06:59:00.043 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:00.044 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:00.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:00.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.499431ms] ["completed regions"=1] [2025/04/05 06:59:00.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:00.047 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:00.048 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:00.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.633105ms] ["completed regions"=1] [2025/04/05 06:59:00.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:00.049 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:00.051 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:00.052 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:00.055 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:00.055 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.07325ms] ["completed regions"=3] [2025/04/05 06:59:00.055 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:00.071 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:00.155 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=84.158954ms] [2025/04/05 06:59:00.155 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:00.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=124] [2025/04/05 06:59:00.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=124] ["take time"=91.785958ms] [job="ID:149, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.233 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=12] [job="ID:149, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.246 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 06:59:00.247 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 12\n# Query_time: 0.79384818\n# Parse_time: 0.000092089\n# Compile_time: 0.000279503\n# Rewrite_time: 0.000004101\n# Optimize_time: 0.00009431\n# Wait_TS: 0.000472515\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:58:59.214000';"] [2025/04/05 06:59:00.252 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:00.252 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [] [2025/04/05 06:59:00.252 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:00.252 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.252 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:00.252 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:00.252 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=87.579µs] [2025/04/05 06:59:00.252 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=50.41µs] [2025/04/05 06:59:00.252 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=47.07µs] [2025/04/05 06:59:00.253 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=53.667µs] [2025/04/05 06:59:00.253 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=44.072µs] [2025/04/05 06:59:00.253 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=26.161µs] [2025/04/05 06:59:00.253 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.253 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.254 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:00.254 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:00.257 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=f1212bef-7c88-4b70-931b-85d10438ec37] ["take time"=5.395423ms] [2025/04/05 06:59:00.257 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.257 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:00.257 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:00.257 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d9e45c2f-ec56-4b86-ac53-21a094f96cfe] [watcherID=8ee5c8a9-aefc-46bd-852d-bc1f90f767ab] [2025/04/05 06:59:00.257 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d9e45c2f-ec56-4b86-ac53-21a094f96cfe] [2025/04/05 06:59:00.258 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [ttl-worker=task-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [originalCount=4] [newCount=0] [2025/04/05 06:59:00.258 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.258 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.258 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.258 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:00.258 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [ttl-worker=task-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [originalCount=4] [newCount=0] [2025/04/05 06:59:00.260 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.261 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.261 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.261 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:00.263 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.263 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1371] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:00.264 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:00.265 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [] [2025/04/05 06:59:00.265 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:00.265 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:00.264 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:00.265 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:00.265 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:00.264 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:00.265 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.264 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:00.265 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:00.265 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:00.265 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:00.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:00.267 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:00.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:00.268 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=22bb0d69-785d-42ca-9f64-fe6287a41c66] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:00.268 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:00.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:00.268 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:00.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:00.268 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [error="context canceled"] [2025/04/05 06:59:00.268 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:00.268 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:00.268 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:00.268 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:00.269 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [error="context canceled"] [2025/04/05 06:59:00.269 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [2025/04/05 06:59:00.285 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:00.285 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:00.329 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=f1212bef-7c88-4b70-931b-85d10438ec37] [error="context canceled"] [2025/04/05 06:59:00.329 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:00.329 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:00.340 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.164117ms] [2025/04/05 06:59:00.343 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:00.343 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:00.343 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:00.343 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:00.343 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:00.343 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:00.343 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:00.343 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:00.343 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:00.343 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:00.343 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:00.343 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:00.344 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropTableWithData (2.74s) === NAME === RUN TestFlashbackCreateDropSchema [2025/04/05 06:59:00.352 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:00.353 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:00.353 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:00.354 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:00.354 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:00.354 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:00.354 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:00.354 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:00.354 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:00.355 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:00.355 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:00.358 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:00.363 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:00.364 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:00.364 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:00.376 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:00.385 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:00.421 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1304] ["lease id"=6f189604bcfac471] [2025/04/05 06:59:00.423 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:00.511 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=124] ["elapsed time"=86.126143ms] [2025/04/05 06:59:00.511 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:00.514 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:00.520 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:00.521 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:00.523 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.524 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:00.524 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007609344/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:00.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:00.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:00.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:00.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:00.524 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:00.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:00.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:00.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:00.525 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:00.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:00.525 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:00.525 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:00.525 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [2025/04/05 06:59:00.527 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac584] [ownerID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [op=none] [2025/04/05 06:59:00.527 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.527 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ownerKey=/tidb/ddl/fg/owner/22319604bcfac584] [currRev=624] [2025/04/05 06:59:00.527 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:00.528 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:00.528 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcfac2fc] [ownerID=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [op=none] [2025/04/05 06:59:00.528 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [2025/04/05 06:59:00.528 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [ownerKey=/tidb/br-stream/owner/3eaa9604bcfac2fc] [currRev=624] [2025/04/05 06:59:00.528 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:00.529 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac584] [ownerID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [op=none] [2025/04/05 06:59:00.529 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [op=none] [2025/04/05 06:59:00.529 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:00.533 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:00.534 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:00.543 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:00.550 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:00.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:00.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:00.559 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:00.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:00.559 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:00.559 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:00.559 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:00.559 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:00.559 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:00.560 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:00.560 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:00.561 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:00.561 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:00.561 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:00.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:00.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:00.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:00.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:00.563 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcfac47c] [ownerID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [op=none] [2025/04/05 06:59:00.564 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.564 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ownerKey=/tidb/stats/owner/6f189604bcfac47c] [currRev=626] [2025/04/05 06:59:00.564 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:00.566 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1f83b4dd-5bf0-49b6-9b75-fb107594b75b] [2025/04/05 06:59:00.566 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ttl-worker=task-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [originalCount=0] [newCount=4] [2025/04/05 06:59:00.566 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ttl-worker=task-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [originalCount=0] [newCount=4] [2025/04/05 06:59:00.566 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:00.567 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:00.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:00.568 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:00.568 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836340568468516 [2025/04/05 06:59:00.572 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:00.579 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.892542ms] [2025/04/05 06:59:00.579 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:00.579 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:00.581 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:00.602 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:00.605 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=124] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:00.618 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:00.618 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.623 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.641 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.817106ms] [gotSchemaVersion=125] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:00.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=125] [2025/04/05 06:59:00.647 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=125] ["take time"=8.948807ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.657 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.733907ms] [gotSchemaVersion=126] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:00.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=126] [2025/04/05 06:59:00.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=126] ["take time"=8.861278ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.688 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:144, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.694 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 144, Old Table Name: t)"] [2025/04/05 06:59:00.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.147571ms] [gotSchemaVersion=127] [phyTblIDs="[144]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:00.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=127] [2025/04/05 06:59:00.713 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=127] ["take time"=8.211911ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.722 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[144]"] [comment="drop table: table ID"] [2025/04/05 06:59:00.731 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/05 06:59:00.732 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=13] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:144, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.751 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 06:59:00.751 +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: 1743836340752011783 [2025/04/05 06:59:00.778 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.778 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int, index k(a))"] [2025/04/05 06:59:00.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.789 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/05 06:59:00.805 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.571645ms] [gotSchemaVersion=128] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.808 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=128] [2025/04/05 06:59:00.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=128] ["take time"=8.614124ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=14] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.764 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 06:59:00.834 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=128] [cur_db=test] [sql="create table t(a int, index k(a))"] [user=] [2025/04/05 06:59:01.534 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:01.534 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:01.535 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:01.535 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:01.566 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:01.566 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:01.566 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f83b4dd-5bf0-49b6-9b75-fb107594b75b] [watcherID=f05feaeb-7ab0-491e-b844-8e1da1dc9da3] [2025/04/05 06:59:01.568 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:01.573 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:01.573 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:01.573 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:01.573 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:01.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test"] [2025/04/05 06:59:01.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.860 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:queueing, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=173.307µs] [gotSchemaVersion=129] [phyTblIDs="[151]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:01.881 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=129] [2025/04/05 06:59:01.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=129] ["take time"=7.20385ms] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.893 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:write only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.906 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=140.446µs] [gotSchemaVersion=130] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:01.910 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=130] [2025/04/05 06:59:01.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=130] ["take time"=6.813963ms] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.920 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:running, SchemaState:delete only, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.926 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:01.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=139.22µs] [gotSchemaVersion=131] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:01.941 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=131] [2025/04/05 06:59:01.943 +00:00] [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.327059ms] [job="ID:153, Type:drop schema, State:done, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.952 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:01.957 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop schema"] [2025/04/05 06:59:01.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=14] [job="ID:153, Type:drop schema, State:synced, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.814 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.974 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/05 06:59:01.974 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=131] [cur_db=] [sql="drop schema test"] [user=] [2025/04/05 06:59:01.986 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test1"] [2025/04/05 06:59:01.992 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:queueing, SchemaState:none, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=617.172µs] [gotSchemaVersion=132] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:02.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=132] [2025/04/05 06:59:02.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=132] ["take time"=7.457405ms] [job="ID:155, Type:create schema, State:done, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=14] [job="ID:155, Type:create schema, State:synced, SchemaState:public, SchemaID:154, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.031 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 06:59:02.031 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=132] [cur_db=] [sql="create schema test1"] [user=] [2025/04/05 06:59:02.043 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.044 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create schema test2"] [2025/04/05 06:59:02.048 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:queueing, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=581.773µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:02.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=133] [2025/04/05 06:59:02.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=133] ["take time"=7.070805ms] [job="ID:157, Type:create schema, State:done, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.077 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=157] [conn=14] [job="ID:157, Type:create schema, State:synced, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 06:59:02.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=133] [cur_db=] [sql="create schema test2"] [user=] [2025/04/05 06:59:02.089 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:02.089 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=133] [error="[schema:1049]Unknown database 'test'"] [errorVerbose="[schema:1049]Unknown database 'test'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:337\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test1\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 06:59:02.103 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.103 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop schema test2"] [2025/04/05 06:59:02.108 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:queueing, SchemaState:public, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=137.604µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:02.125 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=134] [2025/04/05 06:59:02.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=134] ["take time"=6.87866ms] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.136 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:write only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=127.332µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:02.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=135] [2025/04/05 06:59:02.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=135] ["take time"=6.689069ms] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.162 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:running, SchemaState:delete only, SchemaID:156, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.176 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=144.725µs] [gotSchemaVersion=136] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:02.179 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=136] [2025/04/05 06:59:02.181 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=6.992421ms] [job="ID:158, Type:drop schema, State:done, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=158] [jobType="drop schema"] [2025/04/05 06:59:02.191 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=14] [job="ID:158, Type:drop schema, State:synced, SchemaState:none, SchemaID:156, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.207 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 06:59:02.207 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=136] [cur_db=] [sql="drop schema test2"] [user=] [2025/04/05 06:59:02.208 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:01.814 +0000 UTC"] [2025/04/05 06:59:02.219 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.219 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:01.814000'"] [2025/04/05 06:59:02.224 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.230 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/05 06:59:02.236 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.322 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=506ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:59:02.356 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=140.654µs] [gotSchemaVersion=137] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:02.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=137] [2025/04/05 06:59:02.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=137] ["take time"=6.908717ms] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.371 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=2] ["batch count"=1] ["first batch, region ID"=29] ["first split key"=6d44423a3135340000fd0000000000000068] [2025/04/05 06:59:02.374 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=29] ["first at"=6d44423a3135340000fd0000000000000068] ["first new region left"="{Id:381 StartKey: EndKey:6d44423a31353400ff00fd000000000000ff0068000000000000f9 RegionEpoch:{ConfVer:5 Version:8} Peers:[id:382 store_id:3 id:383 store_id:2 id:384 store_id:1 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=1] [2025/04/05 06:59:02.374 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=1] ["region IDs"="[381]"] [2025/04/05 06:59:02.401 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:02.404 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=29] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/05 06:59:02.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:02.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.821219ms] ["completed regions"=2] [2025/04/05 06:59:02.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:02.412 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:02.414 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.059794ms] ["completed regions"=1] [2025/04/05 06:59:02.414 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:02.417 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:02.418 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.338419ms] ["completed regions"=1] [2025/04/05 06:59:02.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:02.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:02.423 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.218588ms] ["completed regions"=1] [2025/04/05 06:59:02.423 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:02.426 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:02.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.382732ms] ["completed regions"=1] [2025/04/05 06:59:02.428 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:02.431 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:02.433 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.423083ms] ["completed regions"=1] [2025/04/05 06:59:02.433 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:02.436 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:02.437 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.325402ms] ["completed regions"=1] [2025/04/05 06:59:02.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:02.443 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:02.445 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.56539ms] ["completed regions"=1] [2025/04/05 06:59:02.445 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:02.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:02.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.191834ms] ["completed regions"=1] [2025/04/05 06:59:02.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:02.452 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:02.454 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.351171ms] ["completed regions"=1] [2025/04/05 06:59:02.454 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:02.457 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:02.459 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.037674ms] ["completed regions"=1] [2025/04/05 06:59:02.459 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:02.462 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:02.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.669124ms] ["completed regions"=1] [2025/04/05 06:59:02.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:02.467 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:02.468 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.853494ms] ["completed regions"=1] [2025/04/05 06:59:02.468 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:02.471 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:02.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.941368ms] ["completed regions"=1] [2025/04/05 06:59:02.473 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:02.475 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:02.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.609276ms] ["completed regions"=1] [2025/04/05 06:59:02.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:02.480 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:02.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.006087ms] ["completed regions"=1] [2025/04/05 06:59:02.481 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:02.484 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:02.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.158403ms] ["completed regions"=1] [2025/04/05 06:59:02.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:02.488 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:02.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.548851ms] ["completed regions"=1] [2025/04/05 06:59:02.490 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:02.492 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:02.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.469786ms] ["completed regions"=1] [2025/04/05 06:59:02.494 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:02.496 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:02.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.327643ms] ["completed regions"=1] [2025/04/05 06:59:02.498 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:02.500 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:02.502 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.689504ms] ["completed regions"=1] [2025/04/05 06:59:02.502 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:02.504 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:02.505 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.317542ms] ["completed regions"=1] [2025/04/05 06:59:02.505 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:02.508 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:02.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.24025ms] ["completed regions"=1] [2025/04/05 06:59:02.509 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:02.511 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:02.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.316421ms] ["completed regions"=1] [2025/04/05 06:59:02.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:02.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:02.516 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.172008ms] ["completed regions"=1] [2025/04/05 06:59:02.516 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:02.518 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:02.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=2.976241ms] ["completed regions"=1] [2025/04/05 06:59:02.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:02.522 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:02.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.077072ms] ["completed regions"=1] [2025/04/05 06:59:02.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:02.525 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:02.525 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:02.527 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.082078ms] ["completed regions"=1] [2025/04/05 06:59:02.527 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:02.530 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:02.531 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.833816ms] ["completed regions"=1] [2025/04/05 06:59:02.531 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:02.533 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:02.535 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.027017ms] ["completed regions"=1] [2025/04/05 06:59:02.535 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:02.537 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:02.538 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.907679ms] ["completed regions"=1] [2025/04/05 06:59:02.538 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:02.540 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:02.541 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.822158ms] ["completed regions"=1] [2025/04/05 06:59:02.541 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:02.543 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:02.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.697545ms] ["completed regions"=1] [2025/04/05 06:59:02.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:02.546 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:02.547 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.787921ms] ["completed regions"=1] [2025/04/05 06:59:02.547 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:02.549 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:02.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.500248ms] ["completed regions"=1] [2025/04/05 06:59:02.550 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:02.552 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:02.553 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.517126ms] ["completed regions"=1] [2025/04/05 06:59:02.553 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:02.555 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:02.556 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.340292ms] ["completed regions"=1] [2025/04/05 06:59:02.556 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:02.557 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:02.559 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.498747ms] ["completed regions"=1] [2025/04/05 06:59:02.559 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:02.560 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:02.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.361194ms] ["completed regions"=1] [2025/04/05 06:59:02.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:02.563 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:02.564 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.311017ms] ["completed regions"=1] [2025/04/05 06:59:02.564 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:02.566 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:02.567 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.306038ms] ["completed regions"=1] [2025/04/05 06:59:02.567 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:02.568 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:02.570 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.291082ms] ["completed regions"=1] [2025/04/05 06:59:02.570 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:02.571 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:02.572 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:02.574 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:02.575 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.993884ms] ["completed regions"=3] [2025/04/05 06:59:02.581 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=159] [2025/04/05 06:59:02.587 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.588 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:02.592 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=29] [start_key=6d44423a3135340000fd0000000000000068] [end_key=6d44423a3200000000fb0000000000000068] [2025/04/05 06:59:02.593 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:02.597 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=46] [] [2025/04/05 06:59:02.597 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3135340000fd0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=8.212109ms] ["completed regions"=2] [2025/04/05 06:59:02.597 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:02.600 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:02.604 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=46] [] [2025/04/05 06:59:02.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=6.695537ms] ["completed regions"=1] [2025/04/05 06:59:02.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:02.607 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:02.609 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=46] [] [2025/04/05 06:59:02.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.652727ms] ["completed regions"=1] [2025/04/05 06:59:02.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:02.612 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:02.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=46] [] [2025/04/05 06:59:02.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.53447ms] ["completed regions"=1] [2025/04/05 06:59:02.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:02.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:02.619 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=46] [] [2025/04/05 06:59:02.619 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.754646ms] ["completed regions"=1] [2025/04/05 06:59:02.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:02.622 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:02.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=46] [] [2025/04/05 06:59:02.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.454883ms] ["completed regions"=1] [2025/04/05 06:59:02.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:02.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:02.628 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=46] [] [2025/04/05 06:59:02.628 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.466319ms] ["completed regions"=1] [2025/04/05 06:59:02.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:02.632 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:02.633 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=46] [] [2025/04/05 06:59:02.633 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.263569ms] ["completed regions"=1] [2025/04/05 06:59:02.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:02.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:02.638 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=46] [] [2025/04/05 06:59:02.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.423033ms] ["completed regions"=1] [2025/04/05 06:59:02.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:02.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:02.642 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=46] [] [2025/04/05 06:59:02.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.270542ms] ["completed regions"=1] [2025/04/05 06:59:02.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:02.646 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:02.647 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=46] [] [2025/04/05 06:59:02.647 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.210478ms] ["completed regions"=1] [2025/04/05 06:59:02.647 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:02.650 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:02.653 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=46] [] [2025/04/05 06:59:02.653 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.348258ms] ["completed regions"=1] [2025/04/05 06:59:02.653 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:02.656 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:02.657 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=46] [] [2025/04/05 06:59:02.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.052865ms] ["completed regions"=1] [2025/04/05 06:59:02.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:02.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:02.662 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=46] [] [2025/04/05 06:59:02.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.113121ms] ["completed regions"=1] [2025/04/05 06:59:02.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:02.665 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:02.666 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=46] [] [2025/04/05 06:59:02.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.677504ms] ["completed regions"=1] [2025/04/05 06:59:02.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:02.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:02.670 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=46] [] [2025/04/05 06:59:02.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.49702ms] ["completed regions"=1] [2025/04/05 06:59:02.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:02.673 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:02.674 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=46] [] [2025/04/05 06:59:02.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.957705ms] ["completed regions"=1] [2025/04/05 06:59:02.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:02.677 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:02.679 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=46] [] [2025/04/05 06:59:02.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.931997ms] ["completed regions"=1] [2025/04/05 06:59:02.679 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:02.682 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:02.683 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=46] [] [2025/04/05 06:59:02.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.752025ms] ["completed regions"=1] [2025/04/05 06:59:02.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:02.686 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:02.687 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=46] [] [2025/04/05 06:59:02.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.713785ms] ["completed regions"=1] [2025/04/05 06:59:02.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:02.690 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:02.691 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=46] [] [2025/04/05 06:59:02.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.57814ms] ["completed regions"=1] [2025/04/05 06:59:02.691 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:02.693 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:02.695 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=46] [] [2025/04/05 06:59:02.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.444841ms] ["completed regions"=1] [2025/04/05 06:59:02.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:02.697 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:02.700 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=46] [] [2025/04/05 06:59:02.700 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=4.150473ms] ["completed regions"=1] [2025/04/05 06:59:02.700 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:02.702 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:02.703 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=46] [] [2025/04/05 06:59:02.703 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.42841ms] ["completed regions"=1] [2025/04/05 06:59:02.703 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:02.705 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:02.707 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=46] [] [2025/04/05 06:59:02.707 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.29544ms] ["completed regions"=1] [2025/04/05 06:59:02.707 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:02.709 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:02.711 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=46] [] [2025/04/05 06:59:02.711 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.535762ms] ["completed regions"=1] [2025/04/05 06:59:02.711 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:02.713 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:02.714 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=46] [] [2025/04/05 06:59:02.715 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.376785ms] ["completed regions"=1] [2025/04/05 06:59:02.715 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:02.717 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:02.718 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=46] [] [2025/04/05 06:59:02.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.376056ms] ["completed regions"=1] [2025/04/05 06:59:02.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:02.720 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:02.722 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=46] [] [2025/04/05 06:59:02.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.215268ms] ["completed regions"=1] [2025/04/05 06:59:02.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:02.724 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:02.725 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=46] [] [2025/04/05 06:59:02.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.192827ms] ["completed regions"=1] [2025/04/05 06:59:02.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:02.727 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:02.729 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=46] [] [2025/04/05 06:59:02.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.093719ms] ["completed regions"=1] [2025/04/05 06:59:02.729 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:02.731 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:02.732 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=46] [] [2025/04/05 06:59:02.732 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.132506ms] ["completed regions"=1] [2025/04/05 06:59:02.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:02.734 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:02.736 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=46] [] [2025/04/05 06:59:02.736 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.053719ms] ["completed regions"=1] [2025/04/05 06:59:02.736 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:02.738 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:02.739 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=46] [] [2025/04/05 06:59:02.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.876205ms] ["completed regions"=1] [2025/04/05 06:59:02.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:02.741 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:02.743 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=46] [] [2025/04/05 06:59:02.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.105317ms] ["completed regions"=1] [2025/04/05 06:59:02.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:02.744 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:02.746 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=46] [] [2025/04/05 06:59:02.746 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.812363ms] ["completed regions"=1] [2025/04/05 06:59:02.746 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:02.747 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:02.749 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=46] [] [2025/04/05 06:59:02.749 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.876452ms] ["completed regions"=1] [2025/04/05 06:59:02.749 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:02.751 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:02.752 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=46] [] [2025/04/05 06:59:02.752 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.808273ms] ["completed regions"=1] [2025/04/05 06:59:02.752 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:02.754 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:02.756 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=46] [] [2025/04/05 06:59:02.756 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.855754ms] ["completed regions"=1] [2025/04/05 06:59:02.756 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:02.757 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:02.759 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=46] [] [2025/04/05 06:59:02.759 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.680873ms] ["completed regions"=1] [2025/04/05 06:59:02.759 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:02.760 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:02.762 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=46] [] [2025/04/05 06:59:02.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.715182ms] ["completed regions"=1] [2025/04/05 06:59:02.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:02.763 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:02.765 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=43] ["total regions"=46] [] [2025/04/05 06:59:02.765 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.491819ms] ["completed regions"=1] [2025/04/05 06:59:02.765 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:02.766 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:02.768 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:02.769 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:02.773 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=46] ["total regions"=46] [] [2025/04/05 06:59:02.773 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=8.020763ms] ["completed regions"=3] [2025/04/05 06:59:02.773 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:02.789 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:02.872 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=82.862273ms] [2025/04/05 06:59:02.872 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:02.875 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=138] [2025/04/05 06:59:02.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=138] ["take time"=89.639424ms] [job="ID:159, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.957 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=14] [job="ID:159, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.164 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.970 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 06:59:02.970 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 14\n# Query_time: 0.762800509\n# Parse_time: 0.000071421\n# Compile_time: 0.000300138\n# Rewrite_time: 0.000002533\n# Optimize_time: 0.000088132\n# Wait_TS: 0.000375132\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse ;\nflashback cluster to timestamp '2025-04-05 06:59:01.814000';"] [2025/04/05 06:59:02.972 +00:00] [INFO] [check_table_index.go:434] ["fast check table by group"] ["table name"=t] ["index name"=k] [times=1] ["current offset"=0] ["current mod"=1] ["table sql"="select /*+ read_from_storage(tikv[`test`.`t`]) */ bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index() where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] ["index sql"="select bit_xor(crc32(md5(concat_ws(0x2, `_tidb_rowid`, `a`)))), ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024), count(*) from `test`.`t` use index(`k`) where 0 = 0 group by ((cast(crc32(md5(concat_ws(0x2, `_tidb_rowid`))) as signed) - 0) div 1 % 1024)"] [2025/04/05 06:59:02.991 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:02.991 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test1'"] [errorVerbose="[schema:1049]Unknown database 'test1'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:350\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 06:59:02.992 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:02.992 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=138] [error="[schema:1049]Unknown database 'test2'"] [errorVerbose="[schema:1049]Unknown database 'test2'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).executeUse\n\tpkg/executor/simple.go:598\ngithub.com/pingcap/tidb/pkg/executor.(*SimpleExec).Next\n\tpkg/executor/simple.go:155\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackCreateDropSchema\n\ttests/realtikvtest/flashbacktest/flashback_test.go:351\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"\",\n \"id\": 14,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 06:59:02.992 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:02.992 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [] [2025/04/05 06:59:02.992 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:02.992 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:02.992 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:02.992 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:02.992 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=73.653µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=34.989µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=44.536µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=36.036µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=40.986µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=37.548µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=30.045µs] [2025/04/05 06:59:02.993 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:02.993 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:02.994 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:02.994 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:02.996 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] ["take time"=4.303302ms] [2025/04/05 06:59:02.996 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:02.996 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:02.997 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/1f83b4dd-5bf0-49b6-9b75-fb107594b75b] [watcherID=f05feaeb-7ab0-491e-b844-8e1da1dc9da3] [2025/04/05 06:59:02.997 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:02.997 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1f83b4dd-5bf0-49b6-9b75-fb107594b75b] [2025/04/05 06:59:02.997 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ttl-worker=task-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [originalCount=4] [newCount=0] [2025/04/05 06:59:02.997 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:02.997 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:02.997 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:02.997 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:02.997 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [ttl-worker=task-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [originalCount=4] [newCount=0] [2025/04/05 06:59:02.999 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:02.999 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:02.999 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:02.999 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:03.001 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.001 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:03.002 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1304] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:03.003 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:03.003 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:03.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:03.003 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [2025/04/05 06:59:03.004 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [2025/04/05 06:59:03.004 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:03.003 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:03.003 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:03.004 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:03.004 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:03.004 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:03.004 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:03.004 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:03.006 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:03.006 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:03.006 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:03.007 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:03.007 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e16ed30b-c31f-42a4-85cb-8eb078396f1f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:03.007 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:03.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:03.007 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:03.007 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:03.007 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:03.008 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [error="context canceled"] [2025/04/05 06:59:03.008 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [2025/04/05 06:59:03.008 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [error="context canceled"] [2025/04/05 06:59:03.008 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=2f4586d9-581a-4b4c-a087-5cfb4b8fdcb5] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:03.025 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:03.025 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:03.072 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:03.072 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:03.083 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.837071ms] [2025/04/05 06:59:03.086 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:03.086 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:03.086 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:03.086 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:03.086 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:03.086 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:03.086 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:03.086 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:03.086 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:03.086 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:03.086 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:03.086 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:03.087 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackCreateDropSchema (2.74s) === NAME === RUN TestFlashbackAutoID [2025/04/05 06:59:03.096 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:03.097 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:03.097 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:03.098 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:03.098 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:03.098 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:03.098 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:03.098 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:03.098 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:03.099 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:03.099 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:03.102 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:03.107 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:03.108 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:03.109 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:03.121 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:03.132 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:03.172 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1395] ["lease id"=3eaa9604bcfac326] [2025/04/05 06:59:03.174 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:03.267 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=138] ["elapsed time"=90.256407ms] [2025/04/05 06:59:03.267 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:03.270 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:03.275 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=d9740337-9854-4a1d-9588-502269c75b7c] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:03.275 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:03.277 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.278 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:03.279 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007699456/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:03.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:03.279 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.279 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [2025/04/05 06:59:03.281 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac32b] [ownerID=d9740337-9854-4a1d-9588-502269c75b7c] [op=none] [2025/04/05 06:59:03.281 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.281 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcfac32b] [currRev=687] [2025/04/05 06:59:03.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:03.282 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.282 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcfac5b1] [ownerID=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [op=none] [2025/04/05 06:59:03.282 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [2025/04/05 06:59:03.283 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [ownerKey=/tidb/br-stream/owner/22319604bcfac5b1] [currRev=688] [2025/04/05 06:59:03.283 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:03.283 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac32b] [ownerID=d9740337-9854-4a1d-9588-502269c75b7c] [op=none] [2025/04/05 06:59:03.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=d9740337-9854-4a1d-9588-502269c75b7c] [op=none] [2025/04/05 06:59:03.283 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:03.287 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.288 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:03.289 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:03.298 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:03.305 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:03.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:03.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:03.314 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:03.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:03.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:03.314 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:03.314 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:03.314 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:03.314 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:03.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:03.315 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:03.316 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:03.316 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:03.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:03.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:03.317 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:03.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:03.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:03.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:03.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:03.318 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcfac333] [ownerID=d9740337-9854-4a1d-9588-502269c75b7c] [op=none] [2025/04/05 06:59:03.319 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:03.319 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.319 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [ownerKey=/tidb/stats/owner/3eaa9604bcfac333] [currRev=690] [2025/04/05 06:59:03.321 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3be62805-ce53-4c35-ba15-41604435ce49] [2025/04/05 06:59:03.321 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [ttl-worker=task-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [originalCount=0] [newCount=4] [2025/04/05 06:59:03.321 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [ttl-worker=task-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [originalCount=0] [newCount=4] [2025/04/05 06:59:03.321 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:03.322 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:03.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:03.322 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:03.322 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836343322996855 [2025/04/05 06:59:03.327 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:03.334 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.772668ms] [2025/04/05 06:59:03.334 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:03.334 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:03.336 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:03.357 +00:00] [INFO] [set.go:172] ["set global var"] [conn=15] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:03.360 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=138] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:03.373 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.373 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:03.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=1.932021ms] [gotSchemaVersion=139] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:03.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=139] [2025/04/05 06:59:03.401 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=9.148008ms] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.411 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.428 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.919839ms] [gotSchemaVersion=140] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:03.431 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=140] [2025/04/05 06:59:03.433 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=140] ["take time"=8.737323ms] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.448 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/05 06:59:03.463 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.114977ms] [gotSchemaVersion=141] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:03.468 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=160] [version=141] [2025/04/05 06:59:03.470 +00:00] [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.493952ms] [job="ID:160, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.479 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=160] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/05 06:59:03.487 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=160] [jobType="drop table"] [2025/04/05 06:59:03.488 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=160] [conn=15] [job="ID:160, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=160] [2025/04/05 06:59:03.507 +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: 1743836343508257008 [2025/04/05 06:59:03.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [2025/04/05 06:59:03.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.544 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 161, Table Name: t)"] [2025/04/05 06:59:03.559 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.488788ms] [gotSchemaVersion=142] [phyTblIDs="[161]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=142] [2025/04/05 06:59:03.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=142] ["take time"=8.519607ms] [job="ID:162, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.576 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=16] [job="ID:162, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.592 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/05 06:59:03.592 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=142] [cur_db=test] [sql="create table t(a int auto_increment, primary key(a)) auto_id_cache 100"] [user=] [2025/04/05 06:59:04.289 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:04.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:04.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:04.289 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:04.321 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:04.321 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:04.321 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3be62805-ce53-4c35-ba15-41604435ce49] [watcherID=33c91d43-b654-45f5-b469-982308cbfeab] [2025/04/05 06:59:04.323 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:04.328 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:04.328 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:04.328 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:04.328 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:04.619 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:04.619 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 06:59:04.625 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.642 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.822919ms] [gotSchemaVersion=143] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:04.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=143] [2025/04/05 06:59:04.647 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=8.860862ms] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.657 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.641067ms] [gotSchemaVersion=144] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:04.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=144] [2025/04/05 06:59:04.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=144] ["take time"=8.352285ms] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.687 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.694 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/05 06:59:04.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.052161ms] [gotSchemaVersion=145] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:04.712 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=145] [2025/04/05 06:59:04.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=145] ["take time"=8.36275ms] [job="ID:163, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.723 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=163] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/05 06:59:04.728 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="drop table"] [2025/04/05 06:59:04.729 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=163] [conn=16] [job="ID:163, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.564 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.747 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 06:59:04.747 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=145] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 06:59:04.748 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:04.564 +0000 UTC"] [2025/04/05 06:59:04.760 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:04.760 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:04.564000'"] [2025/04/05 06:59:04.765 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.771 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/05 06:59:04.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.844 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=251ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:59:04.875 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=131.034µs] [gotSchemaVersion=146] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:04.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=146] [2025/04/05 06:59:04.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=146] ["take time"=7.102923ms] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.922 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:04.925 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:04.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.770279ms] ["completed regions"=1] [2025/04/05 06:59:04.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:04.932 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:04.933 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.516337ms] ["completed regions"=1] [2025/04/05 06:59:04.933 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:04.937 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:04.939 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.821915ms] ["completed regions"=1] [2025/04/05 06:59:04.939 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:04.942 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:04.943 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.30875ms] ["completed regions"=1] [2025/04/05 06:59:04.943 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:04.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:04.948 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.440162ms] ["completed regions"=1] [2025/04/05 06:59:04.948 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:04.952 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:04.953 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.365006ms] ["completed regions"=1] [2025/04/05 06:59:04.953 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:04.956 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:04.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.118193ms] ["completed regions"=1] [2025/04/05 06:59:04.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:04.961 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:04.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.08316ms] ["completed regions"=1] [2025/04/05 06:59:04.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:04.966 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:04.967 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.042471ms] ["completed regions"=1] [2025/04/05 06:59:04.967 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:04.970 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:04.972 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.217431ms] ["completed regions"=1] [2025/04/05 06:59:04.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:04.975 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:04.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.149594ms] ["completed regions"=1] [2025/04/05 06:59:04.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:04.979 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:04.981 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.408487ms] ["completed regions"=1] [2025/04/05 06:59:04.981 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:04.984 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:04.985 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.854457ms] ["completed regions"=1] [2025/04/05 06:59:04.985 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:04.988 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:04.989 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.666356ms] ["completed regions"=1] [2025/04/05 06:59:04.990 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:04.992 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:04.994 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.7889ms] ["completed regions"=1] [2025/04/05 06:59:04.994 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:04.997 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:04.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.630199ms] ["completed regions"=1] [2025/04/05 06:59:04.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:05.001 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:05.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.64081ms] ["completed regions"=1] [2025/04/05 06:59:05.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:05.004 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:05.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.505895ms] ["completed regions"=1] [2025/04/05 06:59:05.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:05.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:05.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.496619ms] ["completed regions"=1] [2025/04/05 06:59:05.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:05.012 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:05.014 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.508178ms] ["completed regions"=1] [2025/04/05 06:59:05.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:05.016 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:05.018 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.405086ms] ["completed regions"=1] [2025/04/05 06:59:05.018 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:05.020 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:05.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.374343ms] ["completed regions"=1] [2025/04/05 06:59:05.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:05.024 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:05.025 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.28338ms] ["completed regions"=1] [2025/04/05 06:59:05.025 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:05.027 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:05.029 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.234304ms] ["completed regions"=1] [2025/04/05 06:59:05.029 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:05.031 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:05.032 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.055433ms] ["completed regions"=1] [2025/04/05 06:59:05.032 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:05.034 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:05.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.310696ms] ["completed regions"=1] [2025/04/05 06:59:05.036 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:05.038 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:05.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.966075ms] ["completed regions"=1] [2025/04/05 06:59:05.039 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:05.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:05.043 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.997999ms] ["completed regions"=1] [2025/04/05 06:59:05.043 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:05.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:05.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.736054ms] ["completed regions"=1] [2025/04/05 06:59:05.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:05.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:05.049 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.823199ms] ["completed regions"=1] [2025/04/05 06:59:05.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:05.051 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:05.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.685605ms] ["completed regions"=1] [2025/04/05 06:59:05.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:05.054 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:05.055 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.556767ms] ["completed regions"=1] [2025/04/05 06:59:05.055 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:05.057 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:05.058 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.67247ms] ["completed regions"=1] [2025/04/05 06:59:05.058 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:05.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:05.061 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.611877ms] ["completed regions"=1] [2025/04/05 06:59:05.061 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:05.062 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:05.064 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.542824ms] ["completed regions"=1] [2025/04/05 06:59:05.064 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:05.066 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:05.067 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.691975ms] ["completed regions"=1] [2025/04/05 06:59:05.067 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:05.068 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:05.070 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.618183ms] ["completed regions"=1] [2025/04/05 06:59:05.070 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:05.072 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:05.073 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.672503ms] ["completed regions"=1] [2025/04/05 06:59:05.073 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:05.075 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:05.076 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.42148ms] ["completed regions"=1] [2025/04/05 06:59:05.076 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:05.077 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:05.079 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.363756ms] ["completed regions"=1] [2025/04/05 06:59:05.079 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:05.080 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:05.081 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.127399ms] ["completed regions"=1] [2025/04/05 06:59:05.081 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:05.083 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:05.084 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.179934ms] ["completed regions"=1] [2025/04/05 06:59:05.084 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:05.085 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:05.086 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:05.088 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:05.090 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.450656ms] ["completed regions"=3] [2025/04/05 06:59:05.096 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=164] [2025/04/05 06:59:05.102 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.103 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:05.107 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:05.109 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:05.110 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.070908ms] ["completed regions"=1] [2025/04/05 06:59:05.110 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:05.113 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:05.115 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:05.115 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.945833ms] ["completed regions"=1] [2025/04/05 06:59:05.115 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:05.118 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:05.120 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:05.120 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.56474ms] ["completed regions"=1] [2025/04/05 06:59:05.120 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:05.123 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:05.124 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:05.125 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.334324ms] ["completed regions"=1] [2025/04/05 06:59:05.125 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:05.128 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:05.129 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:05.129 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.492859ms] ["completed regions"=1] [2025/04/05 06:59:05.129 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:05.132 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:05.134 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:05.134 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.280395ms] ["completed regions"=1] [2025/04/05 06:59:05.134 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:05.138 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:05.139 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:05.139 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.848259ms] ["completed regions"=1] [2025/04/05 06:59:05.140 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:05.143 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:05.144 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:05.144 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.512777ms] ["completed regions"=1] [2025/04/05 06:59:05.145 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:05.147 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:05.149 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:05.149 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.199984ms] ["completed regions"=1] [2025/04/05 06:59:05.149 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:05.152 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:05.154 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:05.154 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.290599ms] ["completed regions"=1] [2025/04/05 06:59:05.154 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:05.156 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:05.158 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:05.158 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.974815ms] ["completed regions"=1] [2025/04/05 06:59:05.158 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:05.161 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:05.163 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:05.163 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.006396ms] ["completed regions"=1] [2025/04/05 06:59:05.163 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:05.166 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:05.168 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:05.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.928744ms] ["completed regions"=1] [2025/04/05 06:59:05.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:05.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:05.172 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:05.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.061579ms] ["completed regions"=1] [2025/04/05 06:59:05.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:05.175 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:05.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:05.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.918446ms] ["completed regions"=1] [2025/04/05 06:59:05.177 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:05.179 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:05.180 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:05.181 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.705906ms] ["completed regions"=1] [2025/04/05 06:59:05.181 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:05.183 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:05.185 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:05.185 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.869731ms] ["completed regions"=1] [2025/04/05 06:59:05.185 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:05.187 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:05.189 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:05.189 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.877247ms] ["completed regions"=1] [2025/04/05 06:59:05.189 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:05.192 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:05.193 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:05.193 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.637906ms] ["completed regions"=1] [2025/04/05 06:59:05.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:05.196 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:05.197 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:05.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.745122ms] ["completed regions"=1] [2025/04/05 06:59:05.197 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:05.200 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:05.201 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:05.201 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.724777ms] ["completed regions"=1] [2025/04/05 06:59:05.202 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:05.204 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:05.205 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:05.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.716562ms] ["completed regions"=1] [2025/04/05 06:59:05.206 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:05.208 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:05.210 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:05.210 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.682323ms] ["completed regions"=1] [2025/04/05 06:59:05.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:05.212 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:05.213 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:05.214 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.51352ms] ["completed regions"=1] [2025/04/05 06:59:05.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:05.216 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:05.217 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:05.217 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.302936ms] ["completed regions"=1] [2025/04/05 06:59:05.217 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:05.219 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:05.221 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:05.221 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.232866ms] ["completed regions"=1] [2025/04/05 06:59:05.221 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:05.223 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:05.224 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:05.224 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.273137ms] ["completed regions"=1] [2025/04/05 06:59:05.224 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:05.226 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:05.228 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:05.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.292449ms] ["completed regions"=1] [2025/04/05 06:59:05.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:05.230 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:05.231 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:05.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.026874ms] ["completed regions"=1] [2025/04/05 06:59:05.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:05.233 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:05.235 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:05.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.07043ms] ["completed regions"=1] [2025/04/05 06:59:05.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:05.237 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:05.238 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:05.239 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.279693ms] ["completed regions"=1] [2025/04/05 06:59:05.239 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:05.240 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:05.242 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:05.242 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.096884ms] ["completed regions"=1] [2025/04/05 06:59:05.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:05.244 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:05.245 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:05.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.997223ms] ["completed regions"=1] [2025/04/05 06:59:05.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:05.247 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:05.249 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:05.249 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.930885ms] ["completed regions"=1] [2025/04/05 06:59:05.249 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:05.250 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:05.252 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:05.252 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.985936ms] ["completed regions"=1] [2025/04/05 06:59:05.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:05.254 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:05.255 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:05.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.799946ms] ["completed regions"=1] [2025/04/05 06:59:05.255 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:05.257 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:05.258 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:05.258 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.759716ms] ["completed regions"=1] [2025/04/05 06:59:05.258 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:05.260 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:05.261 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:05.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.705579ms] ["completed regions"=1] [2025/04/05 06:59:05.262 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:05.263 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:05.264 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:05.264 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.651425ms] ["completed regions"=1] [2025/04/05 06:59:05.265 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:05.266 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:05.267 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:05.268 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.748127ms] ["completed regions"=1] [2025/04/05 06:59:05.268 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:05.269 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:05.270 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:05.271 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.582558ms] ["completed regions"=1] [2025/04/05 06:59:05.271 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:05.272 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:05.273 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:05.273 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.501901ms] ["completed regions"=1] [2025/04/05 06:59:05.273 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:05.274 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:05.276 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:05.278 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:05.279 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:05.280 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:05.281 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.819279ms] ["completed regions"=3] [2025/04/05 06:59:05.281 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:05.298 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:05.380 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=82.857456ms] [2025/04/05 06:59:05.380 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:05.384 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=164] [version=147] [2025/04/05 06:59:05.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=147] ["take time"=90.465479ms] [job="ID:164, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.459 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=164] [conn=16] [job="ID:164, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:04.714 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.471 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=164] [2025/04/05 06:59:05.472 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 16\n# Query_time: 0.724315518\n# Parse_time: 0.000103437\n# Compile_time: 0.000276641\n# Rewrite_time: 0.000002761\n# Optimize_time: 0.000628057\n# Wait_TS: 0.000504752\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:59:04.564000';"] [2025/04/05 06:59:05.484 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:05.484 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [] [2025/04/05 06:59:05.484 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.486 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:05.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:05.487 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:05.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=75.291µs] [2025/04/05 06:59:05.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=33.141µs] [2025/04/05 06:59:05.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=31.625µs] [2025/04/05 06:59:05.487 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=30.362µs] [2025/04/05 06:59:05.487 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.487 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.488 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:05.488 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:05.490 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=d9740337-9854-4a1d-9588-502269c75b7c] ["take time"=6.36603ms] [2025/04/05 06:59:05.490 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.490 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:05.490 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:05.490 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/3be62805-ce53-4c35-ba15-41604435ce49] [watcherID=33c91d43-b654-45f5-b469-982308cbfeab] [2025/04/05 06:59:05.490 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3be62805-ce53-4c35-ba15-41604435ce49] [2025/04/05 06:59:05.490 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [ttl-worker=task-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [originalCount=4] [newCount=0] [2025/04/05 06:59:05.491 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:05.491 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:05.491 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:05.491 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:05.491 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [ttl-worker=task-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [originalCount=4] [newCount=0] [2025/04/05 06:59:05.493 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:05.493 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:05.493 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:05.494 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:05.496 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.496 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1395] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:05.497 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:05.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [2025/04/05 06:59:05.497 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:05.497 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:05.498 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:05.497 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:05.497 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:05.497 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:05.498 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.498 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:05.498 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:05.498 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:05.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:05.501 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:05.501 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:05.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:05.501 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:05.501 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:05.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:05.501 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:05.501 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=bc6c2a42-8892-4e4b-a821-4a823dfc41b2] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:05.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:05.501 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:05.501 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:05.502 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [error="context canceled"] [2025/04/05 06:59:05.503 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [2025/04/05 06:59:05.503 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [error="context canceled"] [2025/04/05 06:59:05.503 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=d9740337-9854-4a1d-9588-502269c75b7c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:05.518 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:05.519 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:05.561 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:05.561 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:05.572 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.210442ms] [2025/04/05 06:59:05.575 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:05.575 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:05.575 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:05.575 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:05.575 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:05.575 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:05.575 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:05.576 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:05.576 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:05.576 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:05.576 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:05.576 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:05.577 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackAutoID (2.49s) === NAME === RUN TestFlashbackSequence [2025/04/05 06:59:05.585 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:05.586 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:05.586 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:05.587 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:05.587 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:05.587 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:05.587 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:05.587 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:05.587 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:05.588 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:05.588 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:05.592 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:05.596 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:05.597 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:05.598 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:05.611 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:05.622 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:05.657 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1355] ["lease id"=3eaa9604bcfac359] [2025/04/05 06:59:05.659 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:05.747 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=147] ["elapsed time"=85.904781ms] [2025/04/05 06:59:05.747 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:05.750 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:05.755 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:05.755 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:05.757 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.759 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:05.759 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266007810048/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:05.759 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:05.759 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:05.759 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [2025/04/05 06:59:05.762 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac5d9] [ownerID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [op=none] [2025/04/05 06:59:05.762 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.762 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:05.762 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ownerKey=/tidb/ddl/fg/owner/22319604bcfac5d9] [currRev=739] [2025/04/05 06:59:05.762 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:05.763 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:05.763 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcfac5db] [ownerID=9a9d259f-48c5-4ff4-b257-257443c10e50] [op=none] [2025/04/05 06:59:05.763 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [2025/04/05 06:59:05.763 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [ownerKey=/tidb/br-stream/owner/22319604bcfac5db] [currRev=740] [2025/04/05 06:59:05.764 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac5d9] [ownerID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [op=none] [2025/04/05 06:59:05.764 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [op=none] [2025/04/05 06:59:05.764 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:05.769 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:05.770 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:05.780 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:05.787 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:05.795 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:05.795 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:05.795 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:05.796 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:05.796 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:05.796 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:05.796 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:05.796 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:05.796 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:05.797 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:05.797 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:05.798 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:05.798 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:05.798 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:05.798 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:05.799 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:05.800 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcfac363] [ownerID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [op=none] [2025/04/05 06:59:05.801 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.801 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ownerKey=/tidb/stats/owner/3eaa9604bcfac363] [currRev=742] [2025/04/05 06:59:05.801 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:05.802 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ad032fa8-2a97-4eae-8d60-625539390814] [2025/04/05 06:59:05.803 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ttl-worker=task-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [originalCount=0] [newCount=4] [2025/04/05 06:59:05.803 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ttl-worker=task-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [originalCount=0] [newCount=4] [2025/04/05 06:59:05.803 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:05.804 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:05.805 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:05.805 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:05.805 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836345805981144 [2025/04/05 06:59:05.809 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:05.816 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.125565ms] [2025/04/05 06:59:05.816 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:05.816 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:05.825 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:05.843 +00:00] [INFO] [set.go:172] ["set global var"] [conn=17] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:05.845 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=147] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:05.858 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.858 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:05.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.880 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.705238ms] [gotSchemaVersion=148] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.884 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=148] [2025/04/05 06:59:05.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=148] ["take time"=8.988803ms] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.895 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.588857ms] [gotSchemaVersion=149] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=149] [2025/04/05 06:59:05.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=149] ["take time"=8.73059ms] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.925 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:161, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.931 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 161, Old Table Name: t)"] [2025/04/05 06:59:05.944 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=998.386µs] [gotSchemaVersion=150] [phyTblIDs="[161]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.947 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=150] [2025/04/05 06:59:05.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"=7.902456ms] [job="ID:165, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.962 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=165] [tableIDs="[161]"] [comment="drop table: table ID"] [2025/04/05 06:59:05.974 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="drop table"] [2025/04/05 06:59:05.975 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=165] [conn=17] [job="ID:165, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:161, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.815 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.997 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/05 06:59:05.997 +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: 1743836345998140265 [2025/04/05 06:59:06.027 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:06.027 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create sequence seq cache 100"] [2025/04/05 06:59:06.034 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:queueing, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:06.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.052 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.445283ms] [gotSchemaVersion=151] [phyTblIDs="[166]"] [actionTypes="[34]"] [diffTypes="[\"create sequence\"]"] [2025/04/05 06:59:06.055 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=151] [2025/04/05 06:59:06.057 +00:00] [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.312555ms] [job="ID:167, Type:create sequence, State:done, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.068 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=167] [conn=18] [job="ID:167, Type:create sequence, State:synced, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:06.014 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.080 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 06:59:06.769 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:06.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:06.769 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:06.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:06.803 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:06.803 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:06.803 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ad032fa8-2a97-4eae-8d60-625539390814] [watcherID=fc53acb3-77e0-4189-bfc6-7d867950d7fc] [2025/04/05 06:59:06.806 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:06.939 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:06.939 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:06.939 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:06.939 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:07.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/05 06:59:07.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:07.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.123 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.593945ms] [gotSchemaVersion=152] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:07.127 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=152] [2025/04/05 06:59:07.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=152] ["take time"=9.438677ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.139 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.610972ms] [gotSchemaVersion=153] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:07.158 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=153] [2025/04/05 06:59:07.160 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=153] ["take time"=8.629304ms] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.185 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=1.000925ms] [gotSchemaVersion=154] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:07.188 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=168] [version=154] [2025/04/05 06:59:07.190 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=154] ["take time"=7.979658ms] [job="ID:168, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.200 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=168] [conn=18] [job="ID:168, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.210 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=168] [2025/04/05 06:59:07.211 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:07.064 +0000 UTC"] [2025/04/05 06:59:07.223 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:07.223 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:07.064000'"] [2025/04/05 06:59:07.228 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.234 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/05 06:59:07.241 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.307 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=200ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:59:07.338 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=134.878µs] [gotSchemaVersion=155] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:07.341 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=155] [2025/04/05 06:59:07.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=155] ["take time"=6.848127ms] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.382 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:07.385 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:07.388 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.763658ms] ["completed regions"=1] [2025/04/05 06:59:07.388 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:07.391 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:07.393 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.565172ms] ["completed regions"=1] [2025/04/05 06:59:07.393 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:07.396 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:07.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.342338ms] ["completed regions"=1] [2025/04/05 06:59:07.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:07.401 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:07.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.25999ms] ["completed regions"=1] [2025/04/05 06:59:07.403 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:07.406 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:07.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.543868ms] ["completed regions"=1] [2025/04/05 06:59:07.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:07.411 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:07.412 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.463367ms] ["completed regions"=1] [2025/04/05 06:59:07.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:07.416 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:07.417 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.294124ms] ["completed regions"=1] [2025/04/05 06:59:07.417 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:07.421 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:07.422 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.332605ms] ["completed regions"=1] [2025/04/05 06:59:07.422 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:07.425 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:07.427 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.063334ms] ["completed regions"=1] [2025/04/05 06:59:07.427 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:07.430 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:07.432 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.43321ms] ["completed regions"=1] [2025/04/05 06:59:07.432 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:07.434 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:07.436 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.054507ms] ["completed regions"=1] [2025/04/05 06:59:07.436 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:07.439 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:07.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.789351ms] ["completed regions"=1] [2025/04/05 06:59:07.440 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:07.443 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:07.444 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.609261ms] ["completed regions"=1] [2025/04/05 06:59:07.444 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:07.447 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:07.449 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.846315ms] ["completed regions"=1] [2025/04/05 06:59:07.449 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:07.451 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:07.453 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.754336ms] ["completed regions"=1] [2025/04/05 06:59:07.453 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:07.455 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:07.457 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.737142ms] ["completed regions"=1] [2025/04/05 06:59:07.457 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:07.460 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:07.461 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.954821ms] ["completed regions"=1] [2025/04/05 06:59:07.461 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:07.464 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:07.465 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.580343ms] ["completed regions"=1] [2025/04/05 06:59:07.465 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:07.468 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:07.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.617081ms] ["completed regions"=1] [2025/04/05 06:59:07.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:07.472 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:07.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.368239ms] ["completed regions"=1] [2025/04/05 06:59:07.473 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:07.476 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:07.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.767962ms] ["completed regions"=1] [2025/04/05 06:59:07.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:07.480 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:07.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.397905ms] ["completed regions"=1] [2025/04/05 06:59:07.481 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:07.484 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:07.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.482907ms] ["completed regions"=1] [2025/04/05 06:59:07.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:07.487 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:07.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.334062ms] ["completed regions"=1] [2025/04/05 06:59:07.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:07.491 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:07.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.311122ms] ["completed regions"=1] [2025/04/05 06:59:07.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:07.495 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:07.496 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.191299ms] ["completed regions"=1] [2025/04/05 06:59:07.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:07.498 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:07.500 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.094336ms] ["completed regions"=1] [2025/04/05 06:59:07.500 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:07.502 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:07.503 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.064045ms] ["completed regions"=1] [2025/04/05 06:59:07.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:07.505 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:07.507 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.996783ms] ["completed regions"=1] [2025/04/05 06:59:07.507 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:07.508 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:07.510 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.833121ms] ["completed regions"=1] [2025/04/05 06:59:07.510 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:07.512 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:07.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.057053ms] ["completed regions"=1] [2025/04/05 06:59:07.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:07.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:07.517 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.787694ms] ["completed regions"=1] [2025/04/05 06:59:07.517 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:07.518 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:07.520 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.668704ms] ["completed regions"=1] [2025/04/05 06:59:07.520 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:07.521 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:07.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.706175ms] ["completed regions"=1] [2025/04/05 06:59:07.523 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:07.524 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:07.526 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.577688ms] ["completed regions"=1] [2025/04/05 06:59:07.526 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:07.527 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:07.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.730708ms] ["completed regions"=1] [2025/04/05 06:59:07.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:07.530 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:07.532 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.490983ms] ["completed regions"=1] [2025/04/05 06:59:07.532 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:07.533 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:07.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.38675ms] ["completed regions"=1] [2025/04/05 06:59:07.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:07.536 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:07.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.269579ms] ["completed regions"=1] [2025/04/05 06:59:07.537 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:07.538 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:07.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.414124ms] ["completed regions"=1] [2025/04/05 06:59:07.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:07.541 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:07.542 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.268551ms] ["completed regions"=1] [2025/04/05 06:59:07.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:07.544 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:07.545 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.199696ms] ["completed regions"=1] [2025/04/05 06:59:07.545 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:07.546 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:07.548 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:07.549 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:07.550 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.907198ms] ["completed regions"=3] [2025/04/05 06:59:07.557 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=169] [2025/04/05 06:59:07.564 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:07.569 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:07.572 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:07.572 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.676821ms] ["completed regions"=1] [2025/04/05 06:59:07.572 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:07.575 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:07.577 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:07.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.09076ms] ["completed regions"=1] [2025/04/05 06:59:07.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:07.580 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:07.582 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:07.582 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.6676ms] ["completed regions"=1] [2025/04/05 06:59:07.582 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:07.585 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:07.587 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:07.587 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.467607ms] ["completed regions"=1] [2025/04/05 06:59:07.587 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:07.592 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:07.594 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:07.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=6.774504ms] ["completed regions"=1] [2025/04/05 06:59:07.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:07.597 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:07.599 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:07.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.593848ms] ["completed regions"=1] [2025/04/05 06:59:07.599 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:07.602 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:07.604 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:07.604 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.326372ms] ["completed regions"=1] [2025/04/05 06:59:07.604 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:07.607 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:07.608 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:07.609 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.418215ms] ["completed regions"=1] [2025/04/05 06:59:07.609 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:07.612 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:07.614 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:07.614 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.541503ms] ["completed regions"=1] [2025/04/05 06:59:07.614 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:07.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:07.619 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:07.619 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=5.112128ms] ["completed regions"=1] [2025/04/05 06:59:07.619 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:07.622 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:07.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:07.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.165392ms] ["completed regions"=1] [2025/04/05 06:59:07.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:07.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:07.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:07.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.007964ms] ["completed regions"=1] [2025/04/05 06:59:07.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:07.632 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:07.634 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:07.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.07831ms] ["completed regions"=1] [2025/04/05 06:59:07.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:07.636 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:07.638 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:07.638 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.094882ms] ["completed regions"=1] [2025/04/05 06:59:07.638 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:07.641 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:07.643 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:07.643 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.2754ms] ["completed regions"=1] [2025/04/05 06:59:07.643 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:07.646 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:07.647 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:07.648 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.290032ms] ["completed regions"=1] [2025/04/05 06:59:07.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:07.650 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:07.652 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:07.652 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.098475ms] ["completed regions"=1] [2025/04/05 06:59:07.652 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:07.655 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:07.656 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:07.656 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.880302ms] ["completed regions"=1] [2025/04/05 06:59:07.656 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:07.659 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:07.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:07.661 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.261102ms] ["completed regions"=1] [2025/04/05 06:59:07.661 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:07.664 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:07.665 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:07.665 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.906847ms] ["completed regions"=1] [2025/04/05 06:59:07.665 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:07.668 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:07.670 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:07.670 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=4.334626ms] ["completed regions"=1] [2025/04/05 06:59:07.670 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:07.672 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:07.674 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:07.674 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.738096ms] ["completed regions"=1] [2025/04/05 06:59:07.674 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:07.677 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:07.678 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:07.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.940944ms] ["completed regions"=1] [2025/04/05 06:59:07.679 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:07.681 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:07.683 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:07.683 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.782229ms] ["completed regions"=1] [2025/04/05 06:59:07.683 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:07.685 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:07.687 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:07.687 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.424708ms] ["completed regions"=1] [2025/04/05 06:59:07.687 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:07.689 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:07.690 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:07.690 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.340183ms] ["completed regions"=1] [2025/04/05 06:59:07.690 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:07.692 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:07.694 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:07.694 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.307738ms] ["completed regions"=1] [2025/04/05 06:59:07.694 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:07.696 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:07.698 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:07.698 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.59302ms] ["completed regions"=1] [2025/04/05 06:59:07.698 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:07.700 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:07.702 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:07.702 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.230981ms] ["completed regions"=1] [2025/04/05 06:59:07.702 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:07.703 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:07.705 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:07.705 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.296328ms] ["completed regions"=1] [2025/04/05 06:59:07.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:07.707 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:07.709 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:07.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.393161ms] ["completed regions"=1] [2025/04/05 06:59:07.709 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:07.711 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:07.713 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:07.713 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.238859ms] ["completed regions"=1] [2025/04/05 06:59:07.713 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:07.714 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:07.716 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:07.716 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.933105ms] ["completed regions"=1] [2025/04/05 06:59:07.716 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:07.718 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:07.719 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:07.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=3.111923ms] ["completed regions"=1] [2025/04/05 06:59:07.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:07.721 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:07.723 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:07.723 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.808613ms] ["completed regions"=1] [2025/04/05 06:59:07.723 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:07.724 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:07.726 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:07.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.738402ms] ["completed regions"=1] [2025/04/05 06:59:07.726 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:07.727 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:07.729 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:07.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.662878ms] ["completed regions"=1] [2025/04/05 06:59:07.729 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:07.730 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:07.732 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:07.732 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.624973ms] ["completed regions"=1] [2025/04/05 06:59:07.732 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:07.733 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:07.735 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:07.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.936757ms] ["completed regions"=1] [2025/04/05 06:59:07.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:07.736 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:07.738 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:07.738 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.53581ms] ["completed regions"=1] [2025/04/05 06:59:07.738 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:07.739 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:07.741 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:07.741 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.541134ms] ["completed regions"=1] [2025/04/05 06:59:07.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:07.742 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:07.743 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:07.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.488317ms] ["completed regions"=1] [2025/04/05 06:59:07.744 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:07.745 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:07.747 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:07.749 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:07.751 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:07.751 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=6.925329ms] ["completed regions"=3] [2025/04/05 06:59:07.751 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:07.760 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:07.769 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:07.858 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=89.171156ms] [2025/04/05 06:59:07.858 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:07.862 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=156] [2025/04/05 06:59:07.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=156] ["take time"=98.798541ms] [job="ID:169, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.946 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=18] [job="ID:169, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.959 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/05 06:59:07.959 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 18\n# Query_time: 0.748717605\n# Parse_time: 0.000076731\n# Compile_time: 0.000249114\n# Rewrite_time: 0.000003504\n# Optimize_time: 0.000103968\n# Wait_TS: 0.000411305\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:59:07.064000';"] [2025/04/05 06:59:07.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop sequence seq"] [2025/04/05 06:59:07.977 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:07.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:queueing, SchemaState:public, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.997 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.537183ms] [gotSchemaVersion=157] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:08.000 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=157] [2025/04/05 06:59:08.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=157] ["take time"=8.625765ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.012 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:write only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.028 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.596932ms] [gotSchemaVersion=158] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:08.031 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=158] [2025/04/05 06:59:08.033 +00:00] [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.449649ms] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:running, SchemaState:delete only, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=1.057817ms] [gotSchemaVersion=159] [phyTblIDs="[166]"] [actionTypes="[36]"] [diffTypes="[\"drop sequence\"]"] [2025/04/05 06:59:08.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=159] [2025/04/05 06:59:08.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=159] ["take time"=7.754376ms] [job="ID:170, Type:drop sequence, State:done, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.072 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=18] [job="ID:170, Type:drop sequence, State:synced, SchemaState:none, SchemaID:2, TableID:166, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.964 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 06:59:08.083 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:08.084 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:08.084 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [] [2025/04/05 06:59:08.084 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.084 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:08.084 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=159] [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.(*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/05 06:59:08.085 +00:00] [WARN] [job_scheduler.go:645] ["unexpected error when clean mdl info"] [category=ddl] ["job ID"=170] [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.(*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/05 06:59:08.085 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:08.085 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:08.085 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=90.875µs] [2025/04/05 06:59:08.085 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=88.928µs] [2025/04/05 06:59:08.086 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=48.094µs] [2025/04/05 06:59:08.086 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=34.169µs] [2025/04/05 06:59:08.086 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=29.693µs] [2025/04/05 06:59:08.086 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.086 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.087 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:08.087 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:08.091 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] ["take time"=7.192149ms] [2025/04/05 06:59:08.091 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.091 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:08.091 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:08.091 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/ad032fa8-2a97-4eae-8d60-625539390814] [watcherID=fc53acb3-77e0-4189-bfc6-7d867950d7fc] [2025/04/05 06:59:08.091 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ad032fa8-2a97-4eae-8d60-625539390814] [2025/04/05 06:59:08.091 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ttl-worker=task-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [originalCount=4] [newCount=0] [2025/04/05 06:59:08.091 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.091 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.091 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.091 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.091 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [ttl-worker=task-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [originalCount=4] [newCount=0] [2025/04/05 06:59:08.094 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.094 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.094 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.094 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.096 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.096 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:08.097 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1355] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:08.098 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:08.098 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:08.098 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:08.098 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [] [2025/04/05 06:59:08.098 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [2025/04/05 06:59:08.099 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.099 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:08.098 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:08.099 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.099 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:08.099 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.100 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:08.100 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:08.101 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9a9d259f-48c5-4ff4-b257-257443c10e50] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.101 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:08.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:08.101 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:08.101 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [error="context canceled"] [2025/04/05 06:59:08.101 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:08.101 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:08.101 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:08.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:08.101 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:08.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:08.101 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:08.102 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [error="context canceled"] [2025/04/05 06:59:08.102 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [2025/04/05 06:59:08.161 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1c5ea1ac-e6ed-4d45-9d7a-ca288c68b2d6] [error="context canceled"] [2025/04/05 06:59:08.161 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:08.162 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:08.174 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.512994ms] [2025/04/05 06:59:08.178 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:08.178 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:08.178 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:08.178 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:08.178 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:08.178 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:08.178 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:08.178 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:08.178 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:08.178 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:08.178 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:08.178 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:08.179 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackSequence (2.61s) === NAME === RUN TestFlashbackPartitionTable [2025/04/05 06:59:08.191 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:08.192 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:08.193 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:08.194 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:08.194 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:08.194 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:08.194 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:08.194 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:08.194 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:08.195 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:08.195 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:08.199 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:08.206 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.206 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.207 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.222 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:08.234 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:08.276 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=867] ["lease id"=3eaa9604bcfac394] [2025/04/05 06:59:08.277 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:08.376 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=159] ["elapsed time"=95.05752ms] [2025/04/05 06:59:08.376 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:08.378 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:08.385 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0b0817e2-4133-40d0-860d-b0771498f304] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:08.385 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:08.387 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.389 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:08.389 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266009985024/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:08.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:08.389 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:08.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:08.390 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:08.390 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.390 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [2025/04/05 06:59:08.391 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac604] [ownerID=0b0817e2-4133-40d0-860d-b0771498f304] [op=none] [2025/04/05 06:59:08.392 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.392 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [ownerKey=/tidb/ddl/fg/owner/22319604bcfac604] [currRev=797] [2025/04/05 06:59:08.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:08.393 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.393 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:08.393 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcfac606] [ownerID=06fb3981-e1b6-4a51-a980-46bff095b886] [op=none] [2025/04/05 06:59:08.393 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [2025/04/05 06:59:08.393 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [ownerKey=/tidb/br-stream/owner/22319604bcfac606] [currRev=798] [2025/04/05 06:59:08.394 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcfac604] [ownerID=0b0817e2-4133-40d0-860d-b0771498f304] [op=none] [2025/04/05 06:59:08.394 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [op=none] [2025/04/05 06:59:08.394 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:08.402 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.403 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:08.403 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:08.412 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:08.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:08.428 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:08.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:08.429 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:08.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:08.429 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:08.429 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:08.429 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:08.429 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:08.429 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:08.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:08.430 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:08.431 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:08.432 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:08.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:08.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:08.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:08.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:08.434 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:08.434 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcfac39e] [ownerID=0b0817e2-4133-40d0-860d-b0771498f304] [op=none] [2025/04/05 06:59:08.434 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.434 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [ownerKey=/tidb/stats/owner/3eaa9604bcfac39e] [currRev=800] [2025/04/05 06:59:08.435 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/66c8d874-1e74-4774-8c77-6199293a1428] [2025/04/05 06:59:08.436 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [ttl-worker=task-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [originalCount=0] [newCount=4] [2025/04/05 06:59:08.436 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [ttl-worker=task-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [originalCount=0] [newCount=4] [2025/04/05 06:59:08.436 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:08.438 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:08.438 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:08.438 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836348438315736 [2025/04/05 06:59:08.438 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:08.444 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:08.451 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.171041ms] [2025/04/05 06:59:08.451 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:08.451 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:08.458 +00:00] [INFO] [set.go:172] ["set global var"] [conn=19] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836348460246333 [2025/04/05 06:59:08.489 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [2025/04/05 06:59:08.489 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:08.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.500 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/05 06:59:08.517 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=2.87736ms] [gotSchemaVersion=160] [phyTblIDs="[171,172,173,174]"] [actionTypes="[3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:08.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=175] [version=160] [2025/04/05 06:59:08.523 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=160] ["take time"=10.856876ms] [job="ID:175, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.534 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=175] [conn=20] [job="ID:175, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.465 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.546 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=175] [2025/04/05 06:59:08.546 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=160] [cur_db=test] [sql="create table t(a int) partition by range(`a`) (partition `a_1` values less than (25), partition `a_2` values less than (75), partition `a_3` values less than (200))"] [user=] [2025/04/05 06:59:09.400 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:09.400 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:09.400 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:09.400 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:09.436 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:09.436 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:09.436 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/66c8d874-1e74-4774-8c77-6199293a1428] [watcherID=84674261-1277-4359-b509-712b91087b4d] [2025/04/05 06:59:09.438 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:09.443 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:09.443 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:09.443 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:09.443 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:09.785 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.785 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t drop partition `a_3`"] [2025/04/05 06:59:09.791 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.809 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=2.264548ms] [gotSchemaVersion=161] [phyTblIDs="[171,172,173,174]"] [actionTypes="[20,20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 06:59:09.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=161] [2025/04/05 06:59:09.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=161] ["take time"=10.20115ms] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.828 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.851 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=2.350328ms] [gotSchemaVersion=162] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 06:59:09.855 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=162] [2025/04/05 06:59:09.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=162] ["take time"=11.340639ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.867 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.886 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.917974ms] [gotSchemaVersion=163] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 06:59:09.889 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=163] [2025/04/05 06:59:09.891 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=9.878079ms] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.900 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:running, SchemaState:delete reorganization, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.906 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop partition, Table ID: 171, Table Name: t, Dropped Partition Name: a_3, Dropped Partition ID: 174)"] [2025/04/05 06:59:09.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.83663ms] [gotSchemaVersion=164] [phyTblIDs="[171,172,173]"] [actionTypes="[20,20,20]"] [diffTypes="[\"drop partition\"]"] [2025/04/05 06:59:09.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=164] [2025/04/05 06:59:09.926 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=8.907156ms] [job="ID:176, Type:drop partition, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.935 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=176] [tableIDs="[174]"] [comment="drop partition: physical table ID(s)"] [2025/04/05 06:59:09.944 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=176] [jobType="drop partition"] [2025/04/05 06:59:09.945 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=176] [conn=20] [job="ID:176, Type:drop partition, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.765 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.966 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/05 06:59:09.966 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=164] [cur_db=test] [sql="alter table t drop partition `a_3`"] [user=] [2025/04/05 06:59:09.979 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.979 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table t add partition (partition `a_3` values less than (300))"] [2025/04/05 06:59:09.985 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:queueing, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.970243ms] [gotSchemaVersion=165] [phyTblIDs="[171,172,173]"] [actionTypes="[19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/05 06:59:10.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=165] [2025/04/05 06:59:10.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=9.736114ms] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.020 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:running, SchemaState:replica only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.026 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add partition, Table ID: 171, Table Name: t, Partition Name: a_3, Partition ID: 177)"] [2025/04/05 06:59:10.042 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.105117ms] [gotSchemaVersion=166] [phyTblIDs="[171,172,173,177]"] [actionTypes="[19,19,19,19]"] [diffTypes="[\"add partition\"]"] [2025/04/05 06:59:10.046 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=166] [2025/04/05 06:59:10.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=166] ["take time"=9.84559ms] [job="ID:178, Type:add partition, State:done, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.059 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=178] [conn=20] [job="ID:178, Type:add partition, State:synced, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.965 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.071 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/05 06:59:10.072 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=166] [cur_db=test] [sql="alter table t add partition (partition `a_3` values less than (300))"] [user=] [2025/04/05 06:59:10.088 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:10.088 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table t"] [2025/04/05 06:59:10.094 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.111 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.354306ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.115 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=167] [2025/04/05 06:59:10.117 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=9.599194ms] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.143 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=2.376338ms] [gotSchemaVersion=168] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.147 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=168] [2025/04/05 06:59:10.149 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=9.19012ms] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.157 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.164 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/05 06:59:10.177 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.02135ms] [gotSchemaVersion=169] [phyTblIDs="[171,172,173,177]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.180 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=169] [2025/04/05 06:59:10.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=169] ["take time"=8.218428ms] [job="ID:179, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.191 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[172,173,177]"] [comment="drop table: partition table IDs"] [2025/04/05 06:59:10.197 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=179] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/05 06:59:10.200 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:10.203 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=179] [jobType="drop table"] [2025/04/05 06:59:10.204 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=20] [job="ID:179, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.064 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.221 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/05 06:59:10.221 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=169] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 06:59:10.223 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:09.765 +0000 UTC"] [2025/04/05 06:59:10.234 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:10.234 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:09.765000'"] [2025/04/05 06:59:10.239 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.246 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/05 06:59:10.253 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.316 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=549ms] [prevState=normal] [newState=adapting] [2025/04/05 06:59:10.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=150.298µs] [gotSchemaVersion=170] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:10.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=170] [2025/04/05 06:59:10.354 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=170] ["take time"=7.098068ms] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.363 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.389 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:10.392 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:10.395 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:10.398 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.26987ms] ["completed regions"=1] [2025/04/05 06:59:10.398 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:10.402 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:10.403 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.717451ms] ["completed regions"=1] [2025/04/05 06:59:10.404 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:10.407 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:10.408 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.493229ms] ["completed regions"=1] [2025/04/05 06:59:10.408 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:10.412 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:10.413 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.501231ms] ["completed regions"=1] [2025/04/05 06:59:10.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:10.417 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:10.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=5.25183ms] ["completed regions"=1] [2025/04/05 06:59:10.419 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:10.422 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:10.424 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.257557ms] ["completed regions"=1] [2025/04/05 06:59:10.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:10.427 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:10.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.740195ms] ["completed regions"=1] [2025/04/05 06:59:10.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:10.432 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:10.434 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.552673ms] ["completed regions"=1] [2025/04/05 06:59:10.434 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:10.437 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:10.439 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.364917ms] ["completed regions"=1] [2025/04/05 06:59:10.439 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:10.443 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:10.444 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=5.178033ms] ["completed regions"=1] [2025/04/05 06:59:10.444 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:10.448 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:10.450 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=5.132828ms] ["completed regions"=1] [2025/04/05 06:59:10.450 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:10.453 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:10.455 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.991063ms] ["completed regions"=1] [2025/04/05 06:59:10.455 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:10.458 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:10.460 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.288898ms] ["completed regions"=1] [2025/04/05 06:59:10.460 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:10.463 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:10.464 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.927834ms] ["completed regions"=1] [2025/04/05 06:59:10.464 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:10.467 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:10.469 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.730966ms] ["completed regions"=1] [2025/04/05 06:59:10.469 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:10.471 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:10.473 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.634833ms] ["completed regions"=1] [2025/04/05 06:59:10.473 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:10.475 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:10.477 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.874479ms] ["completed regions"=1] [2025/04/05 06:59:10.477 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:10.479 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:10.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.595099ms] ["completed regions"=1] [2025/04/05 06:59:10.481 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:10.483 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:10.485 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.48517ms] ["completed regions"=1] [2025/04/05 06:59:10.485 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:10.487 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:10.489 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.613217ms] ["completed regions"=1] [2025/04/05 06:59:10.489 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:10.491 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:10.492 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.578803ms] ["completed regions"=1] [2025/04/05 06:59:10.493 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:10.495 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:10.497 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.625198ms] ["completed regions"=1] [2025/04/05 06:59:10.497 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:10.499 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:10.501 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.621073ms] ["completed regions"=1] [2025/04/05 06:59:10.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:10.503 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:10.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.282031ms] ["completed regions"=1] [2025/04/05 06:59:10.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:10.506 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:10.508 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.410852ms] ["completed regions"=1] [2025/04/05 06:59:10.508 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:10.510 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:10.511 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.127479ms] ["completed regions"=1] [2025/04/05 06:59:10.512 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:10.513 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:10.515 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=2.906719ms] ["completed regions"=1] [2025/04/05 06:59:10.515 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:10.517 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:10.518 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.816854ms] ["completed regions"=1] [2025/04/05 06:59:10.518 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:10.520 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:10.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.949132ms] ["completed regions"=1] [2025/04/05 06:59:10.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:10.523 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:10.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.733725ms] ["completed regions"=1] [2025/04/05 06:59:10.524 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:10.526 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:10.527 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.783063ms] ["completed regions"=1] [2025/04/05 06:59:10.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:10.529 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:10.531 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.737731ms] ["completed regions"=1] [2025/04/05 06:59:10.531 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:10.532 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:10.534 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.708157ms] ["completed regions"=1] [2025/04/05 06:59:10.534 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:10.535 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:10.537 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.82158ms] ["completed regions"=1] [2025/04/05 06:59:10.537 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:10.538 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:10.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.642147ms] ["completed regions"=1] [2025/04/05 06:59:10.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:10.541 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:10.543 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.617148ms] ["completed regions"=1] [2025/04/05 06:59:10.543 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:10.545 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:10.546 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.524597ms] ["completed regions"=1] [2025/04/05 06:59:10.546 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:10.547 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:10.549 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.48308ms] ["completed regions"=1] [2025/04/05 06:59:10.549 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:10.550 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:10.552 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.703811ms] ["completed regions"=1] [2025/04/05 06:59:10.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:10.553 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:10.555 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.403289ms] ["completed regions"=1] [2025/04/05 06:59:10.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:10.556 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:10.557 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.466447ms] ["completed regions"=1] [2025/04/05 06:59:10.558 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:10.559 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:10.560 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.267214ms] ["completed regions"=1] [2025/04/05 06:59:10.560 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:10.561 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:10.563 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:10.564 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:10.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.849777ms] ["completed regions"=3] [2025/04/05 06:59:10.572 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=180] [2025/04/05 06:59:10.578 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.579 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:10.582 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:10.586 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:10.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=7.084304ms] ["completed regions"=1] [2025/04/05 06:59:10.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:10.590 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:10.591 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:10.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.780394ms] ["completed regions"=1] [2025/04/05 06:59:10.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:10.595 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:10.596 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:10.596 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.514849ms] ["completed regions"=1] [2025/04/05 06:59:10.596 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:10.599 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:10.601 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:10.601 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.488746ms] ["completed regions"=1] [2025/04/05 06:59:10.601 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:10.604 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:10.606 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:10.606 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.549594ms] ["completed regions"=1] [2025/04/05 06:59:10.606 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:10.609 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:10.610 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:10.610 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.123022ms] ["completed regions"=1] [2025/04/05 06:59:10.610 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:10.613 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:10.615 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:10.615 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.435618ms] ["completed regions"=1] [2025/04/05 06:59:10.615 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:10.618 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:10.620 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:10.620 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.389116ms] ["completed regions"=1] [2025/04/05 06:59:10.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:10.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:10.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:10.624 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.208427ms] ["completed regions"=1] [2025/04/05 06:59:10.624 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:10.627 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:10.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:10.629 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.32316ms] ["completed regions"=1] [2025/04/05 06:59:10.629 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:10.632 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:10.634 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:10.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.313815ms] ["completed regions"=1] [2025/04/05 06:59:10.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:10.637 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:10.640 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:10.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=6.042815ms] ["completed regions"=1] [2025/04/05 06:59:10.640 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:10.643 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:10.645 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:10.645 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.343672ms] ["completed regions"=1] [2025/04/05 06:59:10.645 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:10.648 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:10.649 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:10.649 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.156556ms] ["completed regions"=1] [2025/04/05 06:59:10.649 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:10.653 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:10.656 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:10.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=6.980657ms] ["completed regions"=1] [2025/04/05 06:59:10.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:10.660 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:10.661 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:10.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.551897ms] ["completed regions"=1] [2025/04/05 06:59:10.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:10.664 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:10.666 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:10.666 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.500619ms] ["completed regions"=1] [2025/04/05 06:59:10.666 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:10.669 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:10.671 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:10.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=4.010163ms] ["completed regions"=1] [2025/04/05 06:59:10.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:10.673 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:10.675 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:10.675 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=4.223112ms] ["completed regions"=1] [2025/04/05 06:59:10.675 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:10.678 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:10.679 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:10.679 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.787821ms] ["completed regions"=1] [2025/04/05 06:59:10.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:10.682 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:10.683 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:10.684 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.704338ms] ["completed regions"=1] [2025/04/05 06:59:10.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:10.686 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:10.688 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:10.688 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.750287ms] ["completed regions"=1] [2025/04/05 06:59:10.688 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:10.690 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:10.691 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:10.691 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.558848ms] ["completed regions"=1] [2025/04/05 06:59:10.692 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:10.694 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:10.695 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:10.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.525463ms] ["completed regions"=1] [2025/04/05 06:59:10.695 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:10.697 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:10.699 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:10.699 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.365063ms] ["completed regions"=1] [2025/04/05 06:59:10.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:10.701 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:10.703 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:10.703 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.404853ms] ["completed regions"=1] [2025/04/05 06:59:10.703 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:10.705 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:10.706 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:10.706 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.300377ms] ["completed regions"=1] [2025/04/05 06:59:10.706 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:10.708 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:10.710 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:10.710 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.193522ms] ["completed regions"=1] [2025/04/05 06:59:10.710 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:10.712 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:10.714 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:10.714 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.707523ms] ["completed regions"=1] [2025/04/05 06:59:10.714 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:10.716 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:10.718 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:10.718 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.773317ms] ["completed regions"=1] [2025/04/05 06:59:10.718 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:10.720 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:10.721 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:10.721 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.006755ms] ["completed regions"=1] [2025/04/05 06:59:10.721 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:10.723 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:10.725 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:10.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.115934ms] ["completed regions"=1] [2025/04/05 06:59:10.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:10.726 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:10.728 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:10.728 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.094659ms] ["completed regions"=1] [2025/04/05 06:59:10.728 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:10.730 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:10.731 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:10.731 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.798661ms] ["completed regions"=1] [2025/04/05 06:59:10.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:10.733 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:10.734 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:10.734 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.856573ms] ["completed regions"=1] [2025/04/05 06:59:10.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:10.736 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:10.737 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:10.738 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.694429ms] ["completed regions"=1] [2025/04/05 06:59:10.738 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:10.739 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:10.740 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:10.741 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.716451ms] ["completed regions"=1] [2025/04/05 06:59:10.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:10.742 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:10.743 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:10.744 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.665256ms] ["completed regions"=1] [2025/04/05 06:59:10.744 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:10.745 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:10.747 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:10.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.715424ms] ["completed regions"=1] [2025/04/05 06:59:10.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:10.748 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:10.750 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:10.750 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.678862ms] ["completed regions"=1] [2025/04/05 06:59:10.750 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:10.751 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:10.752 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:10.752 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.499299ms] ["completed regions"=1] [2025/04/05 06:59:10.752 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:10.754 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:10.755 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:10.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.427853ms] ["completed regions"=1] [2025/04/05 06:59:10.755 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:10.756 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:10.758 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:10.759 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:10.761 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:10.761 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.569954ms] ["completed regions"=3] [2025/04/05 06:59:10.761 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:10.777 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:10.859 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=82.588869ms] [2025/04/05 06:59:10.859 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:10.863 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=171] [2025/04/05 06:59:10.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=171] ["take time"=89.950907ms] [job="ID:180, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.939 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=180] [conn=20] [job="ID:180, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.214 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 06:59:10.952 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.73043336\n# Parse_time: 0.00006472\n# Compile_time: 0.000271854\n# Rewrite_time: 0.000003157\n# Optimize_time: 0.000895238\n# Wait_TS: 0.000580204\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:59:09.765000';"] [2025/04/05 06:59:10.968 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:10.968 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [] [2025/04/05 06:59:10.968 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.968 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:10.968 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=77.061µs] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=47.249µs] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=34.935µs] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=31.389µs] [2025/04/05 06:59:10.968 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=28.16µs] [2025/04/05 06:59:10.968 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.968 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.970 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:10.970 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:10.971 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0b0817e2-4133-40d0-860d-b0771498f304] ["take time"=3.874716ms] [2025/04/05 06:59:10.971 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.972 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:10.972 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/66c8d874-1e74-4774-8c77-6199293a1428] [watcherID=84674261-1277-4359-b509-712b91087b4d] [2025/04/05 06:59:10.972 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:10.972 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/66c8d874-1e74-4774-8c77-6199293a1428] [2025/04/05 06:59:10.972 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [ttl-worker=task-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [originalCount=4] [newCount=0] [2025/04/05 06:59:10.972 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.972 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.972 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.972 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.972 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [ttl-worker=task-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [originalCount=4] [newCount=0] [2025/04/05 06:59:10.974 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.974 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.975 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.975 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.977 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.977 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=867] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:10.978 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:10.978 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.979 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:10.979 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:10.979 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:10.979 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:10.978 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:10.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:10.978 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.978 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [2025/04/05 06:59:10.979 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.979 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:10.979 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [2025/04/05 06:59:10.979 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:10.979 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:10.979 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:10.979 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:10.979 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:10.981 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:10.981 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:10.981 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:10.982 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:10.982 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:10.982 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:10.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:10.982 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=06fb3981-e1b6-4a51-a980-46bff095b886] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:10.982 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:10.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:10.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:10.984 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [error="context canceled"] [2025/04/05 06:59:10.984 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [2025/04/05 06:59:11.001 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:11.001 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:11.045 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0b0817e2-4133-40d0-860d-b0771498f304] [error="context canceled"] [2025/04/05 06:59:11.045 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:11.045 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:11.058 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.074522ms] [2025/04/05 06:59:11.061 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:11.061 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:11.061 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:11.061 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:11.061 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:11.061 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:11.061 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:11.061 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:11.061 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:11.061 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:11.061 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:11.061 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:11.062 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackPartitionTable (2.88s) === NAME === RUN TestFlashbackTmpTable [2025/04/05 06:59:11.070 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:11.071 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:11.072 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:11.073 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:11.073 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:11.073 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:11.073 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:11.073 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:11.073 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:11.073 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:11.074 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:11.077 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:11.083 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:11.083 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:11.084 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:11.097 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:11.109 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:11.147 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=441] ["lease id"=22319604bcfac630] [2025/04/05 06:59:11.148 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:11.239 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=171] ["elapsed time"=88.333557ms] [2025/04/05 06:59:11.240 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:11.242 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:11.247 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=55ae67a3-3f1c-48a1-a13d-30000fb353de] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:11.247 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:11.249 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.250 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:11.250 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266014269440/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:11.251 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:11.251 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:11.251 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [2025/04/05 06:59:11.253 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac3c8] [ownerID=55ae67a3-3f1c-48a1-a13d-30000fb353de] [op=none] [2025/04/05 06:59:11.253 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.253 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcfac3c8] [currRev=855] [2025/04/05 06:59:11.253 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:11.254 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:11.254 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:11.255 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcfac52c] [ownerID=cfd4088c-45db-4683-95e5-e7295ac7b818] [op=none] [2025/04/05 06:59:11.255 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [2025/04/05 06:59:11.255 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [ownerKey=/tidb/br-stream/owner/6f189604bcfac52c] [currRev=856] [2025/04/05 06:59:11.255 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcfac3c8] [ownerID=55ae67a3-3f1c-48a1-a13d-30000fb353de] [op=none] [2025/04/05 06:59:11.255 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [op=none] [2025/04/05 06:59:11.255 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:11.263 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.264 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:11.264 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:11.274 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:11.281 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:11.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:11.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:11.289 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:11.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:11.289 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:11.289 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:11.289 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:11.289 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:11.290 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:11.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:11.291 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:11.292 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:11.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:11.293 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:11.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:11.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:11.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:11.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:11.295 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:11.295 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcfac63a] [ownerID=55ae67a3-3f1c-48a1-a13d-30000fb353de] [op=none] [2025/04/05 06:59:11.296 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.296 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ownerKey=/tidb/stats/owner/22319604bcfac63a] [currRev=858] [2025/04/05 06:59:11.298 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/86a5a6f0-e9b9-451d-8aae-dd122d27a528] [2025/04/05 06:59:11.298 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ttl-worker=task-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [originalCount=0] [newCount=4] [2025/04/05 06:59:11.298 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ttl-worker=task-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [originalCount=0] [newCount=4] [2025/04/05 06:59:11.298 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:11.299 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:11.299 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:11.299 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:11.299 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836351300002006 [2025/04/05 06:59:11.304 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:11.312 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.81821ms] [2025/04/05 06:59:11.312 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:11.312 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:11.315 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:11.317 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=171] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:11.330 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:11.330 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:11.336 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.312148ms] [gotSchemaVersion=172] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:11.358 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=172] [2025/04/05 06:59:11.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=172] ["take time"=9.747414ms] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.369 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.386 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.399728ms] [gotSchemaVersion=173] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:11.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=173] [2025/04/05 06:59:11.391 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=173] ["take time"=9.086896ms] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.399 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.406 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 171, Old Table Name: t)"] [2025/04/05 06:59:11.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.139037ms] [gotSchemaVersion=174] [phyTblIDs="[171,172,173,174]"] [actionTypes="[4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:11.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=174] [2025/04/05 06:59:11.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=174] ["take time"=8.265772ms] [job="ID:181, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.435 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[172,173,174]"] [comment="drop table: partition table IDs"] [2025/04/05 06:59:11.444 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=181] [tableIDs="[171]"] [comment="drop table: table ID"] [2025/04/05 06:59:11.449 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=181] [jobType="drop table"] [2025/04/05 06:59:11.450 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=21] [job="ID:181, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:11.315 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.470 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 06:59:11.470 +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: 1743836351470912777 [2025/04/05 06:59:11.490 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:11.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=174] [cur_db=test] [sql="create temporary table t(a int)"] [user=] [2025/04/05 06:59:12.261 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:12.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:12.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:12.261 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:12.298 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:12.298 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:12.298 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/86a5a6f0-e9b9-451d-8aae-dd122d27a528] [watcherID=09de631c-f8eb-42d4-a273-5aab90ccbf67] [2025/04/05 06:59:12.299 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:12.511 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:12.465 +0000 UTC"] [2025/04/05 06:59:12.523 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:12.523 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:12.465000'"] [2025/04/05 06:59:12.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.536 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/05 06:59:12.543 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.622 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=150ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:59:12.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=140.638µs] [gotSchemaVersion=175] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:12.655 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=175] [2025/04/05 06:59:12.657 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=175] ["take time"=7.653361ms] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.666 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:12.702 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:12.704 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.135961ms] ["completed regions"=1] [2025/04/05 06:59:12.704 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:12.708 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:12.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.670408ms] ["completed regions"=1] [2025/04/05 06:59:12.710 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:12.713 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:12.715 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.576626ms] ["completed regions"=1] [2025/04/05 06:59:12.715 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:12.718 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:12.720 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.789933ms] ["completed regions"=1] [2025/04/05 06:59:12.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:12.723 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:12.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.324009ms] ["completed regions"=1] [2025/04/05 06:59:12.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:12.728 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:12.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.304459ms] ["completed regions"=1] [2025/04/05 06:59:12.730 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:12.733 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:12.735 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.623025ms] ["completed regions"=1] [2025/04/05 06:59:12.735 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:12.738 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:12.739 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.297505ms] ["completed regions"=1] [2025/04/05 06:59:12.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:12.743 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:12.744 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.17362ms] ["completed regions"=1] [2025/04/05 06:59:12.744 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:12.747 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:12.748 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.013849ms] ["completed regions"=1] [2025/04/05 06:59:12.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:12.752 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:12.753 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.2221ms] ["completed regions"=1] [2025/04/05 06:59:12.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:12.756 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:12.757 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=3.962386ms] ["completed regions"=1] [2025/04/05 06:59:12.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:12.760 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:12.762 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.941355ms] ["completed regions"=1] [2025/04/05 06:59:12.762 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:12.765 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:12.766 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.898292ms] ["completed regions"=1] [2025/04/05 06:59:12.766 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:12.769 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:12.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.054124ms] ["completed regions"=1] [2025/04/05 06:59:12.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:12.773 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:12.775 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.810417ms] ["completed regions"=1] [2025/04/05 06:59:12.775 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:12.778 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:12.779 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.67038ms] ["completed regions"=1] [2025/04/05 06:59:12.779 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:12.782 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:12.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.767144ms] ["completed regions"=1] [2025/04/05 06:59:12.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:12.786 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:12.787 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.729258ms] ["completed regions"=1] [2025/04/05 06:59:12.788 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:12.790 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:12.791 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.362103ms] ["completed regions"=1] [2025/04/05 06:59:12.791 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:12.794 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:12.795 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.434523ms] ["completed regions"=1] [2025/04/05 06:59:12.795 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:12.798 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:12.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.458196ms] ["completed regions"=1] [2025/04/05 06:59:12.799 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:12.801 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:12.803 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.331187ms] ["completed regions"=1] [2025/04/05 06:59:12.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:12.805 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:12.807 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.57657ms] ["completed regions"=1] [2025/04/05 06:59:12.807 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:12.809 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:12.811 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.548817ms] ["completed regions"=1] [2025/04/05 06:59:12.811 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:12.813 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:12.815 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.341467ms] ["completed regions"=1] [2025/04/05 06:59:12.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:12.817 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:12.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.118861ms] ["completed regions"=1] [2025/04/05 06:59:12.818 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:12.820 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:12.822 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.227159ms] ["completed regions"=1] [2025/04/05 06:59:12.822 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:12.824 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:12.825 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.880055ms] ["completed regions"=1] [2025/04/05 06:59:12.825 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:12.827 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:12.828 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=2.823938ms] ["completed regions"=1] [2025/04/05 06:59:12.828 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:12.830 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:12.831 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.670542ms] ["completed regions"=1] [2025/04/05 06:59:12.831 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:12.833 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:12.834 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.683829ms] ["completed regions"=1] [2025/04/05 06:59:12.834 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:12.836 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:12.837 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.670514ms] ["completed regions"=1] [2025/04/05 06:59:12.837 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:12.839 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:12.840 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.52578ms] ["completed regions"=1] [2025/04/05 06:59:12.840 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:12.842 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:12.843 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.670243ms] ["completed regions"=1] [2025/04/05 06:59:12.844 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:12.845 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:12.847 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.693222ms] ["completed regions"=1] [2025/04/05 06:59:12.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:12.848 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:12.850 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.637709ms] ["completed regions"=1] [2025/04/05 06:59:12.850 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:12.851 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:12.853 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.469715ms] ["completed regions"=1] [2025/04/05 06:59:12.853 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:12.854 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:12.855 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.319051ms] ["completed regions"=1] [2025/04/05 06:59:12.855 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:12.857 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:12.858 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.495629ms] ["completed regions"=1] [2025/04/05 06:59:12.858 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:12.859 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:12.861 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.214784ms] ["completed regions"=1] [2025/04/05 06:59:12.861 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:12.862 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:12.863 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.036437ms] ["completed regions"=1] [2025/04/05 06:59:12.863 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:12.864 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:12.866 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:12.867 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:12.869 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.031784ms] ["completed regions"=3] [2025/04/05 06:59:12.875 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=183] [2025/04/05 06:59:12.881 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.882 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:12.886 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:12.888 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:12.888 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.673262ms] ["completed regions"=1] [2025/04/05 06:59:12.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:12.892 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:12.894 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:12.894 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.894155ms] ["completed regions"=1] [2025/04/05 06:59:12.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:12.897 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:12.899 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:12.899 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.603909ms] ["completed regions"=1] [2025/04/05 06:59:12.899 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:12.902 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:12.904 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:12.904 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.610565ms] ["completed regions"=1] [2025/04/05 06:59:12.904 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:12.907 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:12.909 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:12.909 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.738191ms] ["completed regions"=1] [2025/04/05 06:59:12.909 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:12.912 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:12.914 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:12.914 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.465966ms] ["completed regions"=1] [2025/04/05 06:59:12.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:12.917 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:12.918 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:12.919 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.425168ms] ["completed regions"=1] [2025/04/05 06:59:12.919 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:12.921 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:12.923 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:12.923 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.290382ms] ["completed regions"=1] [2025/04/05 06:59:12.923 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:12.926 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:12.928 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:12.928 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.280634ms] ["completed regions"=1] [2025/04/05 06:59:12.928 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:12.931 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:12.932 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:12.932 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.192096ms] ["completed regions"=1] [2025/04/05 06:59:12.932 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:12.935 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:12.937 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:12.937 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=3.997943ms] ["completed regions"=1] [2025/04/05 06:59:12.937 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:12.939 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:12.941 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:12.941 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.162201ms] ["completed regions"=1] [2025/04/05 06:59:12.941 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:12.944 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:12.945 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:12.946 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.099216ms] ["completed regions"=1] [2025/04/05 06:59:12.946 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:12.948 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:12.950 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:12.950 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.016017ms] ["completed regions"=1] [2025/04/05 06:59:12.950 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:12.953 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:12.954 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:12.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.951436ms] ["completed regions"=1] [2025/04/05 06:59:12.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:12.957 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:12.959 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:12.959 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.969258ms] ["completed regions"=1] [2025/04/05 06:59:12.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:12.962 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:12.963 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:12.963 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=4.18835ms] ["completed regions"=1] [2025/04/05 06:59:12.963 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:12.966 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:12.967 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:12.968 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.972205ms] ["completed regions"=1] [2025/04/05 06:59:12.968 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:12.970 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:12.972 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:12.972 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.728977ms] ["completed regions"=1] [2025/04/05 06:59:12.972 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:12.974 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:12.976 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:12.976 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.817427ms] ["completed regions"=1] [2025/04/05 06:59:12.976 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:12.980 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:12.982 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:12.982 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=5.908059ms] ["completed regions"=1] [2025/04/05 06:59:12.982 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:12.985 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:12.986 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:12.986 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.90223ms] ["completed regions"=1] [2025/04/05 06:59:12.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:12.989 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:12.991 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:12.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.871402ms] ["completed regions"=1] [2025/04/05 06:59:12.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:12.993 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:12.995 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:12.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.645784ms] ["completed regions"=1] [2025/04/05 06:59:12.995 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:12.997 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:12.999 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:12.999 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.667763ms] ["completed regions"=1] [2025/04/05 06:59:12.999 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:13.001 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:13.002 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:13.003 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.374292ms] ["completed regions"=1] [2025/04/05 06:59:13.003 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:13.005 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:13.006 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:13.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.271206ms] ["completed regions"=1] [2025/04/05 06:59:13.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:13.008 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:13.010 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:13.010 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.256201ms] ["completed regions"=1] [2025/04/05 06:59:13.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:13.012 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:13.013 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:13.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.177186ms] ["completed regions"=1] [2025/04/05 06:59:13.014 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:13.015 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:13.017 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:13.017 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.176909ms] ["completed regions"=1] [2025/04/05 06:59:13.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:13.019 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:13.021 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:13.021 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.186897ms] ["completed regions"=1] [2025/04/05 06:59:13.021 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:13.022 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:13.024 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:13.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.123913ms] ["completed regions"=1] [2025/04/05 06:59:13.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:13.026 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:13.027 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:13.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.991359ms] ["completed regions"=1] [2025/04/05 06:59:13.028 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:13.029 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:13.031 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:13.031 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.9452ms] ["completed regions"=1] [2025/04/05 06:59:13.031 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:13.032 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:13.034 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:13.034 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.94778ms] ["completed regions"=1] [2025/04/05 06:59:13.034 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:13.036 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:13.037 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:13.038 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=3.158141ms] ["completed regions"=1] [2025/04/05 06:59:13.038 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:13.039 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:13.041 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:13.041 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=3.226983ms] ["completed regions"=1] [2025/04/05 06:59:13.041 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:13.043 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:13.045 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:13.045 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.906865ms] ["completed regions"=1] [2025/04/05 06:59:13.045 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:13.046 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:13.048 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:13.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.703038ms] ["completed regions"=1] [2025/04/05 06:59:13.048 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:13.049 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:13.051 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:13.051 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.720801ms] ["completed regions"=1] [2025/04/05 06:59:13.051 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:13.052 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:13.054 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:13.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.591326ms] ["completed regions"=1] [2025/04/05 06:59:13.054 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:13.055 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:13.057 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:13.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.655676ms] ["completed regions"=1] [2025/04/05 06:59:13.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:13.058 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:13.060 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:13.061 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:13.063 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:13.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.873211ms] ["completed regions"=3] [2025/04/05 06:59:13.063 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:13.080 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:13.163 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=84.037186ms] [2025/04/05 06:59:13.164 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:13.167 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=176] [2025/04/05 06:59:13.169 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=91.96867ms] [job="ID:183, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.248 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=22] [job="ID:183, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.515 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.250 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:13.262 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 06:59:13.263 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.75212224\n# Parse_time: 0.000070122\n# Compile_time: 0.000300547\n# Rewrite_time: 0.000003728\n# Optimize_time: 0.000098656\n# Wait_TS: 0.000357445\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:59:12.465000';"] [2025/04/05 06:59:14.268 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=176] [cur_db=test] [sql="drop table t"] [user=] [2025/04/05 06:59:14.269 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:14.264 +0000 UTC"] [2025/04/05 06:59:14.283 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:14.283 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:14.264000'"] [2025/04/05 06:59:14.288 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.294 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/05 06:59:14.296 +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/05 06:59:14.298 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=1] [2025/04/05 06:59:14.301 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=126] [indexID=1] [2025/04/05 06:59:14.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.304 +00:00] [WARN] [read.go:817] ["Histogram not found, possibly due to DDL event is not handled, please consider analyze the table"] [category=stats] [tableID=120] [indexID=2] [2025/04/05 06:59:14.408 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=153.956µs] [gotSchemaVersion=177] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:14.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=177] [2025/04/05 06:59:14.413 +00:00] [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.450078ms] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.422 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.424 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:14.428 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:14.429 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.262875ms] ["completed regions"=1] [2025/04/05 06:59:14.429 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:14.433 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:14.435 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.900078ms] ["completed regions"=1] [2025/04/05 06:59:14.435 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:14.439 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:14.440 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=5.180417ms] ["completed regions"=1] [2025/04/05 06:59:14.440 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:14.444 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:14.446 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.765239ms] ["completed regions"=1] [2025/04/05 06:59:14.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:14.449 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:14.451 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=5.04692ms] ["completed regions"=1] [2025/04/05 06:59:14.451 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:14.454 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:14.456 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.51378ms] ["completed regions"=1] [2025/04/05 06:59:14.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:14.459 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:14.462 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=5.142859ms] ["completed regions"=1] [2025/04/05 06:59:14.462 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:14.465 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:14.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.67107ms] ["completed regions"=1] [2025/04/05 06:59:14.467 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:14.470 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:14.472 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.269763ms] ["completed regions"=1] [2025/04/05 06:59:14.472 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:14.475 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:14.476 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.098114ms] ["completed regions"=1] [2025/04/05 06:59:14.476 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:14.479 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:14.481 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.397102ms] ["completed regions"=1] [2025/04/05 06:59:14.481 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:14.484 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:14.486 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.229595ms] ["completed regions"=1] [2025/04/05 06:59:14.486 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:14.489 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:14.490 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.86674ms] ["completed regions"=1] [2025/04/05 06:59:14.490 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:14.493 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:14.494 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.984647ms] ["completed regions"=1] [2025/04/05 06:59:14.495 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:14.497 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:14.499 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.06001ms] ["completed regions"=1] [2025/04/05 06:59:14.499 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:14.502 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:14.504 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=4.313721ms] ["completed regions"=1] [2025/04/05 06:59:14.504 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:14.507 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:14.508 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.936545ms] ["completed regions"=1] [2025/04/05 06:59:14.508 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:14.511 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:14.513 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.917731ms] ["completed regions"=1] [2025/04/05 06:59:14.513 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:14.515 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:14.517 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.584243ms] ["completed regions"=1] [2025/04/05 06:59:14.517 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:14.519 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:14.521 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.868554ms] ["completed regions"=1] [2025/04/05 06:59:14.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:14.523 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:14.525 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.613338ms] ["completed regions"=1] [2025/04/05 06:59:14.525 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:14.527 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:14.529 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.439105ms] ["completed regions"=1] [2025/04/05 06:59:14.529 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:14.531 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:14.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.38968ms] ["completed regions"=1] [2025/04/05 06:59:14.533 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:14.535 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:14.536 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.232105ms] ["completed regions"=1] [2025/04/05 06:59:14.536 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:14.538 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:14.540 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.486958ms] ["completed regions"=1] [2025/04/05 06:59:14.540 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:14.542 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:14.544 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.369181ms] ["completed regions"=1] [2025/04/05 06:59:14.544 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:14.546 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:14.548 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.57255ms] ["completed regions"=1] [2025/04/05 06:59:14.548 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:14.550 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:14.551 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.153864ms] ["completed regions"=1] [2025/04/05 06:59:14.552 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:14.553 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:14.555 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=2.887174ms] ["completed regions"=1] [2025/04/05 06:59:14.555 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:14.557 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:14.558 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.119204ms] ["completed regions"=1] [2025/04/05 06:59:14.558 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:14.560 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:14.562 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.132032ms] ["completed regions"=1] [2025/04/05 06:59:14.562 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:14.564 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:14.565 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.845887ms] ["completed regions"=1] [2025/04/05 06:59:14.565 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:14.567 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:14.568 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.751099ms] ["completed regions"=1] [2025/04/05 06:59:14.568 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:14.570 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:14.571 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.77931ms] ["completed regions"=1] [2025/04/05 06:59:14.571 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:14.573 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:14.574 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.667276ms] ["completed regions"=1] [2025/04/05 06:59:14.575 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:14.576 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:14.577 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.487915ms] ["completed regions"=1] [2025/04/05 06:59:14.577 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:14.579 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:14.580 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.667395ms] ["completed regions"=1] [2025/04/05 06:59:14.580 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:14.582 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:14.583 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.409062ms] ["completed regions"=1] [2025/04/05 06:59:14.583 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:14.585 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:14.586 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.360837ms] ["completed regions"=1] [2025/04/05 06:59:14.586 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:14.587 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:14.589 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.308855ms] ["completed regions"=1] [2025/04/05 06:59:14.589 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:14.590 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:14.591 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.202149ms] ["completed regions"=1] [2025/04/05 06:59:14.591 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:14.592 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:14.594 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.418942ms] ["completed regions"=1] [2025/04/05 06:59:14.594 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:14.595 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:14.597 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:14.598 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:14.599 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=4.925958ms] ["completed regions"=3] [2025/04/05 06:59:14.606 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=184] [2025/04/05 06:59:14.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:14.617 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:14.619 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:14.619 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=5.966118ms] ["completed regions"=1] [2025/04/05 06:59:14.620 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:14.623 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:14.624 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:14.625 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=4.695611ms] ["completed regions"=1] [2025/04/05 06:59:14.625 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:14.628 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:14.629 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:14.630 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.612593ms] ["completed regions"=1] [2025/04/05 06:59:14.630 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:14.633 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:14.634 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:14.634 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.389213ms] ["completed regions"=1] [2025/04/05 06:59:14.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:14.637 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:14.639 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:14.639 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.348141ms] ["completed regions"=1] [2025/04/05 06:59:14.639 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:14.642 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:14.644 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:14.644 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.338501ms] ["completed regions"=1] [2025/04/05 06:59:14.644 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:14.647 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:14.648 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:14.648 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.409162ms] ["completed regions"=1] [2025/04/05 06:59:14.648 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:14.651 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:14.653 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:14.653 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=3.947287ms] ["completed regions"=1] [2025/04/05 06:59:14.653 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:14.656 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:14.657 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:14.657 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.159652ms] ["completed regions"=1] [2025/04/05 06:59:14.657 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:14.661 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:14.662 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:14.662 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.620846ms] ["completed regions"=1] [2025/04/05 06:59:14.662 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:14.665 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:14.667 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:14.667 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.149675ms] ["completed regions"=1] [2025/04/05 06:59:14.667 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:14.670 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:14.671 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:14.671 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.029102ms] ["completed regions"=1] [2025/04/05 06:59:14.671 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:14.674 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:14.676 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:14.676 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=4.305963ms] ["completed regions"=1] [2025/04/05 06:59:14.676 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:14.679 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:14.680 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:14.680 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.052491ms] ["completed regions"=1] [2025/04/05 06:59:14.680 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:14.683 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:14.684 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:14.684 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.653139ms] ["completed regions"=1] [2025/04/05 06:59:14.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:14.687 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:14.688 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:14.688 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.615174ms] ["completed regions"=1] [2025/04/05 06:59:14.688 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:14.691 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:14.693 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:14.693 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.885076ms] ["completed regions"=1] [2025/04/05 06:59:14.693 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:14.695 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:14.696 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:14.696 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.511859ms] ["completed regions"=1] [2025/04/05 06:59:14.696 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:14.699 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:14.700 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:14.701 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.827397ms] ["completed regions"=1] [2025/04/05 06:59:14.701 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:14.703 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:14.704 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:14.704 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.532232ms] ["completed regions"=1] [2025/04/05 06:59:14.705 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:14.707 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:14.708 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:14.708 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.45118ms] ["completed regions"=1] [2025/04/05 06:59:14.708 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:14.711 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:14.712 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:14.712 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.672041ms] ["completed regions"=1] [2025/04/05 06:59:14.712 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:14.715 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:14.717 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:14.717 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=4.083863ms] ["completed regions"=1] [2025/04/05 06:59:14.717 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:14.719 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:14.721 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:14.721 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.880886ms] ["completed regions"=1] [2025/04/05 06:59:14.721 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:14.723 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:14.725 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:14.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.167325ms] ["completed regions"=1] [2025/04/05 06:59:14.725 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:14.727 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:14.729 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:14.729 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.721199ms] ["completed regions"=1] [2025/04/05 06:59:14.729 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:14.731 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:14.732 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:14.732 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.152732ms] ["completed regions"=1] [2025/04/05 06:59:14.733 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:14.735 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:14.736 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:14.736 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.200348ms] ["completed regions"=1] [2025/04/05 06:59:14.736 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:14.738 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:14.740 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:14.740 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.285338ms] ["completed regions"=1] [2025/04/05 06:59:14.740 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:14.742 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:14.743 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:14.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.166449ms] ["completed regions"=1] [2025/04/05 06:59:14.743 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:14.745 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:14.747 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:14.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.282134ms] ["completed regions"=1] [2025/04/05 06:59:14.747 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:14.749 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:14.751 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:14.751 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.205852ms] ["completed regions"=1] [2025/04/05 06:59:14.751 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:14.752 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:14.754 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:14.754 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.056552ms] ["completed regions"=1] [2025/04/05 06:59:14.754 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:14.756 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:14.757 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:14.758 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=3.105989ms] ["completed regions"=1] [2025/04/05 06:59:14.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:14.760 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:14.761 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:14.761 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=3.223592ms] ["completed regions"=1] [2025/04/05 06:59:14.761 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:14.763 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:14.764 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:14.764 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.878331ms] ["completed regions"=1] [2025/04/05 06:59:14.765 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:14.766 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:14.768 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:14.768 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.888867ms] ["completed regions"=1] [2025/04/05 06:59:14.768 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:14.769 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:14.771 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:14.771 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.672516ms] ["completed regions"=1] [2025/04/05 06:59:14.771 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:14.772 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:14.774 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:14.774 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.621966ms] ["completed regions"=1] [2025/04/05 06:59:14.774 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:14.775 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:14.777 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:14.777 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.770694ms] ["completed regions"=1] [2025/04/05 06:59:14.777 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:14.778 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:14.780 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:14.780 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.643112ms] ["completed regions"=1] [2025/04/05 06:59:14.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:14.781 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:14.783 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:14.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.573408ms] ["completed regions"=1] [2025/04/05 06:59:14.783 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:14.784 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:14.786 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:14.788 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:14.789 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:14.789 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.771145ms] ["completed regions"=3] [2025/04/05 06:59:14.789 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:14.805 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:14.890 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=85.274655ms] [2025/04/05 06:59:14.891 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:14.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=178] [2025/04/05 06:59:14.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=178] ["take time"=93.0281ms] [job="ID:184, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.961 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=184] [conn=22] [job="ID:184, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.264 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/05 06:59:14.978 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 22\n# Query_time: 0.709058994\n# Parse_time: 0.000070837\n# Compile_time: 0.00028098\n# Rewrite_time: 0.0000027\n# Optimize_time: 0.001582309\n# Wait_TS: 0.000489346\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nflashback cluster to timestamp '2025-04-05 06:59:14.264000';"] [2025/04/05 06:59:14.978 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustGetErrCode\n\tpkg/testkit/testkit.go:508\ntests/realtikvtest/flashbacktest/flashbacktest_test.TestFlashbackTmpTable\n\ttests/realtikvtest/flashbacktest/flashback_test.go:528\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="select * from t"] [2025/04/05 06:59:14.978 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [] [2025/04/05 06:59:14.978 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:14.979 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.979 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:14.979 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:14.979 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:14.979 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=70.844µs] [2025/04/05 06:59:14.979 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=46.859µs] [2025/04/05 06:59:14.979 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=41.795µs] [2025/04/05 06:59:14.979 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.979 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.980 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:14.981 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:14.982 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=55ae67a3-3f1c-48a1-a13d-30000fb353de] ["take time"=4.045232ms] [2025/04/05 06:59:14.983 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.983 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:14.983 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/86a5a6f0-e9b9-451d-8aae-dd122d27a528] [watcherID=09de631c-f8eb-42d4-a273-5aab90ccbf67] [2025/04/05 06:59:14.983 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:14.983 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/86a5a6f0-e9b9-451d-8aae-dd122d27a528] [2025/04/05 06:59:14.983 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ttl-worker=task-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [originalCount=4] [newCount=0] [2025/04/05 06:59:14.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:14.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:14.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:14.983 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:14.983 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [ttl-worker=task-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [originalCount=4] [newCount=0] [2025/04/05 06:59:14.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:14.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:14.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:14.986 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:14.988 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.988 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=441] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:14.990 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:14.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:14.991 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:14.991 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:14.990 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:14.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:14.990 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:14.990 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:14.990 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:14.990 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:14.991 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.991 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:14.991 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:14.991 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:14.991 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:14.991 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:14.993 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:14.993 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:14.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:14.993 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:14.993 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:14.994 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cfd4088c-45db-4683-95e5-e7295ac7b818] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:14.994 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:14.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:14.994 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:14.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:14.994 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:14.994 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:14.994 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:14.995 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [error="context canceled"] [2025/04/05 06:59:14.995 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [2025/04/05 06:59:14.995 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [error="context canceled"] [2025/04/05 06:59:14.996 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=55ae67a3-3f1c-48a1-a13d-30000fb353de] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:15.051 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:15.051 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:15.062 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.017407ms] [2025/04/05 06:59:15.066 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:15.066 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:15.066 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:15.066 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:15.066 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:15.066 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:15.066 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:15.066 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:15.066 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:15.066 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:15.066 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:15.066 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:15.067 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackTmpTable (4.01s) === NAME === RUN TestFlashbackInProcessErrorMsg [2025/04/05 06:59:15.076 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:15.077 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2382] [old-leader=] [2025/04/05 06:59:15.078 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719525490241490] [2025/04/05 06:59:15.078 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:15.079 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2382] [2025/04/05 06:59:15.079 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:15.079 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:15.079 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:15.079 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:15.079 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:15.080 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:15.084 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:15.089 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.090 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.091 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.104 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719525490241490] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:15.115 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:15.150 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1530] ["lease id"=3eaa9604bcfac3f2] [2025/04/05 06:59:15.152 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:15.242 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=87.386918ms] [2025/04/05 06:59:15.242 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:15.245 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:15.250 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=73762f83-4e16-4ab7-b26b-5cb635226aaa] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:15.250 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:15.252 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.254 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:15.254 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 266014433280/468329922560, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:15.254 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:15.254 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [2025/04/05 06:59:15.256 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac554] [ownerID=73762f83-4e16-4ab7-b26b-5cb635226aaa] [op=none] [2025/04/05 06:59:15.256 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.257 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ownerKey=/tidb/ddl/fg/owner/6f189604bcfac554] [currRev=911] [2025/04/05 06:59:15.257 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:15.257 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:15.258 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:15.258 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcfac65f] [ownerID=b801c36b-8325-4d7f-b665-e14f8c408e8f] [op=none] [2025/04/05 06:59:15.258 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [2025/04/05 06:59:15.258 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [ownerKey=/tidb/br-stream/owner/22319604bcfac65f] [currRev=912] [2025/04/05 06:59:15.259 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcfac554] [ownerID=73762f83-4e16-4ab7-b26b-5cb635226aaa] [op=none] [2025/04/05 06:59:15.259 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [op=none] [2025/04/05 06:59:15.259 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:15.265 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.266 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:15.266 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:15.275 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:15.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:15.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:15.291 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:15.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:15.292 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:15.292 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:15.292 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:15.292 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:15.292 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:15.293 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:15.293 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:15.294 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:15.294 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:15.295 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:15.296 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=436.2GiB] [2025/04/05 06:59:15.297 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcfac3fd] [ownerID=73762f83-4e16-4ab7-b26b-5cb635226aaa] [op=none] [2025/04/05 06:59:15.297 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.297 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ownerKey=/tidb/stats/owner/3eaa9604bcfac3fd] [currRev=914] [2025/04/05 06:59:15.299 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8f45b0d0-b996-47b9-94af-c3b780036a24] [2025/04/05 06:59:15.299 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ttl-worker=task-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [originalCount=0] [newCount=4] [2025/04/05 06:59:15.299 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ttl-worker=task-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [originalCount=0] [newCount=4] [2025/04/05 06:59:15.299 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:15.300 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:15.300 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:15.301 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836355301241812 [2025/04/05 06:59:15.301 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:15.307 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:15.316 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:15.318 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.245999ms] [2025/04/05 06:59:15.318 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:15.318 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:15.338 +00:00] [INFO] [set.go:172] ["set global var"] [conn=23] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836355339963893 [2025/04/05 06:59:15.355 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=178] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:59:15.370 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.370 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(a int)"] [2025/04/05 06:59:15.376 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.381 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 185, Table Name: t)"] [2025/04/05 06:59:15.397 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.526892ms] [gotSchemaVersion=179] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:15.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=179] [2025/04/05 06:59:15.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=179] ["take time"=9.359125ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=186] [conn=24] [job="ID:186, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.314 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.428 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/05 06:59:15.428 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=179] [cur_db=test] [sql="create table t(a int)"] [user=] [2025/04/05 06:59:16.265 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:16.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:16.265 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:16.265 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:16.299 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:16.299 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:16.300 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8f45b0d0-b996-47b9-94af-c3b780036a24] [watcherID=187f5a19-9e02-4a7d-8c8b-ed2a37b595c9] [2025/04/05 06:59:16.301 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:16.306 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:16.306 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:16.306 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:16.306 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:16.431 +00:00] [INFO] [executor.go:5057] ["initialize reorg meta"] [category=ddl] [jobSchema=test] [jobTable=t] [jobType="add index"] [enableDistTask=true] [enableFastReorg=true] [targetScope=] [maxNodeCount=3] [concurrency=4] [batchSize=256] [2025/04/05 06:59:16.444 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0; "] [fast_create=true] [2025/04/05 06:59:16.444 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [query="alter table t add index k(a)"] [2025/04/05 06:59:16.450 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.451 +00:00] [INFO] [index.go:720] ["[ddl] run add index job"] [category=ddl] [job="ID:187, Type:add index, State:running, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [indexInfo="{\"id\":1,\"idx_name\":{\"O\":\"k\",\"L\":\"k\"},\"tbl_name\":{\"O\":\"\",\"L\":\"\"},\"idx_cols\":[{\"name\":{\"O\":\"a\",\"L\":\"a\"},\"offset\":0,\"length\":-1}],\"state\":0,\"backfill_state\":0,\"comment\":\"\",\"index_type\":1,\"is_unique\":false,\"is_primary\":false,\"is_invisible\":false,\"is_global\":false,\"mv_index\":false,\"vector_index\":null}"] [2025/04/05 06:59:16.469 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.700953ms] [gotSchemaVersion=180] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.472 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=180] [2025/04/05 06:59:16.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=180] ["take time"=9.494993ms] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:delete only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.502 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.668996ms] [gotSchemaVersion=181] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.505 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=181] [2025/04/05 06:59:16.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=181] ["take time"=8.790544ms] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.516 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write only, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.534 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.614007ms] [gotSchemaVersion=182] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.537 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=182] [2025/04/05 06:59:16.539 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=182] ["take time"=8.969861ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.548 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.551 +00:00] [INFO] [index.go:1382] ["table is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/05 06:59:16.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.512109ms] [gotSchemaVersion=183] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=183] [2025/04/05 06:59:16.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=183] ["take time"=8.802289ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.581 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.582 +00:00] [INFO] [index.go:1399] ["index backfill state ready to merge"] [category=ddl] ["job ID"=187] [table=t] [index=k] [2025/04/05 06:59:16.597 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.534485ms] [gotSchemaVersion=184] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.601 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=184] [2025/04/05 06:59:16.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=184] ["take time"=8.501241ms] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.612 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:running, SchemaState:write reorganization, SchemaID:2, TableID:185, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.614 +00:00] [INFO] [index.go:1418] ["temp index is empty, skipping reorg work"] [category=ddl] [jobID=187] [table=t] [2025/04/05 06:59:16.618 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: add index, Table ID: 185, Table Name: t, Index ID: 1, Index Name: k)"] [2025/04/05 06:59:16.620 +00:00] [INFO] [index.go:1129] ["run add index job done"] [category=ddl] [charset=utf8mb4] [collation=utf8mb4_bin] [2025/04/05 06:59:16.633 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.482826ms] [gotSchemaVersion=185] [phyTblIDs="[185]"] [actionTypes="[7]"] [diffTypes="[\"add index\"]"] [2025/04/05 06:59:16.636 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=185] [2025/04/05 06:59:16.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=185] ["take time"=8.818875ms] [job="ID:187, Type:add index, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.648 +00:00] [INFO] [delete_range.go:448] ["insert into delete-range indices"] [category=ddl] [jobID=187] [tableID=185] [indexIDs="[9223090561878065153]"] [comment="add index: physical table ID(s)"] [2025/04/05 06:59:16.658 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=187] [jobType="add index"] [2025/04/05 06:59:16.659 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=24] [job="ID:187, Type:add index, State:synced, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.414 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2, UniqueWarnings:0"] [2025/04/05 06:59:16.682 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 06:59:16.682 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=24] [schemaVersion=185] [cur_db=test] [sql="alter table t add index k(a)"] [user=] [2025/04/05 06:59:16.690 +00:00] [INFO] [executor.go:1408] ["get flashback cluster job"] [category=ddl] [flashbackTS="2025-04-05 06:59:16.414 +0000 UTC"] [2025/04/05 06:59:16.703 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="flashback cluster to timestamp '2025-04-05 06:59:16.414000'"] [2025/04/05 06:59:16.703 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:16.709 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:queueing, SchemaState:none, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.716 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/05 06:59:16.723 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:delete only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.806 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=500ms] [requiredStaleness=351ms] [prevState=unknown(0)] [newState=adapting] [2025/04/05 06:59:16.841 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=178.13µs] [gotSchemaVersion=186] [phyTblIDs="[-1]"] [actionTypes="[62]"] [diffTypes="[\"flashback cluster\"]"] [2025/04/05 06:59:16.845 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=186] [2025/04/05 06:59:16.847 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=7.679523ms] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.857 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write only, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.888 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:16.892 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:16.895 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.028234ms] ["completed regions"=1] [2025/04/05 06:59:16.895 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:16.899 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:16.901 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.045982ms] ["completed regions"=1] [2025/04/05 06:59:16.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:16.904 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:16.906 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.550512ms] ["completed regions"=1] [2025/04/05 06:59:16.906 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:16.909 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:16.911 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.730326ms] ["completed regions"=1] [2025/04/05 06:59:16.911 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:16.914 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:16.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=4.608515ms] ["completed regions"=1] [2025/04/05 06:59:16.916 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:16.919 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:16.921 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.274169ms] ["completed regions"=1] [2025/04/05 06:59:16.921 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:16.924 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:16.926 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.445501ms] ["completed regions"=1] [2025/04/05 06:59:16.926 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:16.929 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:16.930 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=4.274047ms] ["completed regions"=1] [2025/04/05 06:59:16.930 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:16.933 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:16.935 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.240791ms] ["completed regions"=1] [2025/04/05 06:59:16.935 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:16.938 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:16.940 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.094451ms] ["completed regions"=1] [2025/04/05 06:59:16.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:16.943 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:16.944 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.138993ms] ["completed regions"=1] [2025/04/05 06:59:16.944 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:16.947 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:16.949 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=4.845347ms] ["completed regions"=1] [2025/04/05 06:59:16.949 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:16.952 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:16.954 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.886177ms] ["completed regions"=1] [2025/04/05 06:59:16.954 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:16.957 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:16.958 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=4.000017ms] ["completed regions"=1] [2025/04/05 06:59:16.958 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:16.961 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:16.962 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=3.715335ms] ["completed regions"=1] [2025/04/05 06:59:16.962 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:16.965 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:16.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.707118ms] ["completed regions"=1] [2025/04/05 06:59:16.966 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:16.969 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:16.971 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.926842ms] ["completed regions"=1] [2025/04/05 06:59:16.971 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:16.973 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:16.975 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.718842ms] ["completed regions"=1] [2025/04/05 06:59:16.975 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:16.978 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:16.979 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.873365ms] ["completed regions"=1] [2025/04/05 06:59:16.979 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:16.982 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:16.983 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.731414ms] ["completed regions"=1] [2025/04/05 06:59:16.983 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:16.986 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:16.987 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.411966ms] ["completed regions"=1] [2025/04/05 06:59:16.987 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:16.990 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:16.991 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.436394ms] ["completed regions"=1] [2025/04/05 06:59:16.991 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:16.993 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:16.995 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.325174ms] ["completed regions"=1] [2025/04/05 06:59:16.995 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:16.997 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:16.998 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.212706ms] ["completed regions"=1] [2025/04/05 06:59:16.998 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:17.000 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:17.002 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.182473ms] ["completed regions"=1] [2025/04/05 06:59:17.002 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:17.004 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:17.006 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.500669ms] ["completed regions"=1] [2025/04/05 06:59:17.006 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:17.008 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:17.009 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.152997ms] ["completed regions"=1] [2025/04/05 06:59:17.010 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:17.011 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:17.013 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=2.986116ms] ["completed regions"=1] [2025/04/05 06:59:17.013 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:17.015 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:17.016 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.184822ms] ["completed regions"=1] [2025/04/05 06:59:17.017 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:17.019 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:17.020 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.261808ms] ["completed regions"=1] [2025/04/05 06:59:17.020 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:17.022 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:17.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=2.89852ms] ["completed regions"=1] [2025/04/05 06:59:17.024 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:17.026 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:17.027 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=2.909523ms] ["completed regions"=1] [2025/04/05 06:59:17.027 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:17.029 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:17.030 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=2.807188ms] ["completed regions"=1] [2025/04/05 06:59:17.030 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:17.032 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:17.033 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.784577ms] ["completed regions"=1] [2025/04/05 06:59:17.033 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:17.035 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:17.036 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.674485ms] ["completed regions"=1] [2025/04/05 06:59:17.037 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:17.038 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:17.039 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.612764ms] ["completed regions"=1] [2025/04/05 06:59:17.040 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:17.041 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:17.042 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.543628ms] ["completed regions"=1] [2025/04/05 06:59:17.042 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:17.044 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:17.046 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.674202ms] ["completed regions"=1] [2025/04/05 06:59:17.046 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:17.047 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:17.048 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.588174ms] ["completed regions"=1] [2025/04/05 06:59:17.049 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:17.050 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:17.052 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.552839ms] ["completed regions"=1] [2025/04/05 06:59:17.052 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:17.053 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:17.054 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.360883ms] ["completed regions"=1] [2025/04/05 06:59:17.055 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:17.056 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:17.057 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.086464ms] ["completed regions"=1] [2025/04/05 06:59:17.057 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:17.058 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:17.060 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:17.061 +00:00] [INFO] [cluster.go:496] ["send prepare flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:17.063 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=5.626799ms] ["completed regions"=3] [2025/04/05 06:59:17.070 +00:00] [INFO] [job_worker.go:1084] ["schema version doesn't change"] [category=ddl] [jobID=188] [2025/04/05 06:59:17.078 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:running, SchemaState:write reorganization, SchemaID:0, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.078 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] [concurrency=64] [2025/04/05 06:59:17.082 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=33] [start_key=6d44423a3200000000fb0000000000000068] [end_key=6d44423a3300000000fb0000000000000068] [2025/04/05 06:59:17.085 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=1] ["total regions"=45] [] [2025/04/05 06:59:17.085 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d44423a3200000000fb0000000000000068] [endKey=6d44423a3300000000fb0000000000000068] ["cost time"=6.349292ms] ["completed regions"=1] [2025/04/05 06:59:17.085 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] [concurrency=64] [2025/04/05 06:59:17.089 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=41] [start_key=6d4442730000000000fa0000000000000068] [end_key=6d4442730000000000fa0000000000000069] [2025/04/05 06:59:17.090 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=2] ["total regions"=45] [] [2025/04/05 06:59:17.091 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=6d4442730000000000fa0000000000000068] [endKey=6d4442730000000000fa0000000000000069] ["cost time"=5.025052ms] ["completed regions"=1] [2025/04/05 06:59:17.091 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] [concurrency=64] [2025/04/05 06:59:17.094 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=49] [start_key=748000000000000000] [end_key=748000000000000004] [2025/04/05 06:59:17.095 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=3] ["total regions"=45] [] [2025/04/05 06:59:17.096 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000000] [endKey=748000000000000004] ["cost time"=4.610311ms] ["completed regions"=1] [2025/04/05 06:59:17.096 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] [concurrency=64] [2025/04/05 06:59:17.099 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=57] [start_key=748000000000000005] [end_key=748000000000000006] [2025/04/05 06:59:17.100 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=4] ["total regions"=45] [] [2025/04/05 06:59:17.100 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000005] [endKey=748000000000000006] ["cost time"=4.537087ms] ["completed regions"=1] [2025/04/05 06:59:17.101 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] [concurrency=64] [2025/04/05 06:59:17.104 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=65] [start_key=748000000000000007] [end_key=748000000000000008] [2025/04/05 06:59:17.106 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=5] ["total regions"=45] [] [2025/04/05 06:59:17.106 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000007] [endKey=748000000000000008] ["cost time"=5.009924ms] ["completed regions"=1] [2025/04/05 06:59:17.106 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] [concurrency=64] [2025/04/05 06:59:17.109 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=73] [start_key=748000000000000009] [end_key=74800000000000000a] [2025/04/05 06:59:17.111 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=6] ["total regions"=45] [] [2025/04/05 06:59:17.111 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000009] [endKey=74800000000000000a] ["cost time"=4.498ms] ["completed regions"=1] [2025/04/05 06:59:17.111 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] [concurrency=64] [2025/04/05 06:59:17.114 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=81] [start_key=74800000000000000b] [end_key=74800000000000000c] [2025/04/05 06:59:17.116 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=7] ["total regions"=45] [] [2025/04/05 06:59:17.116 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000b] [endKey=74800000000000000c] ["cost time"=4.504148ms] ["completed regions"=1] [2025/04/05 06:59:17.116 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] [concurrency=64] [2025/04/05 06:59:17.119 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=89] [start_key=74800000000000000d] [end_key=74800000000000000e] [2025/04/05 06:59:17.121 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=8] ["total regions"=45] [] [2025/04/05 06:59:17.121 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000d] [endKey=74800000000000000e] ["cost time"=5.269984ms] ["completed regions"=1] [2025/04/05 06:59:17.121 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] [concurrency=64] [2025/04/05 06:59:17.125 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=97] [start_key=74800000000000000f] [end_key=748000000000000010] [2025/04/05 06:59:17.126 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=9] ["total regions"=45] [] [2025/04/05 06:59:17.126 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000000f] [endKey=748000000000000010] ["cost time"=4.505084ms] ["completed regions"=1] [2025/04/05 06:59:17.126 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] [concurrency=64] [2025/04/05 06:59:17.129 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=105] [start_key=748000000000000011] [end_key=748000000000000012] [2025/04/05 06:59:17.131 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=10] ["total regions"=45] [] [2025/04/05 06:59:17.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000011] [endKey=748000000000000012] ["cost time"=4.401231ms] ["completed regions"=1] [2025/04/05 06:59:17.131 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] [concurrency=64] [2025/04/05 06:59:17.134 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=113] [start_key=748000000000000013] [end_key=748000000000000014] [2025/04/05 06:59:17.136 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=11] ["total regions"=45] [] [2025/04/05 06:59:17.136 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000013] [endKey=748000000000000014] ["cost time"=4.415522ms] ["completed regions"=1] [2025/04/05 06:59:17.136 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] [concurrency=64] [2025/04/05 06:59:17.139 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=121] [start_key=748000000000000015] [end_key=74800000000000001e] [2025/04/05 06:59:17.141 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=12] ["total regions"=45] [] [2025/04/05 06:59:17.141 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000015] [endKey=74800000000000001e] ["cost time"=5.210692ms] ["completed regions"=1] [2025/04/05 06:59:17.142 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] [concurrency=64] [2025/04/05 06:59:17.144 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=129] [start_key=74800000000000001f] [end_key=748000000000000022] [2025/04/05 06:59:17.146 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=13] ["total regions"=45] [] [2025/04/05 06:59:17.146 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000001f] [endKey=748000000000000022] ["cost time"=3.971207ms] ["completed regions"=1] [2025/04/05 06:59:17.146 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] [concurrency=64] [2025/04/05 06:59:17.148 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=137] [start_key=748000000000000023] [end_key=748000000000000024] [2025/04/05 06:59:17.150 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=14] ["total regions"=45] [] [2025/04/05 06:59:17.150 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000023] [endKey=748000000000000024] ["cost time"=3.918951ms] ["completed regions"=1] [2025/04/05 06:59:17.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] [concurrency=64] [2025/04/05 06:59:17.153 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=145] [start_key=748000000000000025] [end_key=748000000000000026] [2025/04/05 06:59:17.155 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=15] ["total regions"=45] [] [2025/04/05 06:59:17.155 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000025] [endKey=748000000000000026] ["cost time"=4.22835ms] ["completed regions"=1] [2025/04/05 06:59:17.155 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] [concurrency=64] [2025/04/05 06:59:17.157 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=153] [start_key=748000000000000027] [end_key=74800000000000002a] [2025/04/05 06:59:17.159 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=16] ["total regions"=45] [] [2025/04/05 06:59:17.159 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000027] [endKey=74800000000000002a] ["cost time"=3.955208ms] ["completed regions"=1] [2025/04/05 06:59:17.159 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] [concurrency=64] [2025/04/05 06:59:17.162 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=161] [start_key=74800000000000002b] [end_key=74800000000000002c] [2025/04/05 06:59:17.163 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=17] ["total regions"=45] [] [2025/04/05 06:59:17.163 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002b] [endKey=74800000000000002c] ["cost time"=3.992946ms] ["completed regions"=1] [2025/04/05 06:59:17.163 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] [concurrency=64] [2025/04/05 06:59:17.166 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=169] [start_key=74800000000000002d] [end_key=748000000000000032] [2025/04/05 06:59:17.167 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=18] ["total regions"=45] [] [2025/04/05 06:59:17.167 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000002d] [endKey=748000000000000032] ["cost time"=3.859923ms] ["completed regions"=1] [2025/04/05 06:59:17.168 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] [concurrency=64] [2025/04/05 06:59:17.170 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=177] [start_key=748000000000000033] [end_key=748000000000000034] [2025/04/05 06:59:17.171 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=19] ["total regions"=45] [] [2025/04/05 06:59:17.172 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000033] [endKey=748000000000000034] ["cost time"=3.768892ms] ["completed regions"=1] [2025/04/05 06:59:17.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] [concurrency=64] [2025/04/05 06:59:17.174 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=185] [start_key=748000000000000035] [end_key=748000000000000036] [2025/04/05 06:59:17.176 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=20] ["total regions"=45] [] [2025/04/05 06:59:17.176 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000035] [endKey=748000000000000036] ["cost time"=3.82261ms] ["completed regions"=1] [2025/04/05 06:59:17.176 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] [concurrency=64] [2025/04/05 06:59:17.178 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=193] [start_key=748000000000000037] [end_key=748000000000000038] [2025/04/05 06:59:17.180 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=21] ["total regions"=45] [] [2025/04/05 06:59:17.180 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000037] [endKey=748000000000000038] ["cost time"=3.558663ms] ["completed regions"=1] [2025/04/05 06:59:17.180 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] [concurrency=64] [2025/04/05 06:59:17.182 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=201] [start_key=748000000000000039] [end_key=74800000000000003a] [2025/04/05 06:59:17.183 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=22] ["total regions"=45] [] [2025/04/05 06:59:17.184 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000039] [endKey=74800000000000003a] ["cost time"=3.498611ms] ["completed regions"=1] [2025/04/05 06:59:17.184 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] [concurrency=64] [2025/04/05 06:59:17.186 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=209] [start_key=74800000000000003b] [end_key=748000000000000040] [2025/04/05 06:59:17.187 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=23] ["total regions"=45] [] [2025/04/05 06:59:17.187 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000003b] [endKey=748000000000000040] ["cost time"=3.474066ms] ["completed regions"=1] [2025/04/05 06:59:17.187 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] [concurrency=64] [2025/04/05 06:59:17.190 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=217] [start_key=748000000000000041] [end_key=748000000000000042] [2025/04/05 06:59:17.192 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=24] ["total regions"=45] [] [2025/04/05 06:59:17.192 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000041] [endKey=748000000000000042] ["cost time"=3.558497ms] ["completed regions"=1] [2025/04/05 06:59:17.192 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] [concurrency=64] [2025/04/05 06:59:17.194 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=225] [start_key=748000000000000043] [end_key=748000000000000046] [2025/04/05 06:59:17.196 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=25] ["total regions"=45] [] [2025/04/05 06:59:17.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000043] [endKey=748000000000000046] ["cost time"=3.276396ms] ["completed regions"=1] [2025/04/05 06:59:17.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] [concurrency=64] [2025/04/05 06:59:17.198 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=233] [start_key=748000000000000047] [end_key=748000000000000048] [2025/04/05 06:59:17.200 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=26] ["total regions"=45] [] [2025/04/05 06:59:17.200 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000047] [endKey=748000000000000048] ["cost time"=3.557713ms] ["completed regions"=1] [2025/04/05 06:59:17.200 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] [concurrency=64] [2025/04/05 06:59:17.202 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=241] [start_key=748000000000000049] [end_key=74800000000000004c] [2025/04/05 06:59:17.203 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=27] ["total regions"=45] [] [2025/04/05 06:59:17.203 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000049] [endKey=74800000000000004c] ["cost time"=3.375229ms] ["completed regions"=1] [2025/04/05 06:59:17.204 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] [concurrency=64] [2025/04/05 06:59:17.206 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=249] [start_key=74800000000000004d] [end_key=74800000000000004e] [2025/04/05 06:59:17.207 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=28] ["total regions"=45] [] [2025/04/05 06:59:17.207 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004d] [endKey=74800000000000004e] ["cost time"=3.443828ms] ["completed regions"=1] [2025/04/05 06:59:17.208 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] [concurrency=64] [2025/04/05 06:59:17.209 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=257] [start_key=74800000000000004f] [end_key=748000000000000050] [2025/04/05 06:59:17.211 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=29] ["total regions"=45] [] [2025/04/05 06:59:17.211 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000004f] [endKey=748000000000000050] ["cost time"=3.234515ms] ["completed regions"=1] [2025/04/05 06:59:17.211 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] [concurrency=64] [2025/04/05 06:59:17.213 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=265] [start_key=748000000000000051] [end_key=748000000000000052] [2025/04/05 06:59:17.215 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=30] ["total regions"=45] [] [2025/04/05 06:59:17.215 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000051] [endKey=748000000000000052] ["cost time"=3.235707ms] ["completed regions"=1] [2025/04/05 06:59:17.215 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] [concurrency=64] [2025/04/05 06:59:17.216 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=273] [start_key=748000000000000053] [end_key=748000000000000054] [2025/04/05 06:59:17.218 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=31] ["total regions"=45] [] [2025/04/05 06:59:17.218 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000053] [endKey=748000000000000054] ["cost time"=3.124141ms] ["completed regions"=1] [2025/04/05 06:59:17.218 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] [concurrency=64] [2025/04/05 06:59:17.220 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=281] [start_key=748000000000000055] [end_key=748000000000000056] [2025/04/05 06:59:17.221 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=32] ["total regions"=45] [] [2025/04/05 06:59:17.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000055] [endKey=748000000000000056] ["cost time"=3.027418ms] ["completed regions"=1] [2025/04/05 06:59:17.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] [concurrency=64] [2025/04/05 06:59:17.223 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=289] [start_key=748000000000000057] [end_key=748000000000000058] [2025/04/05 06:59:17.225 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=33] ["total regions"=45] [] [2025/04/05 06:59:17.225 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000057] [endKey=748000000000000058] ["cost time"=3.000083ms] ["completed regions"=1] [2025/04/05 06:59:17.225 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] [concurrency=64] [2025/04/05 06:59:17.226 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=297] [start_key=748000000000000059] [end_key=74800000000000005a] [2025/04/05 06:59:17.228 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=34] ["total regions"=45] [] [2025/04/05 06:59:17.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000059] [endKey=74800000000000005a] ["cost time"=2.954401ms] ["completed regions"=1] [2025/04/05 06:59:17.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] [concurrency=64] [2025/04/05 06:59:17.230 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=305] [start_key=74800000000000005b] [end_key=74800000000000005c] [2025/04/05 06:59:17.231 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=35] ["total regions"=45] [] [2025/04/05 06:59:17.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005b] [endKey=74800000000000005c] ["cost time"=2.816371ms] ["completed regions"=1] [2025/04/05 06:59:17.231 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] [concurrency=64] [2025/04/05 06:59:17.233 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=313] [start_key=74800000000000005d] [end_key=74800000000000005e] [2025/04/05 06:59:17.235 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=36] ["total regions"=45] [] [2025/04/05 06:59:17.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005d] [endKey=74800000000000005e] ["cost time"=2.822045ms] ["completed regions"=1] [2025/04/05 06:59:17.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] [concurrency=64] [2025/04/05 06:59:17.236 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=321] [start_key=74800000000000005f] [end_key=748000000000000060] [2025/04/05 06:59:17.238 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=37] ["total regions"=45] [] [2025/04/05 06:59:17.238 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000005f] [endKey=748000000000000060] ["cost time"=2.924187ms] ["completed regions"=1] [2025/04/05 06:59:17.238 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] [concurrency=64] [2025/04/05 06:59:17.240 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=329] [start_key=748000000000000061] [end_key=748000000000000062] [2025/04/05 06:59:17.241 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=38] ["total regions"=45] [] [2025/04/05 06:59:17.241 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000061] [endKey=748000000000000062] ["cost time"=2.974263ms] ["completed regions"=1] [2025/04/05 06:59:17.241 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] [concurrency=64] [2025/04/05 06:59:17.243 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=337] [start_key=748000000000000063] [end_key=748000000000000064] [2025/04/05 06:59:17.244 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=39] ["total regions"=45] [] [2025/04/05 06:59:17.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000063] [endKey=748000000000000064] ["cost time"=2.819957ms] ["completed regions"=1] [2025/04/05 06:59:17.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] [concurrency=64] [2025/04/05 06:59:17.246 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=345] [start_key=748000000000000065] [end_key=74800000000000006a] [2025/04/05 06:59:17.247 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=40] ["total regions"=45] [] [2025/04/05 06:59:17.247 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=748000000000000065] [endKey=74800000000000006a] ["cost time"=2.552939ms] ["completed regions"=1] [2025/04/05 06:59:17.247 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] [concurrency=64] [2025/04/05 06:59:17.249 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=353] [start_key=74800000000000006b] [end_key=74800000000000006c] [2025/04/05 06:59:17.250 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=41] ["total regions"=45] [] [2025/04/05 06:59:17.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006b] [endKey=74800000000000006c] ["cost time"=2.538602ms] ["completed regions"=1] [2025/04/05 06:59:17.250 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] [concurrency=64] [2025/04/05 06:59:17.252 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=361] [start_key=74800000000000006d] [end_key=74800000000000006e] [2025/04/05 06:59:17.253 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=42] ["total regions"=45] [] [2025/04/05 06:59:17.253 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006d] [endKey=74800000000000006e] ["cost time"=2.601537ms] ["completed regions"=1] [2025/04/05 06:59:17.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] [concurrency=64] [2025/04/05 06:59:17.254 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:17.255 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=373] [start_key=74800000000000006f] [end_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [2025/04/05 06:59:17.256 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=377] [start_key=7480000000000000785f698000000000000002038000000000000001038000000000000001] [end_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [2025/04/05 06:59:17.258 +00:00] [INFO] [cluster.go:590] ["send flashback request"] [category=ddl] [region_id=369] [start_key=7480000000000000785f69800000000000000203800000000000000303800000000000000300] [end_key=748000fffffffffc17] [2025/04/05 06:59:17.261 +00:00] [INFO] [cluster.go:820] ["flashback cluster stats"] [category=ddl] ["complete regions"=45] ["total regions"=45] [] [2025/04/05 06:59:17.261 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=flashback-to-version-runner] [startKey=74800000000000006f] [endKey=748000fffffffffc17] ["cost time"=7.283422ms] ["completed regions"=3] [2025/04/05 06:59:17.261 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: flashback cluster)"] [2025/04/05 06:59:17.278 +00:00] [ERROR] [domain.go:375] ["failed to load schema diff"] [error="Meets a schema diff with RegenerateSchemaMap flag"] [errorVerbose="Meets a schema diff with RegenerateSchemaMap flag\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).tryLoadSchemaDiffs\n\tpkg/domain/domain.go:652\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:358\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:375\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadSchemaInLoop\n\tpkg/domain/domain.go:1158\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Start.func2\n\tpkg/domain/domain.go:1538\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103"] [2025/04/05 06:59:17.364 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=86.007039ms] [2025/04/05 06:59:17.364 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:17.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=187] [2025/04/05 06:59:17.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=187] ["take time"=93.536159ms] [job="ID:188, Type:flashback cluster, State:done, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.445 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=188] [conn=24] [job="ID:188, Type:flashback cluster, State:synced, SchemaState:public, SchemaID:0, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.664 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.458 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/05 06:59:17.458 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 24\n# Query_time: 0.768644014\n# Parse_time: 0.00008558\n# Compile_time: 0.000280844\n# Rewrite_time: 0.000007028\n# Optimize_time: 0.000081968\n# Wait_TS: 0.000488602\n# DB: test\n# Is_internal: false\n# Digest: af09c17df48245f34604ebcd1fb822f4f2360c5d282fb4cb3aeced6fc3c852fa\n# Mem_max: 8192\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\nflashback cluster to timestamp '2025-04-05 06:59:16.414000';"] [2025/04/05 06:59:17.458 +00:00] [WARN] [job_scheduler.go:653] ["delete versions failed"] [category=ddl] ["job ID"=188] [error="context canceled"] [2025/04/05 06:59:17.458 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [] [2025/04/05 06:59:17.458 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:17.458 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.458 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:17.458 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:17.459 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp add index"] ["take time"=58.132µs] [2025/04/05 06:59:17.459 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:17.459 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=96.53µs] [2025/04/05 06:59:17.459 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=32.718µs] [2025/04/05 06:59:17.459 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.459 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.460 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:17.460 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:17.462 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=73762f83-4e16-4ab7-b26b-5cb635226aaa] ["take time"=3.775787ms] [2025/04/05 06:59:17.462 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.462 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:17.462 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/8f45b0d0-b996-47b9-94af-c3b780036a24] [watcherID=187f5a19-9e02-4a7d-8c8b-ed2a37b595c9] [2025/04/05 06:59:17.462 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:17.462 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8f45b0d0-b996-47b9-94af-c3b780036a24] [2025/04/05 06:59:17.462 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ttl-worker=task-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [originalCount=4] [newCount=0] [2025/04/05 06:59:17.462 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:17.462 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:17.462 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:17.462 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:17.463 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [ttl-worker=task-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [originalCount=4] [newCount=0] [2025/04/05 06:59:17.465 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:17.465 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:17.465 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:17.465 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:17.468 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.468 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1530] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:17.469 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:17.469 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.469 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:17.469 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:17.469 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:17.469 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.470 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.470 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:17.470 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:17.470 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:17.470 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:17.472 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b801c36b-8325-4d7f-b665-e14f8c408e8f] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:17.472 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:17.473 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:17.473 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:17.473 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:17.473 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:17.473 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:17.473 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:17.473 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [error="context canceled"] [2025/04/05 06:59:17.473 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:17.473 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:17.473 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:17.474 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [error="context canceled"] [2025/04/05 06:59:17.474 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [2025/04/05 06:59:17.492 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:17.492 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:17.531 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=73762f83-4e16-4ab7-b26b-5cb635226aaa] [error="context canceled"] [2025/04/05 06:59:17.531 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:17.531 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:17.542 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.971767ms] [2025/04/05 06:59:17.545 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:17.545 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:17.545 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:17.545 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:17.545 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:17.545 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:17.545 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:17.545 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:17.545 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:17.545 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2382-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:17.545 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:17.545 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:17.547 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestFlashbackInProcessErrorMsg (2.48s) === NAME PASS ================================================================================ Target //tests/realtikvtest/flashbacktest:flashbacktest_test up-to-date: bazel-bin/tests/realtikvtest/flashbacktest/flashbacktest_test_/flashbacktest_test INFO: Elapsed time: 86.316s, Critical Path: 68.05s 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.3s PASSED flashbacktest_test.TestFlashback (7.3s) PASSED flashbacktest_test.TestFlashbackAddDropIndex (4.6s) PASSED flashbacktest_test.TestFlashbackAddDropModifyColumn (3.0s) PASSED flashbacktest_test.TestFlashbackAutoID (2.5s) PASSED flashbacktest_test.TestFlashbackBasicRenameDropCreateTable (2.8s) PASSED flashbacktest_test.TestFlashbackCreateDropSchema (2.7s) PASSED flashbacktest_test.TestFlashbackCreateDropTableWithData (2.7s) PASSED flashbacktest_test.TestFlashbackInProcessErrorMsg (2.5s) PASSED flashbacktest_test.TestFlashbackPartitionTable (2.9s) PASSED flashbacktest_test.TestFlashbackSequence (2.6s) PASSED flashbacktest_test.TestFlashbackTmpTable (4.0s) PASSED flashbacktest_test.TestPrepareFlashbackFailed (2.6s) 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,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 41s remote-cache, linux-sandbox [Pipeline] } [Pipeline] // script [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [4,637 / 4,638] Testing //tests/realtikvtest/addindextest2:addindextest2_test; 41s remote-cache, linux-sandbox [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } ./t/ddl/reorg_partition.test: ok! 212 test cases passed, take time 22.137461838 s ./t/ddl/resource_group.test: ok! 16 test cases passed, take time 0.09536247 s ./t/ddl/sequence.test: ok! 268 test cases passed, take time 3.216636446 s ./t/ddl/serial.test: ok! 77 test cases passed, take time 0.898395707 s ./t/ddl/table_modify.test: ok! 47 test cases passed, take time 0.478470317 s ./t/executor/adapter.test: ok! 6 test cases passed, take time 0.021440525 s [4,568 / 4,569] 1 / 1 tests; Testing //tests/realtikvtest/addindextest1:addindextest1_test; 49s 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: 191.320s, Critical Path: 171.97s INFO: 4269 processes: 3837 remote cache hit, 3 internal, 429 linux-sandbox. INFO: Build completed successfully, 4269 total actions //tests/realtikvtest/addindextest1:addindextest1_test PASSED in 49.2s PASSED addindextest1_test.TestAddIndexDistBasic (12.8s) PASSED addindextest1_test.TestAddIndexDistCancel (6.2s) PASSED addindextest1_test.TestAddIndexDistCancelWithPartition (7.2s) PASSED addindextest1_test.TestAddIndexDistCleanUpBlock (7.3s) PASSED addindextest1_test.TestAddIndexDistLockAcquireFailed (3.2s) PASSED addindextest1_test.TestAddIndexDistPauseAndResume (0.0s) PASSED addindextest1_test.TestAddIndexForCurrentTimestampColumn (2.7s) PASSED addindextest1_test.TestAddIndexInvalidDistTaskVariableSetting (0.3s) PASSED addindextest1_test.TestAddIndexScheduleAway (4.8s) PASSED addindextest1_test.TestAddUKErrorMessage (3.3s) Test cases: finished with 10 passing and 0 failing out of 10 test cases Executed 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,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/pessimistictest:pessimistictest_test; 60s 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: 203.794s, Critical Path: 181.82s INFO: 4272 processes: 3817 remote cache hit, 3 internal, 452 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/pessimistictest:pessimistictest_test PASSED in 60.0s 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.1s) 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.5s) 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 (6.2s) 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.3s) PASSED pessimistictest_test.TestPessimisticSerializable (0.4s) PASSED pessimistictest_test.TestPessimisticTxn (1.5s) PASSED pessimistictest_test.TestPessimisticUnionForUpdate (0.1s) PASSED pessimistictest_test.TestPlanCacheSchemaChange (0.2s) PASSED pessimistictest_test.TestPointGetKeyLock (0.0s) PASSED pessimistictest_test.TestPointGetOverflow (0.2s) 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.2s) PASSED pessimistictest_test.TestRCSubQuery (0.2s) PASSED pessimistictest_test.TestRCWaitTSOTwice (0.2s) PASSED pessimistictest_test.TestRollbackWakeupBlockedTxn (0.2s) PASSED pessimistictest_test.TestSelectForUpdateConflictRetry (0.2s) PASSED pessimistictest_test.TestSelectForUpdateNoWait (0.2s) PASSED pessimistictest_test.TestSelectForUpdateWaitSeconds (1.2s) PASSED pessimistictest_test.TestSingleStatementRollback (0.0s) PASSED pessimistictest_test.TestTransactionIsolationAndForeignKey (0.3s) PASSED pessimistictest_test.TestTxnMode (0.2s) PASSED pessimistictest_test.TestTxnWithExpiredPessimisticLocks (0.2s) PASSED pessimistictest_test.TestUseLockCacheInRCMode (0.2s) PASSED pessimistictest_test.TestWaitLockKill (1.2s) Test cases: finished with 80 passing and 0 failing out of 80 test cases Executed 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,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 41s remote-cache, linux-sandbox [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest3:addindextest3_test; 68s 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: 111.646s, Critical Path: 94.53s INFO: 4272 processes: 4256 remote cache hit, 3 internal, 13 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest3:addindextest3_test PASSED in 68.6s PASSED addindextest3_test.TestAddEmptyMultiValueIndex (0.6s) PASSED addindextest3_test.TestAddIndexAdvanceWatermarkFailed (5.1s) PASSED addindextest3_test.TestAddIndexBackfillLostUpdate (2.8s) PASSED addindextest3_test.TestAddIndexDiskQuotaTS (2.6s) PASSED addindextest3_test.TestAddIndexImportFailed (1.9s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorker (0.7s) PASSED addindextest3_test.TestAddIndexIngestAdjustBackfillWorkerCountFail (1.2s) PASSED addindextest3_test.TestAddIndexIngestEmptyTable (0.3s) PASSED addindextest3_test.TestAddIndexIngestFailures (3.4s) PASSED addindextest3_test.TestAddIndexIngestLimitOneBackend (2.7s) PASSED addindextest3_test.TestAddIndexIngestMemoryUsage (0.8s) PASSED addindextest3_test.TestAddIndexIngestRestoredData (0.4s) PASSED addindextest3_test.TestAddIndexIngestUniqueKey (1.0s) PASSED addindextest3_test.TestAddIndexIngestWriterCountOnPartitionTable (5.7s) PASSED addindextest3_test.TestAddIndexLoadTableRangeError (2.0s) PASSED addindextest3_test.TestAddIndexMockFlushError (0.5s) PASSED addindextest3_test.TestAddIndexPresplitFunctional (2.9s) PASSED addindextest3_test.TestAddIndexPresplitIndexRegions (4.2s) PASSED addindextest3_test.TestAddIndexRecoverOnDuplicateCheck (3.3s) PASSED addindextest3_test.TestAddIndexRemoteDuplicateCheck (0.9s) PASSED addindextest3_test.TestAddIndexSplitTableRanges (1.8s) PASSED addindextest3_test.TestAddUniqueIndexDuplicatedError (0.5s) PASSED addindextest3_test.TestBackendCtxConcurrentUnregister (0.3s) PASSED addindextest3_test.TestBackfillOperatorPipeline (0.5s) PASSED addindextest3_test.TestBackfillOperatorPipelineException (0.5s) 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.4s) PASSED addindextest3_test.TestConcFastReorg (1.5s) PASSED addindextest3_test.TestDDLTestEstimateTableRowSize (2.2s) PASSED addindextest3_test.TestFirstLitSlowStart (6.8s) PASSED addindextest3_test.TestIngestMVIndexOnPartitionTable (3.9s) PASSED addindextest3_test.TestIssue55808 (2.4s) PASSED addindextest3_test.TestMockMemoryUsedUp (0.0s) PASSED addindextest3_test.TestTiDBEncodeKeyTempIndexKey (2.7s) PASSED addindextest3_test.TestTuneWorkerPoolSize (0.7s) Test cases: finished with 39 passing and 0 failing out of 39 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/admin.test: ok! 171 test cases passed, take time 27.758493261 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 101s remote-cache, linux-sandbox ./t/executor/aggregate.test: ok! 885 test cases passed, take time 6.695062524 s [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 101s remote-cache, linux-sandbox ./t/executor/analyze.test: ok! 180 test cases passed, take time 13.037712245 s ./t/executor/autoid.test: ok! 458 test cases passed, take time 3.010123915 s ./t/executor/batch_point_get.test: ok! 85 test cases passed, take time 0.472218529 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 101s remote-cache, linux-sandbox ./t/executor/charset.test: ok! 214 test cases passed, take time 1.096437081 s ./t/executor/chunk_reuse.test: ok! 93 test cases passed, take time 0.150458221 s ./t/executor/cluster_table.test: ok! 36 test cases passed, take time 0.143965171 s ./t/executor/compact_table.test: ok! 19 test cases passed, take time 0.12959019 s [4,637 / 4,638] 1 / 1 tests; Testing //tests/realtikvtest/addindextest2:addindextest2_test; 93s 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: 152.713s, Critical Path: 133.50s INFO: 4338 processes: 4311 remote cache hit, 3 internal, 24 linux-sandbox. INFO: Build completed successfully, 4338 total actions //tests/realtikvtest/addindextest2:addindextest2_test PASSED in 93.3s PASSED addindextest2_test.TestAddIndexIngestShowReorgTp (0.8s) PASSED addindextest2_test.TestAlterJobOnDXF (6.5s) PASSED addindextest2_test.TestAlterThreadRightAfterJobFinish (12.0s) PASSED addindextest2_test.TestGlobalSortAddIndexRecoverFromRetryableError (12.5s) PASSED addindextest2_test.TestGlobalSortBasic (9.6s) PASSED addindextest2_test.TestGlobalSortDuplicateErrMsg (4.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange (42.3s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_backfill (2.8s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_backfill (16.0s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/ingest_dist_gs_backfill (21.7s) PASSED addindextest2_test.TestGlobalSortMultiSchemaChange/txn_backfill (1.3s) 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] } [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] { ./t/executor/cte.test: ok! 133 test cases passed, take time 0.825619377 s [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,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 101s remote-cache, linux-sandbox ./t/executor/ddl.test: ok! 359 test cases passed, take time 10.900976286 s ./t/executor/delete.test: ok! 91 test cases passed, take time 0.537814971 s ./t/executor/distsql.test: ok! 61 test cases passed, take time 0.75529078 s 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; 116s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 1s remote-cache, linux-sandbox FAIL: //tests/realtikvtest/txntest:txntest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/txntest/txntest_test/test_attempts/attempt_1.log) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 152s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 8s remote-cache, linux-sandbox [4,750 / 4,751] Testing //tests/realtikvtest/importintotest:importintotest_test; 101s remote-cache, linux-sandbox [4,582 / 4,583] Testing //tests/realtikvtest/brietest:brietest_test; 161s remote-cache, linux-sandbox ./t/executor/executor.test: ok! 1951 test cases passed, take time 25.933026411 s ./t/executor/executor_txn.test: ok! 121 test cases passed, take time 0.218626563 s ./t/executor/expand.test: ok! 71 test cases passed, take time 0.436349216 s ./t/executor/explain.test: ok! 120 test cases passed, take time 0.740947702 s [4,750 / 4,751] 1 / 1 tests; Testing //tests/realtikvtest/importintotest:importintotest_test; 122s remote-cache, linux-sandbox INFO: From Testing //tests/realtikvtest/importintotest:importintotest_test: ==================== Test output for //tests/realtikvtest/importintotest:importintotest_test: === RUN TestImportInto [2025/04/05 06:58:59.026 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:59.026 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:59.027 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:58:59.028 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:59.028 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:59.028 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:59.028 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:59.028 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:59.029 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:59.029 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:59.029 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:59.034 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:59.040 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:59.041 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:59.042 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:59.065 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:59.065 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:59.070 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:59.070 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:59.080 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:59.099 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719518345996787] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:59.120 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:59.158 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1244] ["lease id"=3eaa9604bcf76619] [2025/04/05 06:58:59.160 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:59.166 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Init\n\tpkg/domain/domain.go:1506\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient.func1\n\tpkg/session/tidb.go:104\ngithub.com/pingcap/tidb/pkg/util.RunWithRetry\n\tpkg/util/misc.go:72\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).getWithEtcdClient\n\tpkg/session/tidb.go:91\ngithub.com/pingcap/tidb/pkg/session.(*domainMap).Get\n\tpkg/session/tidb.go:66\ngithub.com/pingcap/tidb/pkg/session.createSessionWithOpt\n\tpkg/session/session.go:3794\ngithub.com/pingcap/tidb/pkg/session.createSession\n\tpkg/session/session.go:3786\ngithub.com/pingcap/tidb/pkg/session.runInBootstrapSession\n\tpkg/session/session.go:3722\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3477\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).SetupSuite\n\ttests/realtikvtest/importintotest/util_test.go:65\ngithub.com/stretchr/testify/suite.Run\n\texternal/com_github_stretchr_testify/suite/suite.go:157\ntests/realtikvtest/importintotest/importintotest_test.TestImportInto\n\ttests/realtikvtest/importintotest/util_test.go:50\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:59.268 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=102.03943ms] [2025/04/05 06:58:59.268 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:59.269 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:59.269 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:59.269 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:59.271 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:58:59.272 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:59.272 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217625604096/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:59.272 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:59.273 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:59.273 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:59.273 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [2025/04/05 06:58:59.274 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:58:59.275 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:58:59.275 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [currRev=102] [2025/04/05 06:58:59.275 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:59.276 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:59.276 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:59.276 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf76614] [ownerID=046ee84f-7e62-4b3e-b550-c77725a64ddd] [op=none] [2025/04/05 06:58:59.276 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [2025/04/05 06:58:59.276 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [ownerKey=/tidb/br-stream/owner/22319604bcf76614] [currRev=103] [2025/04/05 06:58:59.277 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:58:59.277 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:58:59.277 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:59.279 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:59.293 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.293 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:59.299 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.437 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=123.885913ms] [2025/04/05 06:58:59.437 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:59.443 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:59.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=1] ["take time"=133.403201ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.458 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.472 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:59.473 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:59.474 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:59.478 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/05 06:58:59.502 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.502 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:59.511 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.565 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.22461ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.569 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.569 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58:59.570 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=13.615276ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.588 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.619 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:59.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:59.633 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.633 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:59.639 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.208747ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.661 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:59.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=3] ["take time"=9.355723ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.686 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:59.686 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:59.699 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.699 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:59.705 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.723 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=1.938602ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.726 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.726 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:59.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=4] ["take time"=8.312381ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.738 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:59.750 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:59.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:59.777 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.816 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.423517ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.819 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.820 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:59.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=5] ["take time"=11.739736ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.835 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.855 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:59.855 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:59.870 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.870 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:59.876 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.559734ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.902 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:59.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=6] ["take time"=9.169575ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.915 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.930 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:59.930 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:59.944 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:59.944 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:59.950 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.550122ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:59.974 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:59.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:59.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=7] ["take time"=8.825275ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:59.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:59.987 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:59.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.002 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:59:00.002 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:59:00.015 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:59:00.015 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.022 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.040 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.755627ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.043 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:59:00.045 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=8] ["take time"=8.54374ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.055 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.067 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:59:00.067 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:59:00.080 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:59:00.081 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.087 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.92035ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.109 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:59:00.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=9] ["take time"=8.430361ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.120 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:59:00.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:59:00.146 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.146 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:59:00.152 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.118583ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.175 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:59:00.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=10] ["take time"=8.182561ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.186 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.199 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:59:00.199 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:59:00.212 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.212 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:59:00.218 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.237 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.069584ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.240 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.241 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:59:00.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=11] ["take time"=8.648248ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.253 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:59:00.266 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:59:00.267 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:59:00.274 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:00.281 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.281 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:59:00.287 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.314 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.206134ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.317 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:59:00.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=12] ["take time"=9.986437ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.331 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.349 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:59:00.349 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:59:00.365 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:59:00.365 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.370 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.393 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.806813ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.397 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.397 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:59:00.399 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=13] ["take time"=9.619849ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.410 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.425 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:59:00.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:59:00.439 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:59:00.439 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.445 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.464 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.185219ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.467 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.467 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:59:00.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=14] ["take time"=9.000762ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.483 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.497 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:59:00.497 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:59:00.511 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.511 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:59:00.517 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.146434ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.539 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.540 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:59:00.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=15] ["take time"=9.096789ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.552 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.565 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:59:00.566 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:59:00.579 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.579 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:59:00.586 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.108027ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.608 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:59:00.610 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=16] ["take time"=8.659672ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.620 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.633 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:59:00.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:59:00.646 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.646 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:59:00.652 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.670 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.169079ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.674 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.674 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:59:00.676 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=17] ["take time"=8.858774ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.686 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.604 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.699 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:59:00.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:59:00.712 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.712 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:59:00.718 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.127367ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.741 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.741 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:59:00.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=18] ["take time"=8.847235ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.753 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.765 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:59:00.766 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:59:00.782 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.782 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:59:00.788 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=2.968336ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.816 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:59:00.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.405977ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.830 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.846 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:59:00.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:59:00.866 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:59:00.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.891 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.10019ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.895 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:59:00.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=20] ["take time"=9.003749ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.907 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:59:00.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:59:00.933 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.933 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:59:00.938 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.955 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.771648ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:00.958 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:00.958 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:59:00.960 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=21] ["take time"=8.419668ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.970 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:00.982 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:59:00.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:59:00.994 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:00.994 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:59:00.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.488916ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.018 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:59:01.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=22] ["take time"=8.187618ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:00.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.029 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:00.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.035 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:01.040 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:59:01.040 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:59:01.055 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.055 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:59:01.061 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.084 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.583652ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.087 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.087 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:59:01.089 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.490359ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.100 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.114 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:59:01.114 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:59:01.127 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:59:01.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.152 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.059498ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.156 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.156 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:59:01.157 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=24] ["take time"=9.221842ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.169 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:59:01.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:59:01.196 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.196 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:59:01.202 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.227 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.174694ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.231 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.231 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:59:01.233 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=9.252057ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.243 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.256 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:59:01.257 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:59:01.270 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.270 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:59:01.272 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:01.273 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:59:01.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.293 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=1.872995ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.297 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.297 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:59:01.298 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=26] ["take time"=8.636456ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.309 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.321 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:59:01.321 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:59:01.334 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.334 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:59:01.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=1.966597ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.360 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:59:01.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=27] ["take time"=8.354719ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.372 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.384 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:59:01.385 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:59:01.398 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:59:01.398 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.403 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.421 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.805019ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.424 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.425 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:59:01.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=28] ["take time"=8.30574ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.436 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.448 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:59:01.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:59:01.450 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:59:01.463 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.463 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:59:01.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.488 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.27356ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.491 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:59:01.493 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=9.139173ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.504 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.517 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:59:01.518 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:59:01.532 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.531 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:59:01.537 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.558 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.369834ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.561 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.561 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:59:01.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=30] ["take time"=8.821672ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.574 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.587 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:59:01.587 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:59:01.601 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.601 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:59:01.606 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.627 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.295031ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.630 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.630 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:59:01.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=31] ["take time"=8.23692ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.642 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.655 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:59:01.655 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:59:01.673 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.673 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:59:01.679 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.707 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.458791ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.710 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:59:01.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=32] ["take time"=10.110735ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.741 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:59:01.742 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:59:01.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:59:01.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.491447ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.777 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:59:01.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=33] ["take time"=7.854943ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.789 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.799 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:59:01.800 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:59:01.816 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.816 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:59:01.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.844 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.287955ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:59:01.847 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.847 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:59:01.849 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=34] ["take time"=9.354096ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.860 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.874 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:59:01.889 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.889 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:59:01.896 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.916 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.270102ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.920 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:59:01.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=35] ["take time"=9.192963ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.933 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.946 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:59:01.946 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:59:01.959 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:01.959 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:59:01.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:01.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=1.958944ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:01.986 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:01.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:59:01.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=36] ["take time"=8.821213ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:01.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.003 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:01.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.016 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:59:02.016 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:59:02.030 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.030 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:59:02.037 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=2.044145ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.058 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.058 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:59:02.060 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=37] ["take time"=8.672522ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.004 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:59:02.083 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:59:02.099 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.099 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:59:02.106 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.134 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.490996ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.137 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.137 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:59:02.139 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=38] ["take time"=10.245384ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.152 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.169 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:59:02.170 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:59:02.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:59:02.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.205638ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.223 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:59:02.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=39] ["take time"=10.19497ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.237 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:59:02.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:59:02.270 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:59:02.270 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.277 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.306 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.596628ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.309 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:59:02.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=40] ["take time"=10.229368ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.323 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.254 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.341 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:59:02.342 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:59:02.359 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.359 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:59:02.366 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=3.821082ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.400 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:59:02.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=41] ["take time"=11.073236ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.415 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.433 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:59:02.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:59:02.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:59:02.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.779427ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.491 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:59:02.492 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=42] ["take time"=10.617291ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.505 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.404 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.524 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:59:02.524 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:59:02.541 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.541 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:59:02.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.421052ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.579 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.579 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:59:02.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=43] ["take time"=10.384334ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.593 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.610 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:59:02.610 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:59:02.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:59:02.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.656 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.929672ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.659 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.659 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:59:02.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=44] ["take time"=9.832995ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.673 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.688 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:59:02.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:59:02.704 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.704 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:59:02.710 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.851081ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.738 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:59:02.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=45] ["take time"=9.841481ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.654 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.767 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:59:02.767 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:59:02.790 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.790 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:59:02.797 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=4.115375ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.832 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:59: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=46] ["take time"=11.299319ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.846 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.865 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:59:02.865 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:59:02.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:59:02.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.915 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.687428ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.919 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.919 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:59:02.920 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.6196ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.936 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:59:02.952 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:59:02.965 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:02.965 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:59:02.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:02.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.894875ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:02.992 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:02.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:59:02.993 +00:00] [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.502908ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:02.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.003 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:02.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.015 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:59:03.015 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/05 06:59:03.028 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.028 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:59:03.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.051 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.207912ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.055 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.055 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:59:03.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=49] ["take time"=8.787856ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.067 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.079 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:59:03.080 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:59:03.081 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:59:03.093 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.093 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:59:03.098 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.156446ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.121 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:59:03.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=50] ["take time"=9.00989ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.133 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.146 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:59:03.146 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:59:03.157 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.157 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:59:03.163 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.175 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=568.95µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:03.178 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.178 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:59:03.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=51] ["take time"=6.902251ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.188 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.198 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:59:03.198 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:59:03.211 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:59:03.211 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.217 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.235 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.803042ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:59:03.239 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:59:03.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=52] ["take time"=8.390324ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.250 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.262 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:59:03.279 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.279 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:59:03.281 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:03.281 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:03.281 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:03.281 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:03.287 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.313 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.075035ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.316 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:59:03.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=53] ["take time"=9.961628ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.330 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.345 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:59:03.346 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:59:03.359 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.359 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:59:03.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.384 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.277831ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.387 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.387 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:59:03.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=54] ["take time"=9.082802ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.400 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.304 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.413 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:59:03.413 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:59:03.427 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.427 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:59:03.432 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.453 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.328885ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:03.456 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:59:03.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:59:03.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=55] ["take time"=9.316763ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.470 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.484 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:59:03.484 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:59:03.623 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.347528533s] [2025/04/05 06:59:03.625 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:03.625 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:03.626 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.626 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:03.626 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=67.044µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=43.864µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=35.31µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=30.34µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=40.196µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=30.246µs] [2025/04/05 06:59:03.626 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=29.726µs] [2025/04/05 06:59:03.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=34.163µs] [2025/04/05 06:59:03.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=32.418µs] [2025/04/05 06:59:03.627 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=37.868µs] [2025/04/05 06:59:03.627 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.627 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.628 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:03.628 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:03.638 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] ["take time"=12.489354ms] [2025/04/05 06:59:03.638 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1244] [2025/04/05 06:59:03.639 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:03.639 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:03.639 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:03.639 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [2025/04/05 06:59:03.639 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:03.639 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:03.641 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:03.641 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=046ee84f-7e62-4b3e-b550-c77725a64ddd] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.641 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:03.641 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:03.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:03.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:03.641 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:03.641 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:03.646 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=20.258408ms] [2025/04/05 06:59:03.646 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719518345996787] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:03.661 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:03.700 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1981] ["lease id"=6f189604bcf766f7] [2025/04/05 06:59:03.702 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:03.819 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=114.234019ms] [2025/04/05 06:59:03.819 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:03.828 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:03.828 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:03.830 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [lease=3eaa9604bcf7661e] [2025/04/05 06:59:03.830 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:03.830 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 217625665536/940431265792, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:03.830 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:03.830 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:03.831 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.831 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [2025/04/05 06:59:03.832 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:59:03.832 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.832 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [currRev=282] [2025/04/05 06:59:03.833 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:03.833 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.834 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf7668f] [ownerID=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [op=none] [2025/04/05 06:59:03.834 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [2025/04/05 06:59:03.834 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:03.834 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf7668f] [currRev=283] [2025/04/05 06:59:03.834 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf7661e] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:59:03.834 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:59:03.835 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:03.841 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.842 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:03.842 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:03.844 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f189604bcf76700] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:59:03.844 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.844 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [ownerKey=/tidb/bindinfo/owner/6f189604bcf76700] [currRev=284] [2025/04/05 06:59:03.850 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:59:03.852 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:03.853 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:03.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:03.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:03.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:03.866 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:03.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:03.866 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:03.866 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:03.866 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:03.866 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:03.866 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:03.867 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:03.867 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:03.868 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:03.868 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:03.869 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:59:03.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:03.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:03.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:03.869 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:03.870 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf76695] [ownerID=11481896-320b-42d5-9536-a91650f0f0fe] [op=none] [2025/04/05 06:59:03.870 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.870 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [ownerKey=/tidb/stats/owner/3eaa9604bcf76695] [currRev=285] [2025/04/05 06:59:03.870 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=66] [total-mem=32GiB] [total-disk=875.8GiB] [2025/04/05 06:59:03.873 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e24f24ff-02ff-45a1-a8e4-e3bbbe7f6235] [2025/04/05 06:59:03.873 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [ttl-worker=task-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [originalCount=0] [newCount=4] [2025/04/05 06:59:03.873 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [ttl-worker=task-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [originalCount=0] [newCount=4] [2025/04/05 06:59:03.873 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 06:59:03.875 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:03.881 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:03.881 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:03.882 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836343882308079 [2025/04/05 06:59:03.883 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:03.890 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.843788ms] [2025/04/05 06:59:03.890 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:03.890 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:03.900 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836343902493948 === RUN TestImportInto/TestAddIndexBySQL import_into_test.go:1039: enable after we support add-index option --- SKIP: TestImportInto/TestAddIndexBySQL (0.00s) === NAME TestImportInto === RUN TestImportInto/TestAnalyze import_into_test.go:1191: skip for ci now --- SKIP: TestImportInto/TestAnalyze (0.00s) === NAME TestImportInto === RUN TestImportInto/TestBadCases [2025/04/05 06:59:03.907 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=55] [cur_db=] [sql="DROP DATABASE IF EXISTS bad_cases;"] [user=] [2025/04/05 06:59:03.918 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.918 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE bad_cases;"] [2025/04/05 06:59:03.923 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:queueing, SchemaState:none, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.937 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=596.366µs] [gotSchemaVersion=56] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:03.940 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:59:03.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=56] ["take time"=7.373401ms] [job="ID:113, Type:create schema, State:done, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.958 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create schema, State:synced, SchemaState:public, SchemaID:112, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.972 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:59:03.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=] [sql="CREATE DATABASE bad_cases;"] [user=] [2025/04/05 06:59:03.984 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:03.984 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [2025/04/05 06:59:03.990 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:queueing, SchemaState:none, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:03.994 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 114, Table Name: t)"] [2025/04/05 06:59:04.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.658642ms] [gotSchemaVersion=57] [phyTblIDs="[114]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:04.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=115] [version=57] [2025/04/05 06:59:04.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=57] ["take time"=8.410216ms] [job="ID:115, Type:create table, State:done, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:03.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.027 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=115] [conn=2] [job="ID:115, Type:create table, State:synced, SchemaState:public, SchemaID:112, TableID:114, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:03.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:04.038 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=115] [2025/04/05 06:59:04.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="CREATE TABLE bad_cases.t (a INT, b INT, c INT);"] [user=] [2025/04/05 06:59:04.385 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:04.441 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/bad-cases-1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:04.469 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=1] [task-id=1] [data-size=18B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:04.844 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:04.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:04.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:04.873 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:04.873 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:04.873 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e24f24ff-02ff-45a1-a8e4-e3bbbe7f6235] [watcherID=b4874e46-2640-4a23-92f4-44ac01f59977] [2025/04/05 06:59:04.882 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:04.887 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=16] [new=66] [2025/04/05 06:59:04.887 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:04.887 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:04.887 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:04.887 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:04.903 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=1] [2025/04/05 06:59:04.904 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:05.006 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:05.007 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:05.008 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [2025/04/05 06:59:05.016 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:05.019 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:05.019 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 06:59:05.019 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=46.969µs] [2025/04/05 06:59:05.019 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=145.679µs] [] [2025/04/05 06:59:05.020 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=1] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:05.020 +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=33] [subtasks=1] [2025/04/05 06:59:05.055 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=1] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:05.075 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:59:05.075 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:05.076 +00:00] [INFO] [table_import.go:119] ["import dir not exists, create it"] [table=t] [import_dir=/tmp/tidb/import-4000] [2025/04/05 06:59:05.084 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:05.084 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:05.084 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:05.084 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:05.085 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:05.085 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:05.085 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:05.085 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:05.085 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:05.085 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:05.101 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:05.102 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:05.102 +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/05 06:59:05.102 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=1] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:05.103 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=1] [disk-quota=700.7GiB] [2025/04/05 06:59:05.103 +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=33, Mem=16GiB]"] [2025/04/05 06:59:05.110 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [subtaskID=1] [step=import] [2025/04/05 06:59:05.110 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [2025/04/05 06:59:05.113 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=1] [mode=Import] [2025/04/05 06:59:05.115 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:0] [engineUUID=ac11689c-038f-539b-891e-1e76c346ec7c] [2025/04/05 06:59:05.119 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`bad_cases`.`t`:-1] [engineUUID=ad4147a5-8a19-558e-a731-72a1c176fe8f] [2025/04/05 06:59:05.120 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=114] [2025/04/05 06:59:05.120 +00:00] [ERROR] [misc.go:116] ["panic in the recoverable goroutine"] [label=encodeAndSortOperator] [funcInfo=RecoverArgs] [r="failpoint panic: mock panic"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:120\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/util.Recover\n\tpkg/util/misc.go:116\nruntime.gopanic\n\tGOROOT/src/runtime/panic.go:791\ngithub.com/pingcap/failpoint.actPanic\n\texternal/com_github_pingcap_failpoint/terms.go:344\ngithub.com/pingcap/failpoint.(*term).do\n\texternal/com_github_pingcap_failpoint/terms.go:311\ngithub.com/pingcap/failpoint.(*terms).eval\n\texternal/com_github_pingcap_failpoint/terms.go:116\ngithub.com/pingcap/failpoint.(*Failpoint).Eval\n\texternal/com_github_pingcap_failpoint/failpoint.go:129\ngithub.com/pingcap/failpoint.(*Failpoints).Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:231\ngithub.com/pingcap/failpoint.Eval\n\texternal/com_github_pingcap_failpoint/failpoints.go:311\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:57\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 06:59:05.120 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=1] [step=import] [subtask-id=1] [takeTime=9.687915ms] [error="panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:05.120 +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.986262ms] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:05.120 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:05.130 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=1] [task-type=ImportInto] [server-id=:4000] [error="panic occurred during import, please check log"] [errorVerbose="panic occurred during import, please check log\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:203\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:05.135 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=1] [2025/04/05 06:59:05.214 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=1] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]panic occurred during import, please check log\\\"}\"]"] [2025/04/05 06:59:05.235 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=1] [step=import] [2025/04/05 06:59:05.239 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:05.239 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:05.239 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:05.239 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:05.239 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:05.239 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:05.239 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:05.239 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:05.239 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:05.239 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:05.239 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:05.239 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:05.241 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:05.241 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:05.242 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:05.242 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:05.242 +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=33, Mem=16GiB]"] [takeTime=138.943197ms] [] [2025/04/05 06:59:05.242 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=1] [type=ImportInto] [2025/04/05 06:59:05.311 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=1] [step=import] [state=reverting] [error="[0]panic occurred during import, please check log"] [2025/04/05 06:59:05.312 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=1] [step=import] [mode=Normal] [2025/04/05 06:59:05.327 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=1] [2025/04/05 06:59:05.384 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=1] [error="[0]panic occurred during import, please check log"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBadCases\n\ttests/realtikvtest/importintotest/import_into_test.go:1255\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 06:59:05.385 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 1.345805286\n# Parse_time: 0.000174348\n# Compile_time: 0.00048754\n# Rewrite_time: 0.00011076\n# Optimize_time: 0.000077745\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjEuMzRzLCBvcGVuOjY2N25zLCBjbG9zZTo5MjJucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZToxLjM0cywgb3Blbjo2NjducywgY2xvc2U6OTIybnMsIGxvb3BzOjFw//////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.48s) === NAME TestImportInto === RUN TestImportInto/TestBasicImportInto [2025/04/05 06:59:05.387 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=57] [cur_db=] [sql="drop database if exists import_into"] [user=] [2025/04/05 06:59:05.400 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.400 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 06:59:05.405 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:queueing, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.406 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=1] [2025/04/05 06:59:05.412 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:05.412 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=1] [2025/04/05 06:59:05.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=637.79µs] [gotSchemaVersion=58] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:05.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=58] [2025/04/05 06:59:05.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=58] ["take time"=7.655362ms] [job="ID:117, Type:create schema, State:done, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.434 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=117] [conn=2] [job="ID:117, Type:create schema, State:synced, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.443 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:05.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 06:59:05.445 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=] [sql="create database import_into"] [user=] [2025/04/05 06:59:05.447 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=58] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 06:59:05.461 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.461 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:05.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.472 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/05 06:59:05.487 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.741726ms] [gotSchemaVersion=59] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:05.491 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=59] [2025/04/05 06:59:05.493 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=59] ["take time"=8.803776ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.504 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=119] [conn=2] [job="ID:119, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.515 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 06:59:05.516 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=59] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 06:59:05.517 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="COLUMN reference is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="COLUMN reference is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4502\ngithub.com/pingcap/tidb/pkg/parser/ast.(*ColumnNameExpr).Accept\n\tpkg/parser/ast/expressions.go:616\ngithub.com/pingcap/tidb/pkg/parser/ast.(*BinaryOperationExpr).Accept\n\tpkg/parser/ast/expressions.go:219\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:154\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=a+1 FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 06:59:05.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 06:59:05.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.556 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=2.291032ms] [gotSchemaVersion=60] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.559 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=60] [2025/04/05 06:59:05.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=60] ["take time"=9.367245ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.571 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=2.235292ms] [gotSchemaVersion=61] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=61] [2025/04/05 06:59:05.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=61] ["take time"=7.848183ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.599 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:118, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.605 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/05 06:59:05.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.125398ms] [gotSchemaVersion=62] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.621 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=62] [2025/04/05 06:59:05.623 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=62] ["take time"=7.912539ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.632 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/05 06:59:05.641 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/05 06:59:05.642 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=120] [conn=2] [job="ID:120, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.663 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 06:59:05.664 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=62] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 06:59:05.677 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.677 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:05.683 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.688 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/05 06:59:05.704 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=2.171754ms] [gotSchemaVersion=63] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:05.707 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=63] [2025/04/05 06:59:05.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=63] ["take time"=9.330035ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.721 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=122] [conn=2] [job="ID:122, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 06:59:05.733 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=63] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 06:59:05.735 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:167\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=@v FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 06:59:05.736 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="column assignment cannot use variables set outside IMPORT INTO statement, index 0"] [errorVerbose="column assignment cannot use variables set outside IMPORT INTO statement, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4601\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:171\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=getvar('v') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 06:59:05.747 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.748 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t"] [2025/04/05 06:59:05.753 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=2.322171ms] [gotSchemaVersion=64] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.772 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=64] [2025/04/05 06:59:05.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=64] ["take time"=9.087115ms] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.783 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.799 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=2.237417ms] [gotSchemaVersion=65] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=65] [2025/04/05 06:59:05.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=65] ["take time"=9.305034ms] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.813 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:121, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.819 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/05 06:59:05.830 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:05.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.13302ms] [gotSchemaVersion=66] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=123] [version=66] [2025/04/05 06:59:05.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=66] ["take time"=8.25017ms] [job="ID:123, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.847 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=123] [tableIDs="[121]"] [comment="drop table: table ID"] [2025/04/05 06:59:05.851 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=123] [jobType="drop table"] [2025/04/05 06:59:05.852 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=123] [conn=2] [job="ID:123, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=123] [2025/04/05 06:59:05.870 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=66] [cur_db=import_into] [sql="drop table if exists t"] [user=] [2025/04/05 06:59:05.884 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:05.884 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.890 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.894 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 124, Table Name: t)"] [2025/04/05 06:59:05.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=1.732004ms] [gotSchemaVersion=67] [phyTblIDs="[124]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:05.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=125] [version=67] [2025/04/05 06:59:05.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=67] ["take time"=8.709925ms] [job="ID:125, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.927 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=125] [conn=2] [job="ID:125, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.938 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=125] [2025/04/05 06:59:05.938 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=67] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 06:59:05.939 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="subquery is not supported in IMPORT INTO column assignment, index 0"] [errorVerbose="subquery is not supported in IMPORT INTO column assignment, index 0\ngithub.com/pingcap/tidb/pkg/planner/core.(*importIntoCollAssignmentChecker).Leave\n\tpkg/planner/core/planbuilder.go:4505\ngithub.com/pingcap/tidb/pkg/parser/ast.(*SubqueryExpr).Accept\n\tpkg/parser/ast/expressions.go:409\ngithub.com/pingcap/tidb/pkg/planner/core.checkImportIntoColAssignments\n\tpkg/planner/core/planbuilder.go:4485\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildImportInto\n\tpkg/planner/core/planbuilder.go:4584\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:522\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestBasicImportInto\n\ttests/realtikvtest/importintotest/import_into_test.go:178\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="IMPORT INTO t(a, @, c) SET b=(SELECT 'subquery') FROM 'gs://test-multi-load/db.tbl.001.csv?endpoint=http://127.0.0.1:4443/storage/v1/'\n\t\twith thread=1"] [2025/04/05 06:59:05.951 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:05.951 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:05.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=2.284866ms] [gotSchemaVersion=68] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:05.976 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=68] [2025/04/05 06:59:05.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=68] ["take time"=9.380987ms] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:05.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=2.267811ms] [gotSchemaVersion=69] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:06.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=69] [2025/04/05 06:59:06.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=69] ["take time"=9.461035ms] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:124, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 124, Old Table Name: t)"] [2025/04/05 06:59:06.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.171758ms] [gotSchemaVersion=70] [phyTblIDs="[124]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:06.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/05 06:59:06.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=70] ["take time"=7.923095ms] [job="ID:126, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.052 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=126] [tableIDs="[124]"] [comment="drop table: table ID"] [2025/04/05 06:59:06.056 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="drop table"] [2025/04/05 06:59:06.057 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=126] [conn=2] [job="ID:126, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:124, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:05.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.074 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 06:59:06.075 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=70] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:06.088 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:06.088 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:06.095 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:06.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.099 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 127, Table Name: t)"] [2025/04/05 06:59:06.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.677647ms] [gotSchemaVersion=71] [phyTblIDs="[127]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:06.119 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=71] [2025/04/05 06:59:06.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=71] ["take time"=9.292878ms] [job="ID:128, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:06.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.132 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=128] [conn=2] [job="ID:128, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:06.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:06.144 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 06:59:06.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=71] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 06:59:06.150 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:06.198 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:06.218 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=2] [task-id=2] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:06.232 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=2] [2025/04/05 06:59:06.232 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:06.334 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:06.335 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:06.336 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [2025/04/05 06:59:06.344 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:06.347 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:06.347 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:06.347 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=89.024µs] [2025/04/05 06:59:06.347 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=204.031µs] [] [2025/04/05 06:59:06.347 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:06.347 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:06.384 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:06.404 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:59:06.405 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:06.413 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:06.413 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:06.414 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:06.414 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:06.414 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:06.414 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:06.414 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:06.414 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:06.415 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:06.415 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:06.428 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:06.430 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:06.430 +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/05 06:59:06.430 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=2] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:06.430 +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=496.5MiB]"] [2025/04/05 06:59:06.430 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=2] [disk-quota=700.7GiB] [2025/04/05 06:59:06.438 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [2025/04/05 06:59:06.438 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [2025/04/05 06:59:06.441 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=2] [mode=Import] [2025/04/05 06:59:06.442 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:06.446 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:06.446 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:59:06.460 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=2] [2025/04/05 06:59:06.464 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [2025/04/05 06:59:06.466 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.001.csv:0] [readDur=900.127µs] [encodeDur=125.367µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=270.055µs] [type=file] [takeTime=1.641972ms] [] [2025/04/05 06:59:06.467 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:59:06.467 +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/c04dc4e0-ab5e-43f1-b8d8-d479aa38e613.sst] [firstKey=74800000000000007F5F728000000000000001] [lastKey=74800000000000007F5F728000000000000002] [2025/04/05 06:59:06.479 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [2025/04/05 06:59:06.481 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.002.csv:0] [readDur=897.828µs] [encodeDur=211.981µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=223.318µs] [type=file] [takeTime=1.530197ms] [] [2025/04/05 06:59:06.481 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=127] [2025/04/05 06:59:06.481 +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/0c592d0b-73d1-4226-b312-400c312aa06b.sst] [firstKey=74800000000000007F5F728000000000000008] [lastKey=74800000000000007F5F728000000000000009] [2025/04/05 06:59:06.490 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] ./t/executor/explainfor.test: ok! 376 test cases passed, take time 1.325669639 s [2025/04/05 06:59:06.492 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=127] [key=db.tbl.003.csv:0] [readDur=873.686µs] [encodeDur=189.05µs] [checksum="{cksum=14730688775140726438,size=82,kvs=2}"] [deliverDur=212.431µs] [type=file] [takeTime=1.468067ms] [] [2025/04/05 06:59:06.492 +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/c31c9b35-2816-4f11-824e-7cb34186c4b5.sst] [firstKey=74800000000000007F5F72800000000000000F] [lastKey=74800000000000007F5F728000000000000010] [2025/04/05 06:59:06.492 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:59:06.493 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:59:06.493 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:06.494 +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.796543ms] [] [2025/04/05 06:59:06.494 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:06.499 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:06.521 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:06.521 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:06.523 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000007f5f728000000000000001] [endOfAllRanges=74800000000000007f5f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff7f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff7f5f728000000000ff0000110000000000fa] [2025/04/05 06:59:06.535 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:06.537 +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.624085ms] [] [2025/04/05 06:59:06.537 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:06.539 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.286634ms] [] [2025/04/05 06:59:06.539 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=2] [step=import] [engine-id=0] [2025/04/05 06:59:06.539 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:06.540 +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.269069ms] [] [2025/04/05 06:59:06.540 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:06.544 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:06.544 +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.717938ms] [] [2025/04/05 06:59:06.544 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:06.545 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=928.647µs] [] [2025/04/05 06:59:06.545 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=import] [subtask-id=2] [takeTime=106.894396ms] [] [2025/04/05 06:59:06.545 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=2] [step=import] [takeTime=107.055443ms] [] [2025/04/05 06:59:06.639 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:06.640 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:06.641 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:06.641 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:06.670 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:06.672 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=2] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:06.672 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:06.691 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:06.691 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=2] [step=import] [2025/04/05 06:59:06.694 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:06.694 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:06.694 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:06.694 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:06.694 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:06.694 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:06.694 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:06.694 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:06.694 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:06.694 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:06.694 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:06.694 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:06.696 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:06.697 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:06.697 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:06.697 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:06.697 +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=496.5MiB]"] [takeTime=266.521061ms] [] [2025/04/05 06:59:06.697 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:59:06.704 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=2] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:06.723 +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=496.5MiB]"] [2025/04/05 06:59:06.730 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=2] [task-type=ImportInto] [server-id=:4000] [subtaskID=3] [step=post-process] [2025/04/05 06:59:06.730 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 06:59:06.730 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 06:59:06.730 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [2025/04/05 06:59:06.735 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=5.387874ms] [] [2025/04/05 06:59:06.735 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [groupId=-1] [size=246] [kvs=6] [checksum=8184885398518078658] [2025/04/05 06:59:06.735 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [checksum="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/05 06:59:06.736 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [weight=30] [2025/04/05 06:59:06.736 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [concurrency=15] [2025/04/05 06:59:06.738 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=127] [physicalTableID=127] [indexID=-1] [checksum=8184885398518078658] [totalKvs=6] [totalBytes=246] [2025/04/05 06:59:06.738 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:06.738 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [local="{cksum=8184885398518078658,size=246,kvs=6}"] [2025/04/05 06:59:06.738 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=8.084018ms] [] [2025/04/05 06:59:06.738 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=2] [step=post-process] [subtask-id=3] [takeTime=8.242564ms] [] [2025/04/05 06:59:06.738 +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.410653ms] [] [2025/04/05 06:59:06.744 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:06.838 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=2] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:06.838 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=2] [step=post-process] [state=running] [] [2025/04/05 06:59:06.841 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=2] [2025/04/05 06:59:06.855 +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=496.5MiB]"] [takeTime=131.945675ms] [] [2025/04/05 06:59:06.855 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=2] [type=ImportInto] [2025/04/05 06:59:06.871 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 06:59:06.872 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:59:06.934 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=2] [2025/04/05 06:59:06.940 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:06.940 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=2] [2025/04/05 06:59:06.961 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:07.134 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989296088\n# Parse_time: 0.000138493\n# Compile_time: 0.000517901\n# Rewrite_time: 0.000115923\n# Optimize_time: 0.000077745\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OC40bXMsIG9wZW46NzMxbnMsIGNsb3NlOjY1M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OC40bXMsIG9wZW46NzMxbnMsIGNsb3NlOjY1M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:07.148 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:07.148 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:07.153 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.169 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=2.225897ms] [gotSchemaVersion=72] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:07.173 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=72] [2025/04/05 06:59:07.174 +00:00] [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.079538ms] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.184 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=2.27005ms] [gotSchemaVersion=73] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:07.203 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=73] [2025/04/05 06:59:07.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=73] ["take time"=8.992578ms] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:127, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.219 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 127, Old Table Name: t)"] [2025/04/05 06:59:07.232 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.117666ms] [gotSchemaVersion=74] [phyTblIDs="[127]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:07.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=129] [version=74] [2025/04/05 06:59:07.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=74] ["take time"=7.992995ms] [job="ID:129, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.245 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=129] [tableIDs="[127]"] [comment="drop table: table ID"] [2025/04/05 06:59:07.250 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=129] [jobType="drop table"] [2025/04/05 06:59:07.250 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=129] [conn=2] [job="ID:129, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:127, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=129] [2025/04/05 06:59:07.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=74] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:07.280 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:07.280 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 06:59:07.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.290 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 130, Table Name: t)"] [2025/04/05 06:59:07.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.688125ms] [gotSchemaVersion=75] [phyTblIDs="[130]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:07.308 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=131] [version=75] [2025/04/05 06:59:07.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=75] ["take time"=8.447685ms] [job="ID:131, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:07.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.320 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=131] [conn=2] [job="ID:131, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:07.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:07.331 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=131] [2025/04/05 06:59:07.331 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=75] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=] [2025/04/05 06:59:07.337 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:07.384 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:07.402 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=3] [task-id=3] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:07.416 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=3] [2025/04/05 06:59:07.416 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:07.518 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:07.519 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:07.520 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [2025/04/05 06:59:07.528 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:07.530 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:07.530 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:07.531 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=76.978µs] [2025/04/05 06:59:07.531 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=210.036µs] [] [2025/04/05 06:59:07.531 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:07.531 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:07.564 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:07.584 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:59:07.584 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:07.592 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:07.592 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:07.592 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:07.593 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:07.593 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:07.593 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:07.593 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:07.593 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:07.593 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:07.594 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:07.605 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:07.607 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:07.607 +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/05 06:59:07.607 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=3] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:07.607 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=3] [disk-quota=700.7GiB] [2025/04/05 06:59:07.607 +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=496.5MiB]"] [2025/04/05 06:59:07.615 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [2025/04/05 06:59:07.615 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [2025/04/05 06:59:07.619 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:07.622 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:07.622 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 06:59:07.625 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=3] [mode=Import] [2025/04/05 06:59:07.643 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=3] [2025/04/05 06:59:07.660 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [2025/04/05 06:59:07.662 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.001.csv:0] [readDur=877.155µs] [encodeDur=558.416µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=149.568µs] [type=file] [takeTime=1.845971ms] [] [2025/04/05 06:59:07.663 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 06:59:07.663 +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/887f1a5b-8578-40c4-bb48-4dae2cf5cdaa.sst] [firstKey=7480000000000000825F728000000000000001] [lastKey=7480000000000000825F728000000000000002] [2025/04/05 06:59:07.665 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [2025/04/05 06:59:07.667 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.002.csv:0] [readDur=879.259µs] [encodeDur=174.108µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=34.701µs] [type=file] [takeTime=1.318863ms] [] [2025/04/05 06:59:07.667 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=130] [2025/04/05 06:59:07.667 +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/710fcb20-c8b5-4bf7-b41c-dea95be12956.sst] [firstKey=7480000000000000825F728000000000000003] [lastKey=7480000000000000825F728000000000000004] [2025/04/05 06:59:07.670 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [2025/04/05 06:59:07.671 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=130] [key=db.tbl.003.csv:0] [readDur=830.016µs] [encodeDur=555.456µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=28.865µs] [type=file] [takeTime=1.606825ms] [] [2025/04/05 06:59:07.672 +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/e1c9e900-d884-444f-a511-2761d71bd34d.sst] [firstKey=7480000000000000825F728000000000000005] [lastKey=7480000000000000825F728000000000000006] [2025/04/05 06:59:07.672 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:59:07.672 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:59:07.672 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:07.674 +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.790066ms] [] [2025/04/05 06:59:07.674 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:07.679 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:07.701 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 06:59:07.701 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:07.703 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000825f728000000000000001] [endOfAllRanges=7480000000000000825f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff825f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff825f728000000000ff0000070000000000fa] [2025/04/05 06:59:07.714 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 06:59:07.716 +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.275045ms] [] [2025/04/05 06:59:07.716 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:07.717 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.15029ms] [] [2025/04/05 06:59:07.717 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=3] [step=import] [engine-id=0] [2025/04/05 06:59:07.717 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:07.719 +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.467884ms] [] [2025/04/05 06:59:07.719 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:07.722 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:07.722 +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.495092ms] [] [2025/04/05 06:59:07.722 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:07.723 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=924.184µs] [] [2025/04/05 06:59:07.723 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=import] [subtask-id=4] [takeTime=108.418289ms] [] [2025/04/05 06:59:07.723 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=4] [step=import] [takeTime=108.596313ms] [] [2025/04/05 06:59:07.822 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:07.824 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:07.825 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:07.825 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:07.854 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:07.856 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=3] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:07.856 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:07.864 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:07.864 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=3] [step=import] [2025/04/05 06:59:07.867 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:07.867 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:07.867 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:07.867 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:07.867 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:07.867 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:07.867 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:07.867 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:07.867 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:07.867 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:07.867 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:07.867 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:07.869 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:07.869 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:07.869 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:07.869 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:07.870 +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=496.5MiB]"] [takeTime=262.258413ms] [] [2025/04/05 06:59:07.870 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 06:59:07.894 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=3] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:07.914 +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=496.5MiB]"] [2025/04/05 06:59:07.921 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=3] [task-type=ImportInto] [server-id=:4000] [subtaskID=5] [step=post-process] [2025/04/05 06:59:07.921 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 06:59:07.921 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 06:59:07.921 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [2025/04/05 06:59:07.921 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=1.997µs] [] [2025/04/05 06:59:07.921 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:07.921 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:07.921 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [weight=30] [2025/04/05 06:59:07.921 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [concurrency=15] [2025/04/05 06:59:07.923 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=130] [physicalTableID=130] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 06:59:07.923 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:07.923 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:07.923 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.481884ms] [] [2025/04/05 06:59:07.924 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=3] [step=post-process] [subtask-id=5] [takeTime=2.612733ms] [] [2025/04/05 06:59:07.924 +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.754255ms] [] [2025/04/05 06:59:07.930 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:08.023 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=3] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:08.023 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=3] [step=post-process] [state=running] [] [2025/04/05 06:59:08.025 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=3] [2025/04/05 06:59:08.040 +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=496.5MiB]"] [takeTime=126.319552ms] [] [2025/04/05 06:59:08.040 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=3] [type=ImportInto] [2025/04/05 06:59:08.118 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=3] [2025/04/05 06:59:08.123 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:08.123 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=3] [2025/04/05 06:59:08.144 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:08.320 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.98801622\n# Parse_time: 0.000086391\n# Compile_time: 0.00045573\n# Rewrite_time: 0.000095539\n# Optimize_time: 0.000249134\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny4ybXMsIG9wZW46ODExbnMsIGNsb3NlOjgwMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ny4ybXMsIG9wZW46ODExbnMsIGNsb3NlOjgwMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:08.334 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:08.334 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:08.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.356 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=2.205022ms] [gotSchemaVersion=76] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.359 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=76] [2025/04/05 06:59:08.361 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=76] ["take time"=9.294983ms] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.371 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.387 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=2.309654ms] [gotSchemaVersion=77] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.390 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=77] [2025/04/05 06:59:08.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=77] ["take time"=9.732461ms] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.400 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:130, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.407 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 130, Old Table Name: t)"] [2025/04/05 06:59:08.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.051223ms] [gotSchemaVersion=78] [phyTblIDs="[130]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/05 06:59:08.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=78] ["take time"=7.689433ms] [job="ID:132, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.434 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=132] [tableIDs="[130]"] [comment="drop table: table ID"] [2025/04/05 06:59:08.438 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=132] [jobType="drop table"] [2025/04/05 06:59:08.439 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=132] [conn=2] [job="ID:132, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:130, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 06:59:08.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=78] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:08.524 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:08.524 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [2025/04/05 06:59:08.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.535 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 133, Table Name: t)"] [2025/04/05 06:59:08.553 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.94827ms] [gotSchemaVersion=79] [phyTblIDs="[133]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:08.557 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=79] [2025/04/05 06:59:08.559 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=79] ["take time"=10.088852ms] [job="ID:134, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.575 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=134] [conn=2] [job="ID:134, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:08.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.590 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 06:59:08.590 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=79] [cur_db=import_into] [sql="create table t (a bigint primary key, b varchar(100), c int, key(b, a));"] [user=] [2025/04/05 06:59:08.599 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:08.651 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:08.671 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=4] [task-id=4] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:08.685 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=4] [2025/04/05 06:59:08.685 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:08.787 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:08.789 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:08.790 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [2025/04/05 06:59:08.798 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:08.801 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:08.801 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:08.801 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=111.793µs] [2025/04/05 06:59:08.801 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=253.497µs] [] [2025/04/05 06:59:08.801 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:08.801 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:08.835 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=4] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:08.856 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:59:08.856 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:08.875 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:08.875 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:08.878 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:08.878 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:08.878 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:08.878 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:08.878 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:08.879 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:08.881 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:08.881 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:08.895 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=4] [mode=Import] [2025/04/05 06:59:08.898 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:08.900 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:08.900 +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/05 06:59:08.900 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=4] [step=import] [data-buf-limit=186.2MiB] [per-index-buf-limit=62.06MiB] [index-buf-block-size=16MiB] [2025/04/05 06:59:08.900 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=4] [disk-quota=700.7GiB] [2025/04/05 06:59:08.900 +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=496.5MiB]"] [2025/04/05 06:59:08.911 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [2025/04/05 06:59:08.911 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [2025/04/05 06:59:08.917 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=4] [2025/04/05 06:59:08.919 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:08.923 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:08.923 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:59:09.027 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [2025/04/05 06:59:09.029 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.001.csv:0] [readDur=1.092059ms] [encodeDur=654.991µs] [checksum="{cksum=14407722893173523601,size=206,kvs=4}"] [deliverDur=215.15µs] [type=file] [takeTime=2.373258ms] [] [2025/04/05 06:59:09.031 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:59:09.032 +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/9ff67aff-4cbd-459d-97de-8e091f98a2cc.sst] [firstKey=7480000000000000855F728000000000000001] [lastKey=7480000000000000855F728000000000000002] [2025/04/05 06:59:09.108 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [2025/04/05 06:59:09.110 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.002.csv:0] [readDur=990.263µs] [encodeDur=257.23µs] [checksum="{cksum=15782324127249246501,size=206,kvs=4}"] [deliverDur=36.949µs] [type=file] [takeTime=1.661789ms] [] [2025/04/05 06:59:09.112 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=133] [2025/04/05 06:59:09.112 +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/f0e486c2-aabd-4138-aea4-88a5b2abf127.sst] [firstKey=7480000000000000855F728000000000000003] [lastKey=7480000000000000855F728000000000000004] [2025/04/05 06:59:09.174 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [2025/04/05 06:59:09.176 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=133] [key=db.tbl.003.csv:0] [readDur=961.855µs] [encodeDur=225.775µs] [checksum="{cksum=12669308623598711748,size=206,kvs=4}"] [deliverDur=37.027µs] [type=file] [takeTime=1.509825ms] [] [2025/04/05 06:59:09.177 +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/b311ca66-8185-412c-bcd4-57009ee21511.sst] [firstKey=7480000000000000855F728000000000000005] [lastKey=7480000000000000855F728000000000000006] [2025/04/05 06:59:09.178 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:59:09.178 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:59:09.178 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:09.180 +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.104644ms] [] [2025/04/05 06:59:09.180 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:09.185 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:09.206 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 06:59:09.206 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:09.208 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f728000000000000001] [endOfAllRanges=7480000000000000855f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff855f728000000000ff0000070000000000fa] [2025/04/05 06:59:09.220 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 06:59:09.222 +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.717011ms] [] [2025/04/05 06:59:09.222 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:09.223 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.156966ms] [] [2025/04/05 06:59:09.223 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=4] [step=import] [engine-id=0] [2025/04/05 06:59:09.223 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:09.225 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=396] [count=6] [cost=1.489905ms] [file=/tmp/tidb/import-4000/4/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/af4f7854-7d97-43b8-91d4-1aa05f4e665d.sst] [2025/04/05 06:59:09.225 +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/af4f7854-7d97-43b8-91d4-1aa05f4e665d.sst] [firstKey=7480000000000000855F698000000000000001017465737431000000FC038000000000000001038000000000000001] [lastKey=7480000000000000855F698000000000000001017465737436000000FC038000000000000006038000000000000006] [2025/04/05 06:59:09.227 +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.94001ms] [] [2025/04/05 06:59:09.227 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:09.231 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:09.253 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=396] [2025/04/05 06:59:09.253 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:09.255 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000855f698000000000000001017465737431000000fc038000000000000001038000000000000001] [endOfAllRanges=7480000000000000855f698000000000000001017465737436000000fc03800000000000000603800000000000000600] [startKeyOfFirstRegion=7480000000000000ff855f698000000000ff0000010174657374ff31000000fc038000ff0000000000010380ff0000000000000100fe] [endKeyOfLastRegion=7480000000000000ff855f698000000000ff0000010174657374ff36000000fc038000ff0000000000060380ff0000000000000600ff0000000000000000f7] [2025/04/05 06:59:09.265 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=396] [kvs=6] [importedSize=396] [importedCount=6] [2025/04/05 06:59:09.267 +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.053959ms] [] [2025/04/05 06:59:09.267 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:09.268 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.023609ms] [] [2025/04/05 06:59:09.269 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=import] [subtask-id=6] [takeTime=357.144139ms] [] [2025/04/05 06:59:09.269 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=6] [step=import] [takeTime=357.322592ms] [] [2025/04/05 06:59:09.292 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:09.294 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:09.295 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:09.295 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:09.327 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:09.328 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=4] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:09.328 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:09.358 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:09.367 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=4] [step=import] [2025/04/05 06:59:09.372 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:09.372 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:09.372 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:09.372 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:09.372 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:09.372 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:09.372 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:09.372 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:09.372 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:09.372 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:09.372 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:09.372 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:09.374 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:09.374 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:09.374 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:09.374 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:09.374 +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=496.5MiB]"] [takeTime=473.890092ms] [] [2025/04/05 06:59:09.376 +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=496.5MiB]"] [2025/04/05 06:59:09.384 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=4] [task-type=ImportInto] [server-id=:4000] [subtaskID=7] [step=post-process] [2025/04/05 06:59:09.384 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 06:59:09.384 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 06:59:09.384 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [2025/04/05 06:59:09.384 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=1.944µs] [] [2025/04/05 06:59:09.384 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:09.384 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [groupId=1] [size=396] [kvs=6] [checksum=12171121870781005272] [2025/04/05 06:59:09.384 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [checksum="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/05 06:59:09.384 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [weight=30] [2025/04/05 06:59:09.384 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [concurrency=15] [2025/04/05 06:59:09.391 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 06:59:09.392 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=133] [physicalTableID=133] [indexID=1] [checksum=12171121870781005272] [totalKvs=6] [totalBytes=396] [2025/04/05 06:59:09.393 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:09.393 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [local="{cksum=12909280944061374064,size=618,kvs=12}"] [2025/04/05 06:59:09.393 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=8.547123ms] [] [2025/04/05 06:59:09.393 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=4] [step=post-process] [subtask-id=7] [takeTime=8.679277ms] [] [2025/04/05 06:59:09.393 +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.798574ms] [] [2025/04/05 06:59:09.400 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:09.492 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=4] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:09.493 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=4] [step=post-process] [state=running] [] [2025/04/05 06:59:09.496 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=4] [2025/04/05 06:59:09.512 +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=496.5MiB]"] [takeTime=136.353664ms] [] [2025/04/05 06:59:09.512 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=4] [type=ImportInto] [2025/04/05 06:59:09.587 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=4] [2025/04/05 06:59:09.590 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.999254405\n# Parse_time: 0.000140177\n# Compile_time: 0.00092138\n# Rewrite_time: 0.000213768\n# Optimize_time: 0.000262187\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny43bXMsIG9wZW46OTU4bnMsIGNsb3NlOjgyMm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny43bXMsIG9wZW46OTU4bnMsIGNsb3NlOjgyMm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:09.596 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:09.596 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=4] [2025/04/05 06:59:09.608 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.608 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:09.614 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.619 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:09.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=2.541674ms] [gotSchemaVersion=80] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.634 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=80] [2025/04/05 06:59:09.636 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=9.484017ms] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.645 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=2.588655ms] [gotSchemaVersion=81] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=81] [2025/04/05 06:59:09.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=81] ["take time"=9.610138ms] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.675 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:133, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 133, Old Table Name: t)"] [2025/04/05 06:59:09.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.216435ms] [gotSchemaVersion=82] [phyTblIDs="[133]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.700 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=135] [version=82] [2025/04/05 06:59:09.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=82] ["take time"=8.470741ms] [job="ID:135, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.711 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=135] [tableIDs="[133]"] [comment="drop table: table ID"] [2025/04/05 06:59:09.716 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=135] [jobType="drop table"] [2025/04/05 06:59:09.717 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=135] [conn=2] [job="ID:135, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:133, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.735 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=135] [2025/04/05 06:59:09.735 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=82] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:09.749 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.749 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [2025/04/05 06:59:09.755 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.760 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 136, Table Name: t)"] [2025/04/05 06:59:09.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.853029ms] [gotSchemaVersion=83] [phyTblIDs="[136]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:09.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=137] [version=83] [2025/04/05 06:59:09.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=83] ["take time"=9.230905ms] [job="ID:137, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=137] [conn=2] [job="ID:137, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:09.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=137] [2025/04/05 06:59:09.806 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=83] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int);"] [user=] [2025/04/05 06:59:09.812 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:09.863 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:09.884 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=5] [task-id=5] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:09.900 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=5] [2025/04/05 06:59:09.900 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:10.003 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:10.004 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:10.005 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [2025/04/05 06:59:10.013 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:10.016 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:10.016 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:10.016 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=118.437µs] [2025/04/05 06:59:10.016 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=296.834µs] [] [2025/04/05 06:59:10.017 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:10.017 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:10.055 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=5] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:10.076 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:59:10.076 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:10.084 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:10.085 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:10.085 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:10.085 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:10.085 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:10.085 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:10.085 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:10.086 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:10.086 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:10.086 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:10.100 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:10.101 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:10.102 +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/05 06:59:10.102 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=5] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:10.102 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=5] [disk-quota=700.7GiB] [2025/04/05 06:59:10.102 +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=496.5MiB]"] [2025/04/05 06:59:10.108 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=5] [mode=Import] [2025/04/05 06:59:10.110 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [2025/04/05 06:59:10.110 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [2025/04/05 06:59:10.114 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:10.118 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:10.119 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 06:59:10.130 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=5] [2025/04/05 06:59:10.269 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [2025/04/05 06:59:10.271 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.001.csv:0] [readDur=1.025633ms] [encodeDur=210.028µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=466.306µs] [type=file] [takeTime=2.047797ms] [] [2025/04/05 06:59:10.272 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 06:59:10.272 +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/5650881e-3573-45e2-a2d8-806ee4a5f0f0.sst] [firstKey=7480000000000000885F728000000000000001] [lastKey=7480000000000000885F728000000000000002] [2025/04/05 06:59:10.322 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [2025/04/05 06:59:10.324 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.002.csv:0] [readDur=986.421µs] [encodeDur=545.613µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=25.845µs] [type=file] [takeTime=1.932391ms] [] [2025/04/05 06:59:10.325 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=136] [2025/04/05 06:59:10.325 +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/4575ee7e-975a-4c72-b50c-5540b58dc85b.sst] [firstKey=7480000000000000885F728000000000000003] [lastKey=7480000000000000885F728000000000000004] [2025/04/05 06:59:10.364 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [2025/04/05 06:59:10.366 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=136] [key=db.tbl.003.csv:0] [readDur=867.823µs] [encodeDur=175.997µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=34.12µs] [type=file] [takeTime=1.401441ms] [] [2025/04/05 06:59:10.367 +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/5eb3dbb0-a9ba-4da1-a0a0-028266df25a5.sst] [firstKey=7480000000000000885F728000000000000005] [lastKey=7480000000000000885F728000000000000006] [2025/04/05 06:59:10.367 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:59:10.367 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:59:10.367 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:10.369 +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.156672ms] [] [2025/04/05 06:59:10.369 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:10.374 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:10.396 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 06:59:10.396 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:10.398 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000885f728000000000000001] [endOfAllRanges=7480000000000000885f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff885f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff885f728000000000ff0000070000000000fa] [2025/04/05 06:59:10.410 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 06:59:10.412 +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.474941ms] [] [2025/04/05 06:59:10.412 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:10.413 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.276497ms] [] [2025/04/05 06:59:10.413 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=5] [step=import] [engine-id=0] [2025/04/05 06:59:10.413 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:10.415 +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.682842ms] [] [2025/04/05 06:59:10.415 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:10.419 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:10.419 +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.700086ms] [] [2025/04/05 06:59:10.419 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:10.420 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=999.638µs] [] [2025/04/05 06:59:10.420 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=import] [subtask-id=8] [takeTime=310.269927ms] [] [2025/04/05 06:59:10.421 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=8] [step=import] [takeTime=311.666994ms] [] [2025/04/05 06:59:10.508 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:10.509 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:10.510 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:10.510 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:10.541 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:10.543 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=5] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:10.543 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:10.563 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:10.570 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=5] [step=import] [2025/04/05 06:59:10.573 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:10.573 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:10.573 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:10.573 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:10.573 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:10.573 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:10.573 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:10.574 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:10.574 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:10.573 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:10.574 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:10.574 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:10.576 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:10.576 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:10.576 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:10.576 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:10.576 +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=496.5MiB]"] [takeTime=474.376621ms] [] [2025/04/05 06:59:10.578 +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=496.5MiB]"] [2025/04/05 06:59:10.585 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=5] [task-type=ImportInto] [server-id=:4000] [subtaskID=9] [step=post-process] [2025/04/05 06:59:10.585 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 06:59:10.585 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 06:59:10.585 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [2025/04/05 06:59:10.592 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=6.447006ms] [] [2025/04/05 06:59:10.592 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:10.592 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:10.592 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [weight=30] [2025/04/05 06:59:10.592 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [concurrency=15] [2025/04/05 06:59:10.594 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=136] [physicalTableID=136] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 06:59:10.595 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:10.595 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:10.595 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=9.26904ms] [] [2025/04/05 06:59:10.595 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=5] [step=post-process] [subtask-id=9] [takeTime=9.409051ms] [] [2025/04/05 06:59:10.595 +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=9.525775ms] [] [2025/04/05 06:59:10.603 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:10.607 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=5] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:10.607 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=5] [step=post-process] [state=running] [] [2025/04/05 06:59:10.610 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=5] [2025/04/05 06:59:10.623 +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=496.5MiB]"] [takeTime=45.676799ms] [] [2025/04/05 06:59:10.623 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=5] [type=ImportInto] [2025/04/05 06:59:10.703 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=5] [2025/04/05 06:59:10.709 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:10.709 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=5] [2025/04/05 06:59:10.731 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:10.802 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.99552139\n# Parse_time: 0.000098162\n# Compile_time: 0.00052153\n# Rewrite_time: 0.00012099\n# Optimize_time: 0.000533194\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NC42bXMsIG9wZW46NjgybnMsIGNsb3NlOjc4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NC42bXMsIG9wZW46NjgybnMsIGNsb3NlOjc4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:10.817 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:10.817 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:10.822 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=2.293455ms] [gotSchemaVersion=84] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.846 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=84] [2025/04/05 06:59:10.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=84] ["take time"=13.750171ms] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.874 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=2.463264ms] [gotSchemaVersion=85] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.878 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=85] [2025/04/05 06:59:10.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=85] ["take time"=10.058415ms] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.889 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:136, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.896 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 136, Old Table Name: t)"] [2025/04/05 06:59:10.910 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.161541ms] [gotSchemaVersion=86] [phyTblIDs="[136]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:10.913 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/05 06:59:10.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=86] ["take time"=8.36393ms] [job="ID:138, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.925 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=138] [tableIDs="[136]"] [comment="drop table: table ID"] [2025/04/05 06:59:10.929 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=138] [jobType="drop table"] [2025/04/05 06:59:10.930 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=138] [conn=2] [job="ID:138, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:136, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.948 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/05 06:59:10.948 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=86] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:10.961 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:10.961 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [2025/04/05 06:59:10.967 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.972 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 139, Table Name: t)"] [2025/04/05 06:59:10.988 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.871097ms] [gotSchemaVersion=87] [phyTblIDs="[139]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:10.992 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=87] [2025/04/05 06:59:10.994 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=87] ["take time"=9.329222ms] [job="ID:140, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:10.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.006 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=140] [conn=2] [job="ID:140, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:10.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:11.018 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 06:59:11.018 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=87] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b varchar(100), c int);"] [user=] [2025/04/05 06:59:11.024 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:11.077 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:11.098 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=6] [task-id=6] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:11.112 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=6] [2025/04/05 06:59:11.113 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:11.215 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:11.216 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:11.217 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [2025/04/05 06:59:11.225 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:11.229 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:11.229 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:11.229 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=90.311µs] [2025/04/05 06:59:11.229 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=212.687µs] [] [2025/04/05 06:59:11.229 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:11.229 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:11.266 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=6] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:11.286 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:59:11.287 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:11.296 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:11.296 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:11.296 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:11.296 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:11.297 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:11.297 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:11.297 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:11.297 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:11.297 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:11.297 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:11.310 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:11.312 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:11.312 +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/05 06:59:11.312 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=6] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:11.312 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=6] [disk-quota=700.7GiB] [2025/04/05 06:59:11.312 +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=496.5MiB]"] [2025/04/05 06:59:11.321 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [2025/04/05 06:59:11.321 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [2025/04/05 06:59:11.321 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=6] [mode=Import] [2025/04/05 06:59:11.325 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:11.336 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:11.336 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 06:59:11.342 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=6] [2025/04/05 06:59:11.486 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [2025/04/05 06:59:11.488 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.001.csv:0] [readDur=960.814µs] [encodeDur=258.298µs] [checksum="{cksum=7519321974396982192,size=74,kvs=2}"] [deliverDur=189.29µs] [type=file] [takeTime=1.641929ms] [] [2025/04/05 06:59:11.489 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 06:59:11.489 +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/74e7eede-61e8-4e0a-a3de-6e74799ed584.sst] [firstKey=74800000000000008B5F728000000000000001] [lastKey=74800000000000008B5F728000000000000002] [2025/04/05 06:59:11.532 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [2025/04/05 06:59:11.533 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.002.csv:0] [readDur=910.301µs] [encodeDur=138.537µs] [checksum="{cksum=8353780349895382269,size=74,kvs=2}"] [deliverDur=24.968µs] [type=file] [takeTime=1.258888ms] [] [2025/04/05 06:59:11.534 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=139] [2025/04/05 06:59:11.534 +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/c5e286ab-7f41-449b-85fc-8ed584e3f46b.sst] [firstKey=74800000000000008B5F728000000000000003] [lastKey=74800000000000008B5F728000000000000004] [2025/04/05 06:59:11.595 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [2025/04/05 06:59:11.597 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=139] [key=db.tbl.003.csv:0] [readDur=887.54µs] [encodeDur=189.369µs] [checksum="{cksum=34078042553017573,size=74,kvs=2}"] [deliverDur=21.591µs] [type=file] [takeTime=1.295648ms] [] [2025/04/05 06:59:11.597 +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/22ba5232-003f-415b-9bb0-7862a2d1e8ac.sst] [firstKey=74800000000000008B5F728000000000000005] [lastKey=74800000000000008B5F728000000000000006] [2025/04/05 06:59:11.598 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:59:11.598 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:59:11.598 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:11.600 +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.074881ms] [] [2025/04/05 06:59:11.600 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:11.604 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:11.626 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=222] [2025/04/05 06:59:11.626 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:11.628 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008b5f728000000000000001] [endOfAllRanges=74800000000000008b5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ff8b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff8b5f728000000000ff0000070000000000fa] [2025/04/05 06:59:11.639 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=222] [kvs=6] [importedSize=222] [importedCount=6] [2025/04/05 06:59:11.641 +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.029392ms] [] [2025/04/05 06:59:11.641 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:11.642 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.231707ms] [] [2025/04/05 06:59:11.642 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=6] [step=import] [engine-id=0] [2025/04/05 06:59:11.642 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:11.644 +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.313337ms] [] [2025/04/05 06:59:11.644 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:11.647 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:11.647 +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.552449ms] [] [2025/04/05 06:59:11.647 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:11.648 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=915.161µs] [] [2025/04/05 06:59:11.648 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=import] [subtask-id=10] [takeTime=327.777555ms] [] [2025/04/05 06:59:11.649 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=10] [step=import] [takeTime=327.917785ms] [] [2025/04/05 06:59:11.719 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:11.720 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:11.721 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:11.721 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:11.749 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:11.750 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=6] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:11.750 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:11.783 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:11.789 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=6] [step=import] [2025/04/05 06:59:11.792 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:11.792 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:11.792 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:11.792 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:11.792 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:11.792 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:11.792 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:11.792 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:11.792 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:11.792 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:11.792 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:11.792 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:11.794 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:11.794 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:11.794 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:11.794 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:11.794 +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=496.5MiB]"] [takeTime=482.070755ms] [] [2025/04/05 06:59:11.796 +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=496.5MiB]"] [2025/04/05 06:59:11.803 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [2025/04/05 06:59:11.803 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 06:59:11.803 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 06:59:11.803 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [2025/04/05 06:59:11.808 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=5.26349ms] [] [2025/04/05 06:59:11.808 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:11.808 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:11.808 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [weight=30] [2025/04/05 06:59:11.808 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [concurrency=15] [2025/04/05 06:59:11.810 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=139] [physicalTableID=139] [indexID=-1] [checksum=2003671119719883688] [totalKvs=6] [totalBytes=222] [2025/04/05 06:59:11.810 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:11.811 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [local="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:11.811 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=7.806305ms] [] [2025/04/05 06:59:11.811 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=6] [step=post-process] [subtask-id=11] [takeTime=7.923304ms] [] [2025/04/05 06:59:11.811 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=6] [task-type=ImportInto] [server-id=:4000] [subtaskID=11] [step=post-process] [takeTime=8.057023ms] [] [2025/04/05 06:59:11.819 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:11.919 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=6] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:11.919 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=6] [step=post-process] [state=running] [] [2025/04/05 06:59:11.922 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=6] [2025/04/05 06:59:11.944 +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=496.5MiB]"] [takeTime=148.554412ms] [] [2025/04/05 06:59:11.944 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=6] [type=ImportInto] [2025/04/05 06:59:12.013 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.994502035\n# Parse_time: 0.000148129\n# Compile_time: 0.000498209\n# Rewrite_time: 0.000107393\n# Optimize_time: 0.00032023\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5My42bXMsIG9wZW46NzQ4bnMsIGNsb3NlOjcyN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5My42bXMsIG9wZW46NzQ4bnMsIGNsb3NlOjcyN25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:12.014 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=6] [2025/04/05 06:59:12.020 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:12.020 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=6] [2025/04/05 06:59:12.027 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:12.027 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:12.033 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.040 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:12.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=2.289043ms] [gotSchemaVersion=88] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:12.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=88] [2025/04/05 06:59:12.054 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=88] ["take time"=9.007288ms] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.063 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.078 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=2.355852ms] [gotSchemaVersion=89] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:12.081 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=89] [2025/04/05 06:59:12.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=89] ["take time"=9.15165ms] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.091 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:139, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.097 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 139, Old Table Name: t)"] [2025/04/05 06:59:12.110 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.082001ms] [gotSchemaVersion=90] [phyTblIDs="[139]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:12.113 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=141] [version=90] [2025/04/05 06:59:12.115 +00:00] [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"=7.856853ms] [job="ID:141, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=141] [tableIDs="[139]"] [comment="drop table: table ID"] [2025/04/05 06:59:12.127 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=141] [jobType="drop table"] [2025/04/05 06:59:12.128 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=141] [conn=2] [job="ID:141, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:139, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.145 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=141] [2025/04/05 06:59:12.145 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=90] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:12.158 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:12.158 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [2025/04/05 06:59:12.163 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.168 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 142, Table Name: t)"] [2025/04/05 06:59:12.184 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.764295ms] [gotSchemaVersion=91] [phyTblIDs="[142]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:12.187 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=143] [version=91] [2025/04/05 06:59:12.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=91] ["take time"=8.67573ms] [job="ID:143, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:12.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.200 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=143] [conn=2] [job="ID:143, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:12.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:12.211 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=143] [2025/04/05 06:59:12.212 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=91] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, primary key(b,c));"] [user=] [2025/04/05 06:59:12.217 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:12.267 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:12.290 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=7] [task-id=7] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=7] [2025/04/05 06:59:12.305 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:12.408 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:12.409 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:12.411 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [2025/04/05 06:59:12.419 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:12.422 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:12.422 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:12.422 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=97.834µs] [2025/04/05 06:59:12.422 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=213.755µs] [] [2025/04/05 06:59:12.422 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:12.423 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:12.454 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=7] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:12.475 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:59:12.475 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:12.483 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:12.484 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:12.484 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:12.484 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:12.484 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:12.484 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:12.484 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:12.485 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:12.485 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:12.485 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:12.500 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:12.502 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:12.502 +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/05 06:59:12.502 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=7] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:12.502 +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=496.5MiB]"] [2025/04/05 06:59:12.502 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=7] [disk-quota=700.7GiB] [2025/04/05 06:59:12.511 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [2025/04/05 06:59:12.511 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [2025/04/05 06:59:12.515 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=7] [mode=Import] [2025/04/05 06:59:12.516 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:12.520 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:12.520 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 06:59:12.535 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=7] [2025/04/05 06:59:12.563 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [2025/04/05 06:59:12.565 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.001.csv:0] [readDur=1.091904ms] [encodeDur=152.376µs] [checksum="{cksum=6438872994288898047,size=96,kvs=2}"] [deliverDur=460.615µs] [type=file] [takeTime=2.036401ms] [] [2025/04/05 06:59:12.566 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 06:59:12.566 +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/1009e3a4-a6fa-46bf-83cf-292b98bcc59f.sst] [firstKey=74800000000000008E5F72017465737431000000FC03800000000000000B] [lastKey=74800000000000008E5F72017465737432000000FC038000000000000016] [2025/04/05 06:59:12.622 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [2025/04/05 06:59:12.624 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.002.csv:0] [readDur=985.976µs] [encodeDur=131.254µs] [checksum="{cksum=1050029282737908383,size=96,kvs=2}"] [deliverDur=24.446µs] [type=file] [takeTime=1.440856ms] [] [2025/04/05 06:59:12.625 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=142] [2025/04/05 06:59:12.625 +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/6e93b8d2-2b19-4e86-9ab1-650fcfd492ec.sst] [firstKey=74800000000000008E5F72017465737433000000FC038000000000000021] [lastKey=74800000000000008E5F72017465737434000000FC03800000000000002C] [2025/04/05 06:59:12.785 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [2025/04/05 06:59:12.787 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=142] [key=db.tbl.003.csv:0] [readDur=1.071998ms] [encodeDur=132.526µs] [checksum="{cksum=8773259395275999690,size=96,kvs=2}"] [deliverDur=24.286µs] [type=file] [takeTime=1.629363ms] [] [2025/04/05 06:59:12.788 +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/85e0a254-4e99-46aa-91ec-ff1995c12175.sst] [firstKey=74800000000000008E5F72017465737435000000FC038000000000000037] [lastKey=74800000000000008E5F72017465737436000000FC038000000000000042] [2025/04/05 06:59:12.788 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:59:12.788 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:59:12.788 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:12.791 +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.339106ms] [] [2025/04/05 06:59:12.791 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:12.795 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:12.818 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/05 06:59:12.818 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:12.820 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000008e5f72017465737431000000fc03800000000000000b] [endOfAllRanges=74800000000000008e5f72017465737436000000fc03800000000000004200] [startKeyOfFirstRegion=7480000000000000ff8e5f720174657374ff31000000fc038000ff00000000000b0000fd] [endKeyOfLastRegion=7480000000000000ff8e5f720174657374ff36000000fc038000ff0000000000420000fe] [2025/04/05 06:59:12.833 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/05 06:59:12.835 +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.341622ms] [] [2025/04/05 06:59:12.835 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:12.837 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.286392ms] [] [2025/04/05 06:59:12.837 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=7] [step=import] [engine-id=0] [2025/04/05 06:59:12.837 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:12.838 +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.77311ms] [] [2025/04/05 06:59:12.839 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:12.842 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:12.842 +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.745693ms] [] [2025/04/05 06:59:12.842 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:12.843 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.003401ms] [] [2025/04/05 06:59:12.844 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=import] [subtask-id=12] [takeTime=332.593769ms] [] [2025/04/05 06:59:12.844 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=12] [step=import] [takeTime=332.763433ms] [] [2025/04/05 06:59:12.913 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:12.914 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:12.916 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:12.916 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:12.947 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:12.949 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=7] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:12.949 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:12.987 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:12.995 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=7] [step=import] [2025/04/05 06:59:12.998 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:12.998 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:12.998 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:12.998 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:12.998 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:12.998 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:12.998 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:12.998 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:12.998 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:12.998 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:12.998 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:12.998 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:13.001 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:13.001 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:13.001 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:13.001 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:13.001 +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=496.5MiB]"] [takeTime=498.83034ms] [] [2025/04/05 06:59:13.003 +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=496.5MiB]"] [2025/04/05 06:59:13.011 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=7] [task-type=ImportInto] [server-id=:4000] [subtaskID=13] [step=post-process] [2025/04/05 06:59:13.011 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 06:59:13.011 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 06:59:13.011 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [2025/04/05 06:59:13.011 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=1.927µs] [] [2025/04/05 06:59:13.011 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [groupId=-1] [size=288] [kvs=6] [checksum=3317442229611736234] [2025/04/05 06:59:13.011 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [checksum="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/05 06:59:13.011 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [weight=30] [2025/04/05 06:59:13.011 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [concurrency=15] [2025/04/05 06:59:13.013 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:13.013 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=142] [physicalTableID=142] [indexID=-1] [checksum=3317442229611736234] [totalKvs=6] [totalBytes=288] [2025/04/05 06:59:13.014 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:13.014 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [local="{cksum=3317442229611736234,size=288,kvs=6}"] [2025/04/05 06:59:13.014 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=3.184055ms] [] [2025/04/05 06:59:13.014 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=7] [step=post-process] [subtask-id=13] [takeTime=3.34066ms] [] [2025/04/05 06:59:13.014 +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.510893ms] [] [2025/04/05 06:59:13.036 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:13.113 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=7] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:13.113 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=7] [step=post-process] [state=running] [] [2025/04/05 06:59:13.116 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=7] [2025/04/05 06:59:13.137 +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=496.5MiB]"] [takeTime=134.446859ms] [] [2025/04/05 06:59:13.137 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=7] [type=ImportInto] [2025/04/05 06:59:13.207 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=7] [2025/04/05 06:59:13.209 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996634184\n# Parse_time: 0.000143933\n# Compile_time: 0.000489783\n# Rewrite_time: 0.000094082\n# Optimize_time: 0.000248635\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS43bXMsIG9wZW46NjIxbnMsIGNsb3NlOjg1MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS43bXMsIG9wZW46NjIxbnMsIGNsb3NlOjg1MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:13.215 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:13.215 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=7] [2025/04/05 06:59:13.230 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:13.231 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:13.237 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.239 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:13.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=2.94037ms] [gotSchemaVersion=92] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:13.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=92] [2025/04/05 06:59:13.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=92] ["take time"=11.414808ms] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.273 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=2.92406ms] [gotSchemaVersion=93] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:13.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=93] [2025/04/05 06:59:13.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=93] ["take time"=10.744347ms] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.305 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:142, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.312 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 142, Old Table Name: t)"] [2025/04/05 06:59:13.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.289062ms] [gotSchemaVersion=94] [phyTblIDs="[142]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:13.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/05 06:59:13.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=94] ["take time"=8.464995ms] [job="ID:144, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.342 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=144] [tableIDs="[142]"] [comment="drop table: table ID"] [2025/04/05 06:59:13.346 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=144] [jobType="drop table"] [2025/04/05 06:59:13.348 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=144] [conn=2] [job="ID:144, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:142, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.368 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/05 06:59:13.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=94] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:13.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:13.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:13.388 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:13.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.394 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 145, Table Name: t)"] [2025/04/05 06:59:13.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.944514ms] [gotSchemaVersion=95] [phyTblIDs="[145]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:13.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/05 06:59:13.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=95] ["take time"=9.611746ms] [job="ID:146, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:13.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=146] [conn=2] [job="ID:146, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:13.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:13.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 06:59:13.441 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=95] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=] [2025/04/05 06:59:13.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:13.501 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:13.521 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=8] [task-id=8] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:13.536 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=8] [2025/04/05 06:59:13.537 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:13.639 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:13.640 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:13.641 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [2025/04/05 06:59:13.649 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:13.652 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:13.652 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:13.652 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=101.355µs] [2025/04/05 06:59:13.652 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=240.158µs] [] [2025/04/05 06:59:13.653 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:13.653 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:13.694 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=8] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:13.715 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 06:59:13.715 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:13.723 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:13.723 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:13.724 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:13.724 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:13.724 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:13.724 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:13.724 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:13.724 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:13.725 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:13.725 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:13.738 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:13.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/05 06:59:13.740 +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/05 06:59:13.740 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=8] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:13.740 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=8] [disk-quota=700.7GiB] [2025/04/05 06:59:13.740 +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=496.5MiB]"] [2025/04/05 06:59:13.745 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=8] [mode=Import] [2025/04/05 06:59:13.748 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [2025/04/05 06:59:13.749 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [2025/04/05 06:59:13.753 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:13.757 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:13.757 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 06:59:13.772 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [2025/04/05 06:59:13.774 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.001.csv:0] [readDur=1.087168ms] [encodeDur=248.82µs] [checksum="{cksum=13837959720985630831,size=82,kvs=2}"] [deliverDur=267.013µs] [type=file] [takeTime=1.917059ms] [] [2025/04/05 06:59:13.774 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 06:59:13.775 +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/2425f616-b67c-4c0e-b407-888b8cd065ea.sst] [firstKey=7480000000000000915F728000000000000001] [lastKey=7480000000000000915F728000000000000002] [2025/04/05 06:59:13.776 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=8] [2025/04/05 06:59:13.823 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [2025/04/05 06:59:13.825 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.002.csv:0] [readDur=1.211571ms] [encodeDur=283.785µs] [checksum="{cksum=7610901642014463118,size=82,kvs=2}"] [deliverDur=231.271µs] [type=file] [takeTime=2.379523ms] [] [2025/04/05 06:59:13.826 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=145] [2025/04/05 06:59:13.826 +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/318b71a7-68f2-4367-acc1-5635c01f8ac4.sst] [firstKey=7480000000000000915F728000000000000008] [lastKey=7480000000000000915F728000000000000009] [2025/04/05 06:59:13.840 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [2025/04/05 06:59:13.842 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=145] [key=db.tbl.003.csv:0] [readDur=1.060209ms] [encodeDur=204.995µs] [checksum="{cksum=9673548632033812539,size=82,kvs=2}"] [deliverDur=314.306µs] [type=file] [takeTime=1.986991ms] [] [2025/04/05 06:59:13.843 +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/22d9df8e-9406-4ce4-8427-d2e8d9ac2a7b.sst] [firstKey=7480000000000000915F72800000000000000F] [lastKey=7480000000000000915F728000000000000010] [2025/04/05 06:59:13.843 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:59:13.843 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:59:13.843 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:13.845 +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.192548ms] [] [2025/04/05 06:59:13.846 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:13.850 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:13.872 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:13.872 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:13.874 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000915f728000000000000001] [endOfAllRanges=7480000000000000915f728000000000000011] [startKeyOfFirstRegion=7480000000000000ff915f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff915f728000000000ff0000110000000000fa] [2025/04/05 06:59:13.887 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:13.889 +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.657857ms] [] [2025/04/05 06:59:13.889 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:13.891 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.336288ms] [] [2025/04/05 06:59:13.891 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=8] [step=import] [engine-id=0] [2025/04/05 06:59:13.891 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:13.893 +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.772738ms] [] [2025/04/05 06:59:13.893 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:13.896 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:13.896 +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.640229ms] [] [2025/04/05 06:59:13.896 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:13.897 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=914.371µs] [] [2025/04/05 06:59:13.898 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=import] [subtask-id=14] [takeTime=149.060114ms] [] [2025/04/05 06:59:13.898 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=14] [step=import] [takeTime=149.241826ms] [] [2025/04/05 06:59:13.944 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:13.945 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:13.946 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:13.946 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:13.977 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:13.978 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=8] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:13.978 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:14.003 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:14.010 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=8] [step=import] [2025/04/05 06:59:14.014 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:14.014 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:14.014 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:14.014 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:14.014 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:14.014 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:14.014 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:14.014 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:14.014 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:14.014 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:14.014 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:14.014 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:14.016 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:14.016 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:14.016 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:14.016 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:14.016 +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=496.5MiB]"] [takeTime=275.852055ms] [] [2025/04/05 06:59:14.018 +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=496.5MiB]"] [2025/04/05 06:59:14.025 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=8] [task-type=ImportInto] [server-id=:4000] [subtaskID=15] [step=post-process] [2025/04/05 06:59:14.025 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 06:59:14.025 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 06:59:14.025 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [2025/04/05 06:59:14.032 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=6.577271ms] [] [2025/04/05 06:59:14.032 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [groupId=-1] [size=246] [kvs=6] [checksum=3434641841828523226] [2025/04/05 06:59:14.032 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [checksum="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/05 06:59:14.032 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [weight=30] [2025/04/05 06:59:14.032 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [concurrency=15] [2025/04/05 06:59:14.034 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=145] [physicalTableID=145] [indexID=-1] [checksum=3434641841828523226] [totalKvs=6] [totalBytes=246] [2025/04/05 06:59:14.034 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:14.034 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [local="{cksum=3434641841828523226,size=246,kvs=6}"] [2025/04/05 06:59:14.035 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=9.404505ms] [] [2025/04/05 06:59:14.035 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=8] [step=post-process] [subtask-id=15] [takeTime=9.546101ms] [] [2025/04/05 06:59:14.035 +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=9.686822ms] [] [2025/04/05 06:59:14.044 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:14.144 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=8] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:14.144 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=8] [step=post-process] [state=running] [] [2025/04/05 06:59:14.147 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=8] [2025/04/05 06:59:14.180 +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=496.5MiB]"] [takeTime=162.562805ms] [] [2025/04/05 06:59:14.180 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=8] [type=ImportInto] [2025/04/05 06:59:14.239 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=8] [2025/04/05 06:59:14.245 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:14.246 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=8] [2025/04/05 06:59:14.268 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:14.440 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.998306274\n# Parse_time: 0.000137862\n# Compile_time: 0.000566612\n# Rewrite_time: 0.000163081\n# Optimize_time: 0.000412091\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny4zbXMsIG9wZW46NjY2bnMsIGNsb3NlOjcyOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny4zbXMsIG9wZW46NjY2bnMsIGNsb3NlOjcyOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:14.457 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:14.457 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:14.462 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=2.488652ms] [gotSchemaVersion=96] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:14.483 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=96] [2025/04/05 06:59:14.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=96] ["take time"=10.083957ms] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.495 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=2.432627ms] [gotSchemaVersion=97] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:14.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=97] [2025/04/05 06:59:14.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=97] ["take time"=9.672405ms] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.526 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:145, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.532 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 145, Old Table Name: t)"] [2025/04/05 06:59:14.546 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.177891ms] [gotSchemaVersion=98] [phyTblIDs="[145]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:14.550 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=147] [version=98] [2025/04/05 06:59:14.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=98] ["take time"=8.185324ms] [job="ID:147, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.561 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=147] [tableIDs="[145]"] [comment="drop table: table ID"] [2025/04/05 06:59:14.566 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=147] [jobType="drop table"] [2025/04/05 06:59:14.567 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=147] [conn=2] [job="ID:147, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.585 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=147] [2025/04/05 06:59:14.585 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=98] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:14.599 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:14.599 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [2025/04/05 06:59:14.604 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.610 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 148, Table Name: t)"] [2025/04/05 06:59:14.627 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=2.055766ms] [gotSchemaVersion=99] [phyTblIDs="[148]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:14.631 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/05 06:59:14.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=99] ["take time"=9.307786ms] [job="ID:149, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:14.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.644 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=149] [conn=2] [job="ID:149, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:14.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:14.657 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 06:59:14.657 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=99] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/05 06:59:14.663 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:14.714 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `d`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:14.735 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=9] [task-id=9] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:14.749 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=9] [2025/04/05 06:59:14.749 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:14.851 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:14.853 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:14.854 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [2025/04/05 06:59:14.862 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:14.864 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:14.865 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:14.865 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=95.031µs] [2025/04/05 06:59:14.865 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=228.351µs] [] [2025/04/05 06:59:14.865 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:14.865 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:14.904 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=9] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:14.924 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/05 06:59:14.924 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:14.933 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:14.933 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:14.933 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:14.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:14.933 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:14.933 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:14.933 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:14.934 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:14.935 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:14.935 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:14.948 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:14.950 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:14.950 +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/05 06:59:14.951 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=9] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:14.951 +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=496.5MiB]"] [2025/04/05 06:59:14.951 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=9] [disk-quota=700.7GiB] [2025/04/05 06:59:14.958 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=9] [mode=Import] [2025/04/05 06:59:14.959 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [2025/04/05 06:59:14.959 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [2025/04/05 06:59:14.963 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:14.967 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:14.967 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 06:59:14.978 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=9] [2025/04/05 06:59:14.980 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [2025/04/05 06:59:14.982 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.001.csv:0] [readDur=825.263µs] [encodeDur=513.316µs] [checksum="{cksum=11510279650924602162,size=82,kvs=2}"] [deliverDur=234.146µs] [type=file] [takeTime=1.869473ms] [] [2025/04/05 06:59:14.983 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 06:59:14.983 +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/793aaed4-24aa-46c0-9a8e-ea5d9d89ad64.sst] [firstKey=7480000000000000945F728000000000000001] [lastKey=7480000000000000945F728000000000000002] [2025/04/05 06:59:15.000 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [2025/04/05 06:59:15.002 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.002.csv:0] [readDur=1.015894ms] [encodeDur=213.583µs] [checksum="{cksum=16401860098335995135,size=82,kvs=2}"] [deliverDur=319.566µs] [type=file] [takeTime=1.81526ms] [] [2025/04/05 06:59:15.003 +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/f63656c2-4b12-4a2e-96c3-9668910f8545.sst] [firstKey=7480000000000000945F728000000000000006] [lastKey=7480000000000000945F728000000000000007] [2025/04/05 06:59:15.003 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=148] [2025/04/05 06:59:15.025 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [2025/04/05 06:59:15.027 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=148] [key=db.tbl.003.csv:0] [readDur=1.020958ms] [encodeDur=525.347µs] [checksum="{cksum=17104710824714968226,size=82,kvs=2}"] [deliverDur=223.153µs] [type=file] [takeTime=2.041289ms] [] [2025/04/05 06:59:15.028 +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/4fa54fbb-d6a4-4c0a-b69d-c395e5611991.sst] [firstKey=7480000000000000945F72800000000000000B] [lastKey=7480000000000000945F72800000000000000C] [2025/04/05 06:59:15.028 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 06:59:15.028 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 06:59:15.028 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:15.030 +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.150999ms] [] [2025/04/05 06:59:15.030 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:15.035 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:15.057 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:15.057 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:15.059 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000945f728000000000000001] [endOfAllRanges=7480000000000000945f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff945f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff945f728000000000ff00000d0000000000fa] [2025/04/05 06:59:15.070 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:15.071 +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.148349ms] [] [2025/04/05 06:59:15.072 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:15.073 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.289608ms] [] [2025/04/05 06:59:15.073 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=9] [step=import] [engine-id=0] [2025/04/05 06:59:15.073 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:15.074 +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.437821ms] [] [2025/04/05 06:59:15.075 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:15.078 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:15.078 +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.565278ms] [] [2025/04/05 06:59:15.078 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:15.079 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=885.595µs] [] [2025/04/05 06:59:15.079 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=import] [subtask-id=16] [takeTime=120.466059ms] [] [2025/04/05 06:59:15.080 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=16] [step=import] [takeTime=121.582856ms] [] [2025/04/05 06:59:15.157 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:15.158 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:15.159 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:15.159 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:15.193 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:15.194 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=9] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:15.195 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:15.223 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:15.229 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=9] [step=import] [2025/04/05 06:59:15.232 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:15.232 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:15.232 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:15.232 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:15.232 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:15.232 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:15.232 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:15.232 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:15.232 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:15.232 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:15.232 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:15.232 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:15.234 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:15.234 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:15.234 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:15.234 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:15.234 +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=496.5MiB]"] [takeTime=283.812359ms] [] [2025/04/05 06:59:15.236 +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=496.5MiB]"] [2025/04/05 06:59:15.243 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=9] [task-type=ImportInto] [server-id=:4000] [subtaskID=17] [step=post-process] [2025/04/05 06:59:15.243 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 06:59:15.243 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 06:59:15.243 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [2025/04/05 06:59:15.249 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=5.956263ms] [] [2025/04/05 06:59:15.249 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [groupId=-1] [size=246] [kvs=6] [checksum=10467356601048550255] [2025/04/05 06:59:15.249 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [checksum="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/05 06:59:15.249 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [weight=30] [2025/04/05 06:59:15.249 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [concurrency=15] [2025/04/05 06:59:15.251 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=148] [physicalTableID=148] [indexID=-1] [checksum=10467356601048550255] [totalKvs=6] [totalBytes=246] [2025/04/05 06:59:15.251 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:15.251 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [local="{cksum=10467356601048550255,size=246,kvs=6}"] [2025/04/05 06:59:15.251 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.321814ms] [] [2025/04/05 06:59:15.252 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=9] [step=post-process] [subtask-id=17] [takeTime=8.445173ms] [] [2025/04/05 06:59:15.252 +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.578289ms] [] [2025/04/05 06:59:15.264 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:15.357 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=9] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:15.357 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=9] [step=post-process] [state=running] [] [2025/04/05 06:59:15.360 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=9] [2025/04/05 06:59:15.388 +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=496.5MiB]"] [takeTime=152.296689ms] [] [2025/04/05 06:59:15.388 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=9] [type=ImportInto] [2025/04/05 06:59:15.452 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=9] [2025/04/05 06:59:15.457 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:15.457 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=9] [2025/04/05 06:59:15.480 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:15.651 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.993946773\n# Parse_time: 0.000125074\n# Compile_time: 0.000509475\n# Rewrite_time: 0.000128499\n# Optimize_time: 0.00027074\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5M21zLCBvcGVuOjY0N25zLCBjbG9zZTo4NzducywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5M21zLCBvcGVuOjY0N25zLCBjbG9zZTo4NzducywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`d`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:15.667 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.667 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:15.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.690 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=2.648055ms] [gotSchemaVersion=100] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.693 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/05 06:59:15.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=100] ["take time"=10.357207ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.705 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.721 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=2.410499ms] [gotSchemaVersion=101] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.725 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/05 06:59:15.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=101] ["take time"=9.250402ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.735 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:148, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.741 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 148, Old Table Name: t)"] [2025/04/05 06:59:15.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.132004ms] [gotSchemaVersion=102] [phyTblIDs="[148]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.758 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/05 06:59:15.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=102] ["take time"=7.84859ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.769 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=150] [tableIDs="[148]"] [comment="drop table: table ID"] [2025/04/05 06:59:15.774 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/05 06:59:15.775 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=150] [conn=2] [job="ID:150, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:148, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.793 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 06:59:15.794 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=102] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:15.807 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.807 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [2025/04/05 06:59:15.812 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.817 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 151, Table Name: t)"] [2025/04/05 06:59:15.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.854974ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:15.833 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:15.833 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 06:59:15.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:59:15.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/05 06:59:15.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=103] ["take time"=9.056555ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.850 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=152] [conn=2] [job="ID:152, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:15.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 06:59:15.862 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=103] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b varchar(100), c int, d varchar(100));"] [user=] [2025/04/05 06:59:15.869 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:15.921 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:15.941 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=10] [task-id=10] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:15.956 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=10] [2025/04/05 06:59:15.956 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:16.058 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:16.059 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:16.061 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [2025/04/05 06:59:16.069 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:16.071 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:16.071 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:16.072 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=82.641µs] [2025/04/05 06:59:16.072 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=179.073µs] [] [2025/04/05 06:59:16.072 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:16.072 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:16.116 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:16.137 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/05 06:59:16.138 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:16.146 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:16.146 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:16.147 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:16.147 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:16.147 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:16.147 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:16.147 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:16.147 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:16.148 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:16.148 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:16.161 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:16.162 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:16.163 +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/05 06:59:16.163 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=10] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:16.163 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=10] [disk-quota=700.7GiB] [2025/04/05 06:59:16.163 +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=496.5MiB]"] [2025/04/05 06:59:16.165 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=10] [mode=Import] [2025/04/05 06:59:16.180 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [2025/04/05 06:59:16.180 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [2025/04/05 06:59:16.184 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=10] [2025/04/05 06:59:16.185 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:16.188 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:16.189 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 06:59:16.228 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [2025/04/05 06:59:16.232 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.001.csv:0] [readDur=1.083186ms] [encodeDur=1.850103ms] [checksum="{cksum=2180128874604033942,size=96,kvs=2}"] [deliverDur=536.921µs] [type=file] [takeTime=3.857723ms] [] [2025/04/05 06:59:16.233 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 06:59:16.233 +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/a03a0faa-5d16-4476-88a1-171d84a9fb28.sst] [firstKey=7480000000000000975F72800000000000000B] [lastKey=7480000000000000975F728000000000000016] [2025/04/05 06:59:16.267 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [2025/04/05 06:59:16.269 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.002.csv:0] [readDur=1.171812ms] [encodeDur=729.975µs] [checksum="{cksum=17114733561715978064,size=96,kvs=2}"] [deliverDur=43.171µs] [type=file] [takeTime=2.231323ms] [] [2025/04/05 06:59:16.271 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=151] [2025/04/05 06:59:16.271 +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/c53e58d1-91c5-4aa4-83f9-1a0a2681a643.sst] [firstKey=7480000000000000975F728000000000000021] [lastKey=7480000000000000975F72800000000000002C] [2025/04/05 06:59:16.306 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [2025/04/05 06:59:16.309 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=151] [key=db.tbl.003.csv:0] [readDur=1.428376ms] [encodeDur=992.041µs] [checksum="{cksum=126932759714365300,size=96,kvs=2}"] [deliverDur=36.863µs] [type=file] [takeTime=2.744118ms] [] [2025/04/05 06:59:16.310 +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/03f5cb3b-36f3-403a-a6a0-d1aa761005c4.sst] [firstKey=7480000000000000975F728000000000000037] [lastKey=7480000000000000975F728000000000000042] [2025/04/05 06:59:16.310 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 06:59:16.310 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 06:59:16.310 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:16.313 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=3.227363ms] [] [2025/04/05 06:59:16.313 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:16.319 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:16.341 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=288] [2025/04/05 06:59:16.342 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:16.344 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000975f72800000000000000b] [endOfAllRanges=7480000000000000975f728000000000000043] [startKeyOfFirstRegion=7480000000000000ff975f728000000000ff00000b0000000000fa] [endKeyOfLastRegion=7480000000000000ff975f728000000000ff0000430000000000fa] [2025/04/05 06:59:16.358 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=288] [kvs=6] [importedSize=288] [importedCount=6] [2025/04/05 06:59:16.360 +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=46.714315ms] [] [2025/04/05 06:59:16.360 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:16.362 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.903678ms] [] [2025/04/05 06:59:16.362 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=10] [step=import] [engine-id=0] [2025/04/05 06:59:16.362 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:16.364 +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.921506ms] [] [2025/04/05 06:59:16.364 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:16.368 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:16.368 +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.112906ms] [] [2025/04/05 06:59:16.369 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:16.370 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.337123ms] [] [2025/04/05 06:59:16.370 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=import] [subtask-id=18] [takeTime=190.150356ms] [] [2025/04/05 06:59:16.370 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=18] [step=import] [takeTime=190.328348ms] [] [2025/04/05 06:59:16.464 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:16.465 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:16.467 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:16.467 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:16.569 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:16.572 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=10] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:16.572 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:16.599 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:16.599 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=10] [step=import] [2025/04/05 06:59:16.604 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:16.604 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:16.604 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:16.604 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:16.604 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:16.604 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:16.604 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:16.604 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:16.604 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:16.604 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:16.604 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:16.604 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:16.607 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:16.607 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:16.607 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:16.607 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:16.607 +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=496.5MiB]"] [takeTime=444.493649ms] [] [2025/04/05 06:59:16.607 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/05 06:59:16.616 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=10] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:16.637 +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=496.5MiB]"] [2025/04/05 06:59:16.644 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=10] [task-type=ImportInto] [server-id=:4000] [subtaskID=19] [step=post-process] [2025/04/05 06:59:16.645 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 06:59:16.645 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 06:59:16.645 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [2025/04/05 06:59:16.651 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=6.383938ms] [] [2025/04/05 06:59:16.651 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [groupId=-1] [size=288] [kvs=6] [checksum=17437960271832508338] [2025/04/05 06:59:16.651 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [checksum="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/05 06:59:16.651 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [weight=30] [2025/04/05 06:59:16.651 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [concurrency=15] [2025/04/05 06:59:16.654 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=151] [physicalTableID=151] [indexID=-1] [checksum=17437960271832508338] [totalKvs=6] [totalBytes=288] [2025/04/05 06:59:16.654 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:16.654 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [local="{cksum=17437960271832508338,size=288,kvs=6}"] [2025/04/05 06:59:16.654 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=9.37838ms] [] [2025/04/05 06:59:16.654 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=10] [step=post-process] [subtask-id=19] [takeTime=9.52264ms] [] [2025/04/05 06:59:16.654 +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=9.651185ms] [] [2025/04/05 06:59:16.663 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:16.763 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=10] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:16.763 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=10] [step=post-process] [state=running] [] [2025/04/05 06:59:16.766 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=10] [2025/04/05 06:59:16.793 +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=496.5MiB]"] [takeTime=156.342798ms] [] [2025/04/05 06:59:16.794 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=10] [type=ImportInto] [2025/04/05 06:59:16.858 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=10] [2025/04/05 06:59:16.860 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.997186488\n# Parse_time: 0.000244087\n# Compile_time: 0.000628587\n# Rewrite_time: 0.000125336\n# Optimize_time: 0.000286736\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS45bXMsIG9wZW46Njk4bnMsIGNsb3NlOjY5M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS45bXMsIG9wZW46Njk4bnMsIGNsb3NlOjY5M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:16.865 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:16.865 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=10] [2025/04/05 06:59:16.877 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:16.877 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:16.883 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.889 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:16.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=2.532228ms] [gotSchemaVersion=104] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:16.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=104] [2025/04/05 06:59:16.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=104] ["take time"=10.503424ms] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.918 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.935 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=2.756105ms] [gotSchemaVersion=105] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:16.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=105] [2025/04/05 06:59:16.941 +00:00] [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"=10.36447ms] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.949 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:151, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.956 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 151, Old Table Name: t)"] [2025/04/05 06:59:16.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.245596ms] [gotSchemaVersion=106] [phyTblIDs="[151]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:16.974 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=153] [version=106] [2025/04/05 06:59:16.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=106] ["take time"=8.395501ms] [job="ID:153, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:16.986 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=153] [tableIDs="[151]"] [comment="drop table: table ID"] [2025/04/05 06:59:16.991 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=153] [jobType="drop table"] [2025/04/05 06:59:16.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=153] [conn=2] [job="ID:153, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:16.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.011 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=153] [2025/04/05 06:59:17.012 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=106] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:17.029 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:17.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:17.029 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:17.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [2025/04/05 06:59:17.035 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:17.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.041 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 154, Table Name: t)"] [2025/04/05 06:59:17.058 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=2.096305ms] [gotSchemaVersion=107] [phyTblIDs="[154]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:17.061 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=155] [version=107] [2025/04/05 06:59:17.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=107] ["take time"=9.325185ms] [job="ID:155, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:17.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.074 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=155] [conn=2] [job="ID:155, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:17.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:17.087 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=155] [2025/04/05 06:59:17.087 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=107] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, d varchar(100)) SHARD_ROW_ID_BITS 10;"] [user=] [2025/04/05 06:59:17.094 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:17.142 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`1`, @`2`, `a`)\",\"set-clause\":\"`c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa')\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:17.164 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=11] [task-id=11] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:17.179 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=11] [2025/04/05 06:59:17.179 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:17.282 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:17.283 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:17.285 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [2025/04/05 06:59:17.294 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:17.297 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:17.297 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:17.297 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=70.071µs] [2025/04/05 06:59:17.298 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=184.871µs] [] [2025/04/05 06:59:17.298 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:17.298 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:17.336 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=11] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:17.356 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/05 06:59:17.357 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:17.366 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:17.366 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:17.366 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:17.366 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:17.366 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:17.366 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:17.366 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:17.367 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:17.367 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:17.367 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:17.381 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:17.383 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:17.383 +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/05 06:59:17.384 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=11] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:17.384 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=11] [disk-quota=700.7GiB] [2025/04/05 06:59:17.384 +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=496.5MiB]"] [2025/04/05 06:59:17.388 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=11] [mode=Import] [2025/04/05 06:59:17.392 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [2025/04/05 06:59:17.393 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [2025/04/05 06:59:17.397 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:17.400 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:17.400 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 06:59:17.408 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=11] [2025/04/05 06:59:17.445 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [2025/04/05 06:59:17.448 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.001.csv:0] [readDur=1.192911ms] [encodeDur=483.659µs] [checksum="{cksum=9096151903818431098,size=104,kvs=2}"] [deliverDur=282.171µs] [type=file] [takeTime=2.300525ms] [] [2025/04/05 06:59:17.448 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 06:59:17.448 +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/bee19331-3597-4f36-a00d-3ddfb4be0f36.sst] [firstKey=74800000000000009A5F728840000000000001] [lastKey=74800000000000009A5F72F8A0000000000002] [2025/04/05 06:59:17.479 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [2025/04/05 06:59:17.481 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.002.csv:0] [readDur=968.095µs] [encodeDur=670.472µs] [checksum="{cksum=1540599946714846010,size=104,kvs=2}"] [deliverDur=26.319µs] [type=file] [takeTime=1.906247ms] [] [2025/04/05 06:59:17.482 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=154] [2025/04/05 06:59:17.482 +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/6ed3d20d-dfab-4a24-b24d-2ca1be353173.sst] [firstKey=74800000000000009A5F728780000000000007] [lastKey=74800000000000009A5F72D700000000000006] [2025/04/05 06:59:17.568 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [2025/04/05 06:59:17.571 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=154] [key=db.tbl.003.csv:0] [readDur=978.673µs] [encodeDur=748.919µs] [checksum="{cksum=7135556550049781423,size=104,kvs=2}"] [deliverDur=28.71µs] [type=file] [takeTime=2.030945ms] [] [2025/04/05 06:59:17.571 +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/6ec7f427-64da-41bf-8d9c-c0bead949d90.sst] [firstKey=74800000000000009A5F72A60000000000000B] [lastKey=74800000000000009A5F72DA6000000000000C] [2025/04/05 06:59:17.572 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 06:59:17.572 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 06:59:17.572 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:17.575 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=3.135811ms] [] [2025/04/05 06:59:17.575 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:17.581 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:17.604 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=312] [2025/04/05 06:59:17.604 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:17.606 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009a5f728780000000000007] [endOfAllRanges=74800000000000009a5f72f8a0000000000003] [startKeyOfFirstRegion=7480000000000000ff9a5f728780000000ff0000070000000000fa] [endKeyOfLastRegion=7480000000000000ff9a5f72f8a0000000ff0000030000000000fa] [2025/04/05 06:59:17.618 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=312] [kvs=6] [importedSize=312] [importedCount=6] [2025/04/05 06:59:17.620 +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=45.019647ms] [] [2025/04/05 06:59:17.620 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:17.621 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.222663ms] [] [2025/04/05 06:59:17.622 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=11] [step=import] [engine-id=0] [2025/04/05 06:59:17.622 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:17.623 +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.680983ms] [] [2025/04/05 06:59:17.623 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:17.627 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:17.627 +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.930292ms] [] [2025/04/05 06:59:17.627 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:17.628 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.049904ms] [] [2025/04/05 06:59:17.629 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=import] [subtask-id=20] [takeTime=236.06956ms] [] [2025/04/05 06:59:17.629 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=20] [step=import] [takeTime=236.234758ms] [] [2025/04/05 06:59:17.686 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:17.688 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:17.689 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:17.689 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:17.721 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:17.723 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=11] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:17.723 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:17.759 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:17.766 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=11] [step=import] [2025/04/05 06:59:17.769 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:17.770 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:17.770 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:17.770 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:17.770 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:17.770 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:17.770 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:17.770 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:17.770 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:17.770 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:17.770 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:17.770 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:17.772 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:17.772 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:17.772 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:17.772 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:17.772 +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=496.5MiB]"] [takeTime=388.709918ms] [] [2025/04/05 06:59:17.774 +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=496.5MiB]"] [2025/04/05 06:59:17.782 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=11] [task-type=ImportInto] [server-id=:4000] [subtaskID=21] [step=post-process] [2025/04/05 06:59:17.782 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 06:59:17.782 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 06:59:17.782 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [2025/04/05 06:59:17.789 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=6.857232ms] [] [2025/04/05 06:59:17.789 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [groupId=-1] [size=312] [kvs=6] [checksum=602317331038109679] [2025/04/05 06:59:17.789 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [checksum="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/05 06:59:17.789 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [weight=30] [2025/04/05 06:59:17.789 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [concurrency=15] [2025/04/05 06:59:17.792 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=154] [physicalTableID=154] [indexID=-1] [checksum=602317331038109679] [totalKvs=6] [totalBytes=312] [2025/04/05 06:59:17.793 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:17.793 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [local="{cksum=602317331038109679,size=312,kvs=6}"] [2025/04/05 06:59:17.793 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=10.708923ms] [] [2025/04/05 06:59:17.793 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=11] [step=post-process] [subtask-id=21] [takeTime=10.843709ms] [] [2025/04/05 06:59:17.794 +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=11.869522ms] [] [2025/04/05 06:59:17.803 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:17.886 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=11] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:17.886 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=11] [step=post-process] [state=running] [] [2025/04/05 06:59:17.889 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=11] [2025/04/05 06:59:17.913 +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=496.5MiB]"] [takeTime=138.755139ms] [] [2025/04/05 06:59:17.913 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=11] [type=ImportInto] [2025/04/05 06:59:17.982 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=11] [2025/04/05 06:59:17.988 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:17.988 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=11] [2025/04/05 06:59:18.010 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:18.079 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.99187928\n# Parse_time: 0.000446426\n# Compile_time: 0.000586431\n# Rewrite_time: 0.000112397\n# Optimize_time: 0.000335865\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC41bXMsIG9wZW46NzcybnMsIGNsb3NlOjc3MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MC41bXMsIG9wZW46NzcybnMsIGNsb3NlOjc3MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (@`1`,@`2`,`a`) SET `c`=@`1`+100, `d`=@`2`, `b`=CONCAT(@`2`, _UTF8MB4'-aa') FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:18.095 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:18.095 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:18.100 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.117 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=2.605364ms] [gotSchemaVersion=108] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:18.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=108] [2025/04/05 06:59:18.123 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=108] ["take time"=9.986342ms] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.133 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=2.56102ms] [gotSchemaVersion=109] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:18.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=109] [2025/04/05 06:59:18.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=109] ["take time"=9.446423ms] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.162 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:154, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.169 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 154, Old Table Name: t)"] [2025/04/05 06:59:18.183 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.113318ms] [gotSchemaVersion=110] [phyTblIDs="[154]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:18.186 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=110] [2025/04/05 06:59:18.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=110] ["take time"=8.021571ms] [job="ID:156, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.197 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=156] [tableIDs="[154]"] [comment="drop table: table ID"] [2025/04/05 06:59:18.202 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="drop table"] [2025/04/05 06:59:18.203 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=156] [conn=2] [job="ID:156, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:154, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.221 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/05 06:59:18.222 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=110] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:18.235 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [2025/04/05 06:59:18.235 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:18.240 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:18.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.245 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 157, Table Name: t)"] [2025/04/05 06:59:18.261 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.91734ms] [gotSchemaVersion=111] [phyTblIDs="[157]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:18.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=158] [version=111] [2025/04/05 06:59:18.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=111] ["take time"=9.225404ms] [job="ID:158, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:18.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.278 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=158] [conn=2] [job="ID:158, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:18.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:18.290 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=158] [2025/04/05 06:59:18.290 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=111] [cur_db=import_into] [sql="create table t (a bigint auto_increment primary key, b int, c varchar(100), d int);"] [user=] [2025/04/05 06:59:18.297 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:18.344 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:18.364 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=12] [task-id=12] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:18.377 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=12] [2025/04/05 06:59:18.378 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:18.480 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:18.482 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:18.483 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [2025/04/05 06:59:18.491 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:18.494 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:18.494 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:18.494 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=79.743µs] [2025/04/05 06:59:18.494 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=178.556µs] [] [2025/04/05 06:59:18.494 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:18.495 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:18.535 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=12] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:18.555 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/05 06:59:18.555 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:18.563 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:18.564 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:18.564 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:18.564 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:18.564 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:18.564 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:18.564 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:18.564 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:18.565 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:18.565 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:18.577 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:18.579 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:18.579 +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/05 06:59:18.579 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=12] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:18.579 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=12] [disk-quota=700.7GiB] [2025/04/05 06:59:18.579 +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=496.5MiB]"] [2025/04/05 06:59:18.586 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=12] [mode=Import] [2025/04/05 06:59:18.587 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [2025/04/05 06:59:18.587 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [2025/04/05 06:59:18.591 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:18.595 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:18.595 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 06:59:18.605 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=12] [2025/04/05 06:59:18.669 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [2025/04/05 06:59:18.671 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.001.csv:0] [readDur=1.043535ms] [encodeDur=220.935µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=24.118µs] [type=file] [takeTime=1.648727ms] [] [2025/04/05 06:59:18.672 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 06:59:18.672 +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/016d57fd-43aa-45ab-9979-9347711df763.sst] [firstKey=74800000000000009D5F728000000000000001] [lastKey=74800000000000009D5F728000000000000002] [2025/04/05 06:59:18.755 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [2025/04/05 06:59:18.757 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.002.csv:0] [readDur=935.495µs] [encodeDur=538.17µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=26.582µs] [type=file] [takeTime=1.786323ms] [] [2025/04/05 06:59:18.758 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=157] [2025/04/05 06:59:18.758 +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/d12b6036-cc67-4317-8d77-74d2b6f8dbb5.sst] [firstKey=74800000000000009D5F728000000000000006] [lastKey=74800000000000009D5F728000000000000007] [2025/04/05 06:59:18.815 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [2025/04/05 06:59:18.817 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=157] [key=db.tbl.003.csv:0] [readDur=962.731µs] [encodeDur=497.951µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=24.882µs] [type=file] [takeTime=1.744518ms] [] [2025/04/05 06:59:18.818 +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/0ab55907-f4c0-467e-a75c-2e7252a34217.sst] [firstKey=74800000000000009D5F72800000000000000B] [lastKey=74800000000000009D5F72800000000000000C] [2025/04/05 06:59:18.818 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 06:59:18.818 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 06:59:18.818 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:18.821 +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.138268ms] [] [2025/04/05 06:59:18.821 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:18.825 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:18.847 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:18.847 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:18.849 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000009d5f728000000000000001] [endOfAllRanges=74800000000000009d5f72800000000000000d] [startKeyOfFirstRegion=7480000000000000ff9d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ff9d5f728000000000ff00000d0000000000fa] [2025/04/05 06:59:18.861 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:18.862 +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.722954ms] [] [2025/04/05 06:59:18.862 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:18.864 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.210368ms] [] [2025/04/05 06:59:18.864 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=12] [step=import] [engine-id=0] [2025/04/05 06:59:18.864 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:18.865 +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.409671ms] [] [2025/04/05 06:59:18.865 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:18.869 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:18.869 +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.694536ms] [] [2025/04/05 06:59:18.869 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:18.870 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=880.171µs] [] [2025/04/05 06:59:18.870 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=import] [subtask-id=22] [takeTime=283.280044ms] [] [2025/04/05 06:59:18.870 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=22] [step=import] [takeTime=283.450964ms] [] [2025/04/05 06:59:18.885 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:18.886 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:18.887 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:18.887 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:18.921 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:18.923 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=12] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:18.923 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:18.952 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:18.959 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=12] [step=import] [2025/04/05 06:59:18.962 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:18.962 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:18.962 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:18.962 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:18.962 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:18.962 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:18.962 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:18.962 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:18.962 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:18.962 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:18.962 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:18.962 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:18.964 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:18.964 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:18.964 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:18.964 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:18.964 +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=496.5MiB]"] [takeTime=384.823326ms] [] [2025/04/05 06:59:18.966 +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=496.5MiB]"] [2025/04/05 06:59:18.973 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [2025/04/05 06:59:18.973 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 06:59:18.973 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 06:59:18.973 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [2025/04/05 06:59:18.979 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=5.683495ms] [] [2025/04/05 06:59:18.979 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/05 06:59:18.979 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 06:59:18.979 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [weight=30] [2025/04/05 06:59:18.979 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [concurrency=15] [2025/04/05 06:59:18.981 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=157] [physicalTableID=157] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/05 06:59:18.981 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:18.981 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 06:59:18.981 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.266822ms] [] [2025/04/05 06:59:18.981 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=12] [step=post-process] [subtask-id=23] [takeTime=8.38557ms] [] [2025/04/05 06:59:18.981 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=12] [task-type=ImportInto] [server-id=:4000] [subtaskID=23] [step=post-process] [takeTime=8.513125ms] [] [2025/04/05 06:59:18.990 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:19.084 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=12] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:19.084 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=12] [step=post-process] [state=running] [] [2025/04/05 06:59:19.087 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=12] [2025/04/05 06:59:19.117 +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=496.5MiB]"] [takeTime=151.583176ms] [] [2025/04/05 06:59:19.117 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=12] [type=ImportInto] [2025/04/05 06:59:19.180 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=12] [2025/04/05 06:59:19.187 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:19.187 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=12] [2025/04/05 06:59:19.209 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:19.281 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.989920847\n# Parse_time: 0.000143067\n# Compile_time: 0.000538201\n# Rewrite_time: 0.000097385\n# Optimize_time: 0.000377766\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OW1zLCBvcGVuOjY4OW5zLCBjbG9zZToxLjA2wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OW1zLCBvcGVuOjY4OW5zLCBjbG9zZToxLjA2wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:19.296 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:19.296 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:19.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.320 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=4.178783ms] [gotSchemaVersion=112] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:19.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=112] [2025/04/05 06:59:19.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=112] ["take time"=13.572612ms] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.339 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.357 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=2.784924ms] [gotSchemaVersion=113] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:19.360 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=113] [2025/04/05 06:59:19.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=113] ["take time"=10.097145ms] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.371 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:157, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.378 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 157, Old Table Name: t)"] [2025/04/05 06:59:19.392 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.110346ms] [gotSchemaVersion=114] [phyTblIDs="[157]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:19.396 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=114] [2025/04/05 06:59:19.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=114] ["take time"=9.180419ms] [job="ID:159, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.408 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=159] [tableIDs="[157]"] [comment="drop table: table ID"] [2025/04/05 06:59:19.414 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=159] [jobType="drop table"] [2025/04/05 06:59:19.415 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=159] [conn=2] [job="ID:159, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:157, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.436 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 06:59:19.436 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=114] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:19.450 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:19.450 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [2025/04/05 06:59:19.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:19.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.462 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 160, Table Name: t)"] [2025/04/05 06:59:19.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=2.077729ms] [gotSchemaVersion=115] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:19.482 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=115] [2025/04/05 06:59:19.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=115] ["take time"=9.425079ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:19.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.497 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=161] [conn=2] [job="ID:161, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:19.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:19.510 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 06:59:19.510 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=115] [cur_db=import_into] [sql="create table t (a bigint auto_random primary key, b int, c varchar(100), d int);"] [user=] [2025/04/05 06:59:19.517 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:19.569 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`, `c`, `d`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:19.590 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=13] [task-id=13] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:19.604 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=13] [2025/04/05 06:59:19.604 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:19.708 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:19.709 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:19.710 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [2025/04/05 06:59:19.718 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:19.722 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:19.722 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:19.722 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=80.954µs] [2025/04/05 06:59:19.722 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=214.225µs] [] [2025/04/05 06:59:19.722 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:19.722 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:19.765 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=13] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:19.787 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/05 06:59:19.787 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:19.796 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:19.796 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:19.797 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:19.797 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:19.797 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:19.797 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:19.797 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:19.797 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:19.798 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:19.798 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:19.812 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:19.814 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=13] [mode=Import] [2025/04/05 06:59:19.815 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:19.815 +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/05 06:59:19.815 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=13] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:19.815 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=13] [disk-quota=700.7GiB] [2025/04/05 06:59:19.815 +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=496.5MiB]"] [2025/04/05 06:59:19.824 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [2025/04/05 06:59:19.824 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [2025/04/05 06:59:19.828 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:19.833 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:19.833 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 06:59:19.835 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=13] [2025/04/05 06:59:19.859 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [2025/04/05 06:59:19.861 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.001.csv:0] [readDur=1.187288ms] [encodeDur=280.744µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=374.994µs] [type=file] [takeTime=2.261015ms] [] [2025/04/05 06:59:19.862 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 06:59:19.862 +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/527f832e-e80c-400f-9353-12800474192a.sst] [firstKey=7480000000000000A05F728400000000000001] [lastKey=7480000000000000A05F728400000000000002] [2025/04/05 06:59:19.910 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [2025/04/05 06:59:19.912 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.002.csv:0] [readDur=1.015642ms] [encodeDur=578.492µs] [checksum="{cksum=12305018038957930638,size=82,kvs=2}"] [deliverDur=25.669µs] [type=file] [takeTime=1.936474ms] [] [2025/04/05 06:59:19.913 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=160] [2025/04/05 06:59:19.913 +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/454d425f-ca62-4c26-91fa-7adf86ddb926.sst] [firstKey=7480000000000000A05F728000000000000006] [lastKey=7480000000000000A05F728000000000000007] [2025/04/05 06:59:19.976 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [2025/04/05 06:59:19.978 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=160] [key=db.tbl.003.csv:0] [readDur=956.872µs] [encodeDur=642.787µs] [checksum="{cksum=17907548893808300386,size=82,kvs=2}"] [deliverDur=29.211µs] [type=file] [takeTime=1.905734ms] [] [2025/04/05 06:59:19.979 +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/2c553df2-63b1-40f3-862b-166865109638.sst] [firstKey=7480000000000000A05F728C0000000000000B] [lastKey=7480000000000000A05F728C0000000000000C] [2025/04/05 06:59:19.979 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 06:59:19.980 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 06:59:19.980 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:19.982 +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.087545ms] [] [2025/04/05 06:59:19.982 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:19.987 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:20.008 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:20.009 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:20.010 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a05f728000000000000006] [endOfAllRanges=7480000000000000a05f728c0000000000000d] [startKeyOfFirstRegion=7480000000000000ffa05f728000000000ff0000060000000000fa] [endKeyOfLastRegion=7480000000000000ffa05f728c00000000ff00000d0000000000fa] [2025/04/05 06:59:20.023 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:20.024 +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.236101ms] [] [2025/04/05 06:59:20.024 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:20.025 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.249291ms] [] [2025/04/05 06:59:20.026 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=13] [step=import] [engine-id=0] [2025/04/05 06:59:20.026 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:20.027 +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.729995ms] [] [2025/04/05 06:59:20.027 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:20.031 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:20.031 +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.824797ms] [] [2025/04/05 06:59:20.031 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:20.032 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=992.734µs] [] [2025/04/05 06:59:20.033 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=import] [subtask-id=24] [takeTime=208.579271ms] [] [2025/04/05 06:59:20.033 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=24] [step=import] [takeTime=208.730982ms] [] [2025/04/05 06:59:20.112 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:20.113 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:20.114 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:20.114 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:20.145 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:20.146 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=13] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:20.146 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:20.178 +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/05 06:59:20.185 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=13] [step=import] [2025/04/05 06:59:20.188 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:20.188 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:20.188 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:20.188 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:20.188 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:20.188 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:20.188 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:20.188 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:20.188 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:20.188 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:20.188 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:20.188 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:20.190 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:20.190 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:20.190 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:20.190 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:20.190 +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=496.5MiB]"] [takeTime=375.329218ms] [] [2025/04/05 06:59:20.192 +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=496.5MiB]"] [2025/04/05 06:59:20.200 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=13] [task-type=ImportInto] [server-id=:4000] [subtaskID=25] [step=post-process] [2025/04/05 06:59:20.200 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 06:59:20.200 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 06:59:20.200 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [2025/04/05 06:59:20.206 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=6.020665ms] [] [2025/04/05 06:59:20.206 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [groupId=-1] [size=246] [kvs=6] [checksum=5007723872062626566] [2025/04/05 06:59:20.206 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [checksum="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 06:59:20.206 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [weight=30] [2025/04/05 06:59:20.206 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [concurrency=15] [2025/04/05 06:59:20.209 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=160] [physicalTableID=160] [indexID=-1] [checksum=5007723872062626566] [totalKvs=6] [totalBytes=246] [2025/04/05 06:59:20.209 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:20.209 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [local="{cksum=5007723872062626566,size=246,kvs=6}"] [2025/04/05 06:59:20.209 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=9.114613ms] [] [2025/04/05 06:59:20.209 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=13] [step=post-process] [subtask-id=25] [takeTime=9.272991ms] [] [2025/04/05 06:59:20.209 +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=9.434686ms] [] [2025/04/05 06:59:20.226 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:20.313 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=13] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:20.313 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=13] [step=post-process] [state=running] [] [2025/04/05 06:59:20.316 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=13] [2025/04/05 06:59:20.332 +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=496.5MiB]"] [takeTime=140.415693ms] [] [2025/04/05 06:59:20.333 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=13] [type=ImportInto] [2025/04/05 06:59:20.407 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=13] [2025/04/05 06:59:20.413 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:20.413 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=13] [2025/04/05 06:59:20.435 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:20.508 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996886368\n# Parse_time: 0.000136887\n# Compile_time: 0.000523883\n# Rewrite_time: 0.000127492\n# Optimize_time: 0.000272268\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS45bXMsIG9wZW46ODc2bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NS45bXMsIG9wZW46ODc2bnMsIGNsb3NlOjEuMDbCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`b`,`c`,`d`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:20.524 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:20.524 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:20.530 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.549 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.872831ms] [gotSchemaVersion=116] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:20.552 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=116] [2025/04/05 06:59:20.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=116] ["take time"=10.382486ms] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.565 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.582 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=2.741832ms] [gotSchemaVersion=117] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:20.586 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=117] [2025/04/05 06:59:20.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=117] ["take time"=10.453479ms] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.596 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:160, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.603 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 160, Old Table Name: t)"] [2025/04/05 06:59:20.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.25438ms] [gotSchemaVersion=118] [phyTblIDs="[160]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:20.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=162] [version=118] [2025/04/05 06:59:20.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=118] ["take time"=8.816309ms] [job="ID:162, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.634 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=162] [tableIDs="[160]"] [comment="drop table: table ID"] [2025/04/05 06:59:20.639 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=162] [jobType="drop table"] [2025/04/05 06:59:20.640 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=162] [conn=2] [job="ID:162, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.660 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=162] [2025/04/05 06:59:20.660 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=118] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:20.675 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:20.675 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [2025/04/05 06:59:20.681 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:20.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.686 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 163, Table Name: t)"] [2025/04/05 06:59:20.705 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=2.544997ms] [gotSchemaVersion=119] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:20.709 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/05 06:59:20.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=119] ["take time"=10.242827ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:20.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.724 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=169] [conn=2] [job="ID:169, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:20.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:20.736 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/05 06:59:20.737 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=119] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int) partition by hash(a) partitions 5;"] [user=] [2025/04/05 06:59:20.743 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:20.796 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:20.817 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=14] [task-id=14] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:20.833 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=14] [2025/04/05 06:59:20.833 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:20.935 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:20.937 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:20.938 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [2025/04/05 06:59:20.947 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:20.950 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:20.950 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:20.950 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=78.404µs] [2025/04/05 06:59:20.950 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=223.949µs] [] [2025/04/05 06:59:20.950 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:20.950 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:20.985 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=14] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:21.006 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/05 06:59:21.006 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:21.015 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:21.015 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:21.015 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:21.015 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:21.016 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:21.016 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:21.016 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:21.016 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:21.016 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:21.016 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:21.030 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:21.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/05 06:59:21.032 +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/05 06:59:21.032 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=14] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:21.032 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=14] [disk-quota=700.7GiB] [2025/04/05 06:59:21.032 +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=496.5MiB]"] [2025/04/05 06:59:21.040 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [2025/04/05 06:59:21.040 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [2025/04/05 06:59:21.043 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=14] [mode=Import] [2025/04/05 06:59:21.044 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:21.048 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:21.048 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 06:59:21.068 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=14] [2025/04/05 06:59:21.168 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [2025/04/05 06:59:21.170 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.001.csv:0] [readDur=1.045066ms] [encodeDur=484.385µs] [checksum="{cksum=16213359102171664855,size=82,kvs=2}"] [deliverDur=465.411µs] [type=file] [takeTime=2.56299ms] [] [2025/04/05 06:59:21.171 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 06:59:21.171 +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/91ad51f1-4d25-4d84-be71-1ca5061f34e5.sst] [firstKey=7480000000000000A55F728000000000000001] [lastKey=7480000000000000A65F728000000000000002] [2025/04/05 06:59:21.214 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [2025/04/05 06:59:21.216 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.002.csv:0] [readDur=1.197666ms] [encodeDur=129.025µs] [checksum="{cksum=14751810491585428438,size=82,kvs=2}"] [deliverDur=28.648µs] [type=file] [takeTime=1.714689ms] [] [2025/04/05 06:59:21.216 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=163] [2025/04/05 06:59:21.216 +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/a17e2563-d235-4b39-ba7e-7763982fcdc9.sst] [firstKey=7480000000000000A75F728000000000000008] [lastKey=7480000000000000A85F728000000000000009] [2025/04/05 06:59:21.251 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [2025/04/05 06:59:21.253 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=163] [key=db.tbl.003.csv:0] [readDur=1.083683ms] [encodeDur=517.787µs] [checksum="{cksum=11041058475576731475,size=82,kvs=2}"] [deliverDur=32.223µs] [type=file] [takeTime=2.055817ms] [] [2025/04/05 06:59:21.254 +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/2b37a817-b905-4dc3-802d-ba769715dba5.sst] [firstKey=7480000000000000A45F72800000000000000F] [lastKey=7480000000000000A55F728000000000000010] [2025/04/05 06:59:21.254 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 06:59:21.254 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 06:59:21.254 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:21.257 +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.937256ms] [] [2025/04/05 06:59:21.258 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:21.263 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:21.285 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:21.285 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:21.287 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000a45f72800000000000000f] [endOfAllRanges=7480000000000000a85f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffa45f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffa85f728000000000ff00000a0000000000fa] [2025/04/05 06:59:21.301 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:21.303 +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=45.804523ms] [] [2025/04/05 06:59:21.303 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:21.305 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.288803ms] [] [2025/04/05 06:59:21.305 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=14] [step=import] [engine-id=0] [2025/04/05 06:59:21.305 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:21.307 +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.885863ms] [] [2025/04/05 06:59:21.307 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:21.311 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:21.311 +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.750764ms] [] [2025/04/05 06:59:21.311 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:21.312 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=956.194µs] [] [2025/04/05 06:59:21.312 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=import] [subtask-id=26] [takeTime=271.847518ms] [] [2025/04/05 06:59:21.312 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=26] [step=import] [takeTime=272.51851ms] [] [2025/04/05 06:59:21.341 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:21.343 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:21.345 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:21.345 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:21.380 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:21.381 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=14] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:21.381 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:21.422 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:21.429 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=14] [step=import] [2025/04/05 06:59:21.432 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:21.432 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:21.432 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:21.432 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:21.432 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:21.432 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:21.432 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:21.432 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:21.432 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:21.432 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:21.432 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:21.432 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:21.435 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:21.435 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:21.435 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:21.435 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:21.435 +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=496.5MiB]"] [takeTime=402.840047ms] [] [2025/04/05 06:59:21.436 +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=496.5MiB]"] [2025/04/05 06:59:21.445 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=14] [task-type=ImportInto] [server-id=:4000] [subtaskID=27] [step=post-process] [2025/04/05 06:59:21.445 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 06:59:21.445 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 06:59:21.445 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [2025/04/05 06:59:21.451 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=6.337522ms] [] [2025/04/05 06:59:21.451 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [groupId=-1] [size=246] [kvs=6] [checksum=13006432450665811282] [2025/04/05 06:59:21.451 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [checksum="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/05 06:59:21.452 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [weight=30] [2025/04/05 06:59:21.452 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [concurrency=15] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=166] [indexID=-1] [checksum=2371675647220738361] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=164] [indexID=-1] [checksum=14049448901168824011] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=165] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=163] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=167] [indexID=-1] [checksum=1988465643996300784] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:21.454 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=163] [physicalTableID=168] [indexID=-1] [checksum=15501538953154248230] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:21.455 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:21.455 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [local="{cksum=13006432450665811282,size=246,kvs=6}"] [2025/04/05 06:59:21.455 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.067378ms] [] [2025/04/05 06:59:21.455 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=14] [step=post-process] [subtask-id=27] [takeTime=10.203791ms] [] [2025/04/05 06:59:21.457 +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.798395ms] [] [2025/04/05 06:59:21.472 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:21.541 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=14] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:21.541 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=14] [step=post-process] [state=running] [] [2025/04/05 06:59:21.544 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=14] [2025/04/05 06:59:21.562 +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=496.5MiB]"] [takeTime=125.172564ms] [] [2025/04/05 06:59:21.562 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=14] [type=ImportInto] [2025/04/05 06:59:21.635 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=14] [2025/04/05 06:59:21.642 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:21.642 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=14] [2025/04/05 06:59:21.665 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:21.735 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.997342313\n# Parse_time: 0.000127593\n# Compile_time: 0.00049465\n# Rewrite_time: 0.000110709\n# Optimize_time: 0.000415465\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni40bXMsIG9wZW46NjYzbnMsIGNsb3NlOjcxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni40bXMsIG9wZW46NjYzbnMsIGNsb3NlOjcxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:21.751 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 06:59:21.751 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:queueing, SchemaState:public, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=3.355552ms] [gotSchemaVersion=120] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=120] [2025/04/05 06:59:21.781 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=120] ["take time"=11.149814ms] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.792 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:write only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=3.224365ms] [gotSchemaVersion=121] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=121] [2025/04/05 06:59: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=121] ["take time"=10.791616ms] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.824 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:running, SchemaState:delete only, SchemaID:116, TableID:163, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.831 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 163, Old Table Name: t)"] [2025/04/05 06:59:21.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.388816ms] [gotSchemaVersion=122] [phyTblIDs="[163,164,165,166,167,168]"] [actionTypes="[4,4,4,4,4,4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=170] [version=122] [2025/04/05 06:59:21.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=122] ["take time"=9.048391ms] [job="ID:170, Type:drop table, State:done, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.863 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[164,165,166,167,168]"] [comment="drop table: partition table IDs"] [2025/04/05 06:59:21.869 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=170] [tableIDs="[163]"] [comment="drop table: table ID"] [2025/04/05 06:59:21.873 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=170] [jobType="drop table"] [2025/04/05 06:59:21.875 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=170] [conn=2] [job="ID:170, Type:drop table, State:synced, SchemaState:none, SchemaID:116, TableID:163, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.894 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=170] [2025/04/05 06:59:21.895 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=122] [cur_db=import_into] [sql="drop table if exists t;"] [user=] [2025/04/05 06:59:21.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [2025/04/05 06:59:21.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:queueing, SchemaState:none, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:21.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.921 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 171, Table Name: t)"] [2025/04/05 06:59:21.939 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=2.746262ms] [gotSchemaVersion=123] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[3,3,3,3,3,3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:21.943 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=177] [version=123] [2025/04/05 06:59:21.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=123] ["take time"=10.029244ms] [job="ID:177, Type:create table, State:done, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.956 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=177] [conn=2] [job="ID:177, Type:create table, State:synced, SchemaState:public, SchemaID:116, TableID:171, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:21.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.969 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=177] [2025/04/05 06:59:21.969 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int, index idx(c) global) partition by hash(a) partitions 5;"] [user=] [2025/04/05 06:59:21.977 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:22.027 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`c`, `b`, `a`)\",\"file-location\":\"gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:22.048 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=15] [task-id=15] [data-size=63B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:22.063 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=15] [2025/04/05 06:59:22.063 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:22.165 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:22.167 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:22.169 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [2025/04/05 06:59:22.177 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:22.180 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:22.180 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=63] [2025/04/05 06:59:22.180 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=3] [MaxChunkSize=268435456] [RegionsCount=3] [BatchSize=63] [cost=109.907µs] [2025/04/05 06:59:22.180 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=233.192µs] [] [2025/04/05 06:59:22.180 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:22.180 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:22.214 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=15] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:22.235 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/05 06:59:22.235 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:22.244 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:22.244 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:22.244 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:22.244 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:22.245 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:22.245 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:22.245 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:22.245 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:22.245 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:22.245 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:22.258 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:22.260 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:22.260 +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/05 06:59:22.260 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=15] [step=import] [data-buf-limit=186.2MiB] [per-index-buf-limit=62.06MiB] [index-buf-block-size=16MiB] [2025/04/05 06:59:22.260 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=15] [disk-quota=700.7GiB] [2025/04/05 06:59:22.260 +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=496.5MiB]"] [2025/04/05 06:59:22.268 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [2025/04/05 06:59:22.268 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [2025/04/05 06:59:22.272 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:22.272 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=15] [mode=Import] [2025/04/05 06:59:22.276 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:22.276 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 06:59:22.293 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=15] [2025/04/05 06:59:22.311 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [2025/04/05 06:59:22.313 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.001.csv:0] [readDur=1.019927ms] [encodeDur=605.118µs] [checksum="{cksum=1662318414680892248,size=176,kvs=4}"] [deliverDur=191.934µs] [type=file] [takeTime=2.152281ms] [] [2025/04/05 06:59:22.314 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 06:59:22.314 +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/aac6859d-34d1-44aa-a20c-1164aa4f77f9.sst] [firstKey=7480000000000000AD5F728000000000000001] [lastKey=7480000000000000AE5F728000000000000002] [2025/04/05 06:59:22.372 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [2025/04/05 06:59:22.374 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.002.csv:0] [readDur=1.046564ms] [encodeDur=678.961µs] [checksum="{cksum=4412110495057608976,size=176,kvs=4}"] [deliverDur=53.507µs] [type=file] [takeTime=2.101795ms] [] [2025/04/05 06:59:22.375 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=171] [2025/04/05 06:59:22.375 +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/21bf6605-3a05-49aa-a544-9c153230e729.sst] [firstKey=7480000000000000AF5F728000000000000008] [lastKey=7480000000000000B05F728000000000000009] [2025/04/05 06:59:22.417 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [2025/04/05 06:59:22.419 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=171] [key=db.tbl.003.csv:0] [readDur=1.152393ms] [encodeDur=314.087µs] [checksum="{cksum=7701721142981934355,size=176,kvs=4}"] [deliverDur=38.794µs] [type=file] [takeTime=1.748154ms] [] [2025/04/05 06:59:22.420 +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/bc089811-6ac0-434e-80a4-47b9e61c5ba8.sst] [firstKey=7480000000000000AC5F72800000000000000F] [lastKey=7480000000000000AD5F728000000000000010] [2025/04/05 06:59:22.420 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 06:59:22.421 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 06:59:22.421 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:22.423 +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.413534ms] [] [2025/04/05 06:59:22.423 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:22.428 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:22.450 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=6] [size=246] [2025/04/05 06:59:22.450 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:22.452 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ac5f72800000000000000f] [endOfAllRanges=7480000000000000b05f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffac5f728000000000ff00000f0000000000fa] [endKeyOfLastRegion=7480000000000000ffb05f728000000000ff00000a0000000000fa] [2025/04/05 06:59:22.463 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=246] [kvs=6] [importedSize=246] [importedCount=6] [2025/04/05 06:59:22.465 +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.093822ms] [] [2025/04/05 06:59:22.465 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:22.467 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.477253ms] [] [2025/04/05 06:59:22.467 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=15] [step=import] [engine-id=0] [2025/04/05 06:59:22.467 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:22.468 +00:00] [INFO] [engine.go:1695] ["compact sst"] [category=ddl-ingest] [fileCount=3] [size=282] [count=6] [cost=1.456625ms] [file=/tmp/tidb/import-4000/15/2d9462f7-8d8a-52db-8655-8d0214d0d974.sst/bd5610c9-6fd8-42d4-b5a7-aae9b1f70e21.sst] [2025/04/05 06:59:22.469 +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/bd5610c9-6fd8-42d4-b5a7-aae9b1f70e21.sst] [firstKey=7480000000000000AB5F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000000AB5F698000000000000001038000000000000006038000000000000010] [2025/04/05 06:59:22.472 +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.609231ms] [] [2025/04/05 06:59:22.472 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:22.476 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:22.498 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] ["region ranges"=1] [count=6] [size=282] [2025/04/05 06:59:22.498 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:22.500 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ab5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000000ab5f69800000000000000103800000000000000603800000000000001000] [startKeyOfFirstRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000000ffab5f698000000000ff0000010380000000ff0000000603800000ff0000000010000000fd] [2025/04/05 06:59:22.512 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2d9462f7-8d8a-52db-8655-8d0214d0d974] [size=282] [kvs=6] [importedSize=282] [importedCount=6] [2025/04/05 06:59:22.513 +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.794922ms] [] [2025/04/05 06:59:22.514 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:22.515 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=1.373183ms] [] [2025/04/05 06:59:22.515 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=import] [subtask-id=28] [takeTime=247.037465ms] [] [2025/04/05 06:59:22.515 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=28] [step=import] [takeTime=247.226843ms] [] [2025/04/05 06:59:22.570 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:22.572 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:22.573 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:22.573 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:22.604 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:22.606 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=15] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:22.606 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:22.644 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:22.651 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=15] [step=import] [2025/04/05 06:59:22.656 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:22.656 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:22.656 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:22.656 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:22.656 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:22.656 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:22.656 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:22.656 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:22.656 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:22.656 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:22.656 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:22.656 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:22.659 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:22.659 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:22.659 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:22.659 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:22.659 +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=496.5MiB]"] [takeTime=399.061243ms] [] [2025/04/05 06:59:22.661 +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=496.5MiB]"] [2025/04/05 06:59:22.669 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [2025/04/05 06:59:22.669 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 06:59:22.669 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 06:59:22.669 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [2025/04/05 06:59:22.676 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=6.535242ms] [] [2025/04/05 06:59:22.676 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=-1] [size=246] [kvs=6] [checksum=15435699723023344983] [2025/04/05 06:59:22.676 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [groupId=1] [size=282] [kvs=6] [checksum=10880652011295013388] [2025/04/05 06:59:22.676 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [checksum="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/05 06:59:22.676 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [weight=30] [2025/04/05 06:59:22.676 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [concurrency=15] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=-1] [checksum=4237504610754446731] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=172] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=-1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=-1] [checksum=11108301263936872822] [totalKvs=2] [totalBytes=82] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=173] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.683 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=-1] [checksum=15627185901153243769] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:22.684 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=171] [indexID=1] [checksum=10880652011295013388] [totalKvs=6] [totalBytes=282] [2025/04/05 06:59:22.684 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=174] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.684 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=-1] [checksum=16406466517589687984] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:22.684 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=175] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.684 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=-1] [checksum=5593806493376572771] [totalKvs=1] [totalBytes=41] [2025/04/05 06:59:22.685 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=171] [physicalTableID=176] [indexID=1] [checksum=0] [totalKvs=0] [totalBytes=0] [2025/04/05 06:59:22.685 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:22.685 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [local="{cksum=4668341958182575963,size=528,kvs=12}"] [2025/04/05 06:59:22.685 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.771645ms] [] [2025/04/05 06:59:22.685 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=15] [step=post-process] [subtask-id=29] [takeTime=15.925938ms] [] [2025/04/05 06:59:22.685 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=15] [task-type=ImportInto] [server-id=:4000] [subtaskID=29] [step=post-process] [takeTime=16.092232ms] [] [2025/04/05 06:59:22.699 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:22.770 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=15] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:22.770 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=15] [step=post-process] [state=running] [] [2025/04/05 06:59:22.774 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=15] [2025/04/05 06:59:22.805 +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=496.5MiB]"] [takeTime=143.157427ms] [] [2025/04/05 06:59:22.805 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=15] [type=ImportInto] [2025/04/05 06:59:22.865 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=15] [2025/04/05 06:59:22.871 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:22.872 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=15] [2025/04/05 06:59:22.895 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:22.966 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 2\n# Query_time: 0.996373814\n# Parse_time: 0.000108256\n# Compile_time: 0.000513589\n# Rewrite_time: 0.000116578\n# Optimize_time: 0.000385592\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS40bXMsIG9wZW46NjI0bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5NS40bXMsIG9wZW46NjI0bnMsIGNsb3NlOjEuMDXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `import_into`.`t` (`c`,`b`,`a`) FROM 'gs://test-multi-load/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] --- PASS: TestImportInto/TestBasicImportInto (17.59s) === NAME TestImportInto === RUN TestImportInto/TestCancelJob [2025/04/05 06:59:22.974 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=123] [cur_db=import_into] [sql="drop database if exists test_cancel_job"] [user=] [2025/04/05 06:59:22.987 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:22.987 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_cancel_job"] [2025/04/05 06:59:22.995 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:queueing, SchemaState:none, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:22.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.009 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=728.622µs] [gotSchemaVersion=124] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:23.013 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=179] [version=124] [2025/04/05 06:59:23.015 +00:00] [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.104425ms] [job="ID:179, Type:create schema, State:done, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.025 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=179] [conn=2] [job="ID:179, Type:create schema, State:synced, SchemaState:public, SchemaID:178, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:22.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.036 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=179] [2025/04/05 06:59:23.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=124] [cur_db=import_into] [sql="create database test_cancel_job"] [user=] [2025/04/05 06:59:23.050 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.050 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 06:59:23.055 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:23.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.060 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 180, Table Name: t1)"] [2025/04/05 06:59:23.074 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.536966ms] [gotSchemaVersion=125] [phyTblIDs="[180]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:23.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=181] [version=125] [2025/04/05 06:59:23.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=125] ["take time"=8.69623ms] [job="ID:181, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.090 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=181] [conn=2] [job="ID:181, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:180, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:23.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=181] [2025/04/05 06:59:23.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=125] [cur_db=test_cancel_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=] [2025/04/05 06:59:23.115 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.115 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 06:59:23.120 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:23.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.125 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 182, Table Name: t2)"] [2025/04/05 06:59:23.138 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.604339ms] [gotSchemaVersion=126] [phyTblIDs="[182]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:23.142 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=126] [2025/04/05 06:59:23.143 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=126] ["take time"=8.726932ms] [job="ID:183, Type:create table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.155 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=183] [conn=2] [job="ID:183, Type:create table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:23.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.166 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 06:59:23.166 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=] [2025/04/05 06:59:23.259 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job1'@'localhost';"] [user=] [2025/04/05 06:59:23.303 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job1@localhost"] [user=] [2025/04/05 06:59:23.351 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job1'@'localhost'"] [user=] [2025/04/05 06:59:23.408 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] [cur_db=test_cancel_job] [sql="DROP USER IF EXISTS 'test_cancel_job2'@'localhost';"] [user=] [2025/04/05 06:59:23.445 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="create user test_cancel_job2@localhost"] [user=] [2025/04/05 06:59:23.489 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=126] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_cancel_job.* to 'test_cancel_job2'@'localhost'"] [user=] [2025/04/05 06:59:23.491 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:23.491 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8170]Job ID 9999999999 doesn't exist"] [errorVerbose="[executor:8170]Job ID 9999999999 doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:151\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:402\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 06:59:23.498 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:23.544 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 06:59:23.562 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=16] [task-id=16] [data-size=3B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:23.575 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=16] [2025/04/05 06:59:23.575 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:23.678 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:23.679 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:23.679 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [2025/04/05 06:59:23.687 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:23.688 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=16] [action="\"cancel\""] [2025/04/05 06:59:23.689 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 06:59:23.689 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 06:59:23.689 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=58.686µs] [2025/04/05 06:59:23.690 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=186.323µs] [] [2025/04/05 06:59:23.690 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=16] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:23.690 +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=33] [subtasks=1] [2025/04/05 06:59:23.777 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/05 06:59:23.779 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=16] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/05 06:59:23.882 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=16] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:23.884 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=16] [step=init] [mode=Normal] [2025/04/05 06:59:23.977 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=16] [2025/04/05 06:59:23.983 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:23.983 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=16] [2025/04/05 06:59:24.002 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:24.012 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=16] [action="\"cancel\""] [takeTime=323.342485ms] [] [2025/04/05 06:59:24.012 +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.325843435\n# Parse_time: 0.000045886\n# Compile_time: 0.000262578\n# Rewrite_time: 0.000002055\n# Optimize_time: 0.000706463\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test_cancel_job;\ncancel import job 16;"] [2025/04/05 06:59:24.528 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:24.528 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job1\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job1\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 06:59:24.531 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:24.531 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation"] [errorVerbose="[planner:1227]Access denied; you need (at least one of) the SUPER privilege(s) for this operation\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.GetJob\n\tpkg/executor/importer/job.go:159\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus.func1\n\tpkg/executor/import_into.go:375\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).checkPrivilegeAndStatus\n\tpkg/executor/import_into.go:372\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoActionExec).Next\n\tpkg/executor/import_into.go:358\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestCancelJob\n\ttests/realtikvtest/importintotest/job_test.go:450\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"test_cancel_job2\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"test_cancel_job2\",\n \"AuthHostname\": \"localhost\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 06:59:24.534 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:24.535 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[executor:8171]The current job status cannot perform the operation. CANCEL"] [session="{\n \"currDBName\": \"test_cancel_job\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 06:59:24.541 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:24.595 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 06:59:24.613 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=17] [task-id=17] [data-size=3B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:24.628 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=17] [2025/04/05 06:59:24.628 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:24.731 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:24.732 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:24.733 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [2025/04/05 06:59:24.741 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:24.744 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 06:59:24.744 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 06:59:24.744 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=53.608µs] [2025/04/05 06:59:24.744 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=158.549µs] [] [2025/04/05 06:59:24.744 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:24.744 +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=33] [subtasks=1] [2025/04/05 06:59:24.786 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:24.807 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/05 06:59:24.807 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:24.882 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:24.883 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:24.883 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:24.883 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:24.884 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:24.884 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:24.884 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:24.884 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:24.885 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:24.885 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:24.887 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=17] [mode=Import] [2025/04/05 06:59:24.908 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:24.910 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=17] [2025/04/05 06:59:24.910 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:24.910 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=752.3GB] [2025/04/05 06:59:24.910 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=17] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:24.910 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=17] [disk-quota=700.7GiB] [2025/04/05 06:59:24.910 +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=33, Mem=16GiB]"] [2025/04/05 06:59:24.919 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [2025/04/05 06:59:24.919 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [2025/04/05 06:59:24.924 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 06:59:24.928 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 06:59:24.928 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=182] [2025/04/05 06:59:24.993 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=182] [key=t.csv:0] [2025/04/05 06:59:24.996 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=182] [key=t.csv:0] [readDur=1.081579ms] [encodeDur=1.107533ms] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=24.944µs] [type=file] [takeTime=2.610227ms] [] [2025/04/05 06:59:24.996 +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/3097f2b4-6cff-45ca-a4d5-2942c8e2bbdd.sst] [firstKey=7480000000000000B65F728000000000000001] [lastKey=7480000000000000B65F728000000000000002] [2025/04/05 06:59:24.997 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 06:59:24.997 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 06:59:24.997 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 06:59:24.999 +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.605766ms] [] [2025/04/05 06:59:24.999 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [retryCnt=0] [2025/04/05 06:59:25.004 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:25.026 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] ["region ranges"=1] [count=2] [size=50] [2025/04/05 06:59:25.027 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:25.029 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000b65f728000000000000001] [endOfAllRanges=7480000000000000b65f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffb65f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffb65f728000000000ff0000030000000000fa] [2025/04/05 06:59:25.041 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 06:59:25.043 +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=43.111047ms] [] [2025/04/05 06:59:25.043 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:0] [engineUUID=53400eb2-f75b-5777-a5ee-cfa50fd4a756] [2025/04/05 06:59:25.044 +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.124527ms] [] [2025/04/05 06:59:25.044 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=17] [step=import] [engine-id=0] [2025/04/05 06:59:25.044 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 06:59:25.046 +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.671876ms] [] [2025/04/05 06:59:25.046 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [retryCnt=0] [2025/04/05 06:59:25.049 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 06:59:25.050 +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.753142ms] [] [2025/04/05 06:59:25.050 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [2025/04/05 06:59:25.051 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_cancel_job`.`t2`:-1] [engineUUID=3b791ee0-18d2-5a77-83dc-792402f82bf3] [takeTime=1.024281ms] [] [2025/04/05 06:59:25.051 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=import] [subtask-id=30] [takeTime=131.549458ms] [] [2025/04/05 06:59:25.051 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=30] [step=import] [takeTime=132.091766ms] [] [2025/04/05 06:59:25.139 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:25.140 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:25.141 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:25.141 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:25.175 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:25.176 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=17] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:25.176 +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=33] [subtasks=1] [2025/04/05 06:59:25.200 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:25.201 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=17] [step=import] [2025/04/05 06:59:25.204 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:25.204 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:25.204 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:25.204 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:25.204 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:25.204 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:25.204 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:25.204 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:25.204 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:25.204 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:25.204 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:25.204 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:25.206 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:25.206 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:25.206 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:25.206 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:25.206 +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=33, Mem=16GiB]"] [takeTime=296.10725ms] [] [2025/04/05 06:59:25.206 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/05 06:59:25.215 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=17] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:25.234 +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=33, Mem=16GiB]"] [2025/04/05 06:59:25.242 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=post-process] [2025/04/05 06:59:25.243 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 06:59:25.246 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=17] [action="\"cancel\""] [2025/04/05 06:59:25.330 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=post-process] [new-step=post-process] [2025/04/05 06:59:25.332 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=17] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=post-process] [2025/04/05 06:59:25.345 +00:00] [INFO] [manager.go:235] [onCanceledTasks] [server-id=:4000] [task-id=17] [2025/04/05 06:59:25.436 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=17] [step=post-process] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:25.437 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=17] [step=post-process] [mode=Normal] [2025/04/05 06:59:25.442 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=17] [2025/04/05 06:59:25.530 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=17] [2025/04/05 06:59:25.539 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:25.539 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=17] [2025/04/05 06:59:25.559 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:25.571 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=17] [action="\"cancel\""] [takeTime=325.56043ms] [] [2025/04/05 06:59:25.572 +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.32860721\n# Parse_time: 0.000306003\n# Compile_time: 0.000347732\n# Rewrite_time: 0.000001771\n# Optimize_time: 0.000042067\n# Wait_TS: 0\n# DB: test_cancel_job\n# Is_internal: false\n# Digest: 385c1fb0f1877fcd1132bb40d62e02e866f0e27765127b1859c6f3db4b0f4443\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\ncancel import job 17;"] [2025/04/05 06:59:25.752 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 06:59:25.752 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [2025/04/05 06:59:25.752 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=1.999µs] [] [2025/04/05 06:59:25.752 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 06:59:25.752 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 06:59:25.753 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [weight=30] [2025/04/05 06:59:25.753 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [concurrency=15] [2025/04/05 06:59:25.753 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:25.753 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:25.753 +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.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildChecksumTable\n\tpkg/executor/builder.go:735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:177\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable.func4\n\tpkg/executor/importer/table_import.go:906\ngithub.com/pingcap/tidb/pkg/executor/importer.checksumTable\n\tpkg/executor/importer/table_import.go:933\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:841\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:25.756 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=182] [physicalTableID=182] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 06:59:25.756 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 06:59:25.756 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=3.756959ms] [] [2025/04/05 06:59:25.756 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=17] [step=post-process] [subtask-id=31] [takeTime=513.530164ms] [] [2025/04/05 06:59:25.756 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [step=post-process] [takeTime=513.658575ms] [] [2025/04/05 06:59:25.758 +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).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/base.go:201\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtForUpdateTS\n\tpkg/sessiontxn/isolation/optimistic.go:119\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtForUpdateTS\n\tpkg/session/txnmanager.go:106\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).updateForUpdateTS\n\tpkg/executor/builder.go:2832\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildUpdate\n\tpkg/executor/builder.go:2735\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:259\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:25.760 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:25.761 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=126] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [session="{\n \"currDBName\": \"\",\n \"id\": 0,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": null\n}"] [2025/04/05 06:59:25.761 +00:00] [WARN] [handle.go:229] ["met retryable error"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [retry-count=0] [max-retry=30] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/driver/txn.extractKeyErr\n\tpkg/store/driver/txn/error.go:166\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvSnapshot).Get\n\tpkg/store/driver/txn/snapshot.go:61\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).get\n\tpkg/executor/point_get.go:698\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).getAndLock\n\tpkg/executor/point_get.go:572\ngithub.com/pingcap/tidb/pkg/executor.(*PointGetExecutor).Next\n\tpkg/executor/point_get.go:405\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*SelectionExec).Next\n\tpkg/executor/select.go:719\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).updateRows\n\tpkg/executor/update.go:403\ngithub.com/pingcap/tidb/pkg/executor.(*UpdateExec).Next\n\tpkg/executor/update.go:356\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelayExecutor\n\tpkg/executor/adapter.go:1022\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).handleNoDelay\n\tpkg/executor/adapter.go:855\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:618\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession.func1\n\tpkg/disttask/framework/storage/task_table.go:205\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).ExecuteSQLWithNewSession\n\tpkg/disttask/framework/storage/task_table.go:204\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).FinishSubtask\n\tpkg/disttask/framework/storage/subtask_state.go:51\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:681\ngithub.com/pingcap/tidb/pkg/disttask/framework/handle.RunWithRetry\n\tpkg/disttask/framework/handle/handle.go:224\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:679\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343"] [2025/04/05 06:59:25.761 +00:00] [ERROR] [task_executor.go:685] ["failed to finish subtask"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [subtaskID=31] [takes=5.143223ms] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).finishSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:685\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:475\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:25.761 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=17] [task-type=ImportInto] [server-id=:4000] [error="context canceled"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:25.774 +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=33, Mem=16GiB]"] [takeTime=540.041732ms] [] [2025/04/05 06:59:25.775 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=17] [type=ImportInto] [2025/04/05 06:59:26.620 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.620 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t2"] [2025/04/05 06:59:26.626 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:queueing, SchemaState:none, SchemaID:178, TableID:182, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:26.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 184, Table Name: t2, Old Table ID: 182, Old Table Name: t2)"] [2025/04/05 06:59:26.648 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.704322ms] [gotSchemaVersion=127] [phyTblIDs="[182,184]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:26.652 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=185] [version=127] [2025/04/05 06:59:26.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=127] ["take time"=9.729023ms] [job="ID:185, Type:truncate table, State:done, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.666 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=185] [tableIDs="[182]"] [comment="truncate table: table ID"] [2025/04/05 06:59:26.670 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=185] [jobType="truncate table"] [2025/04/05 06:59:26.671 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=185] [conn=2] [job="ID:185, Type:truncate table, State:synced, SchemaState:public, SchemaID:178, TableID:182, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.603 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.689 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=185] [2025/04/05 06:59:26.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="truncate table t2"] [user=root@%] [2025/04/05 06:59:26.696 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:26.750 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test_cancel_job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 06:59:26.771 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=18] [task-id=18] [data-size=3B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:26.787 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=18] [2025/04/05 06:59:26.787 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:26.890 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:26.891 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:26.892 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [2025/04/05 06:59:26.894 +00:00] [INFO] [import_into.go:362] ["import into action start"] [jobID=18] [action="\"cancel\""] [2025/04/05 06:59:27.409 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:27.412 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 06:59:27.412 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 06:59:27.412 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=57.632µs] [2025/04/05 06:59:27.412 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=163.416µs] [] [2025/04/05 06:59:27.412 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=18] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:27.412 +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=33] [subtasks=1] [2025/04/05 06:59:27.428 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=init] [2025/04/05 06:59:27.430 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=18] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=init] [2025/04/05 06:59:27.494 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=18] [step=init] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:27.496 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=18] [step=init] [mode=Normal] [2025/04/05 06:59:27.589 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=18] [2025/04/05 06:59:27.595 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:27.596 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=18] [2025/04/05 06:59:27.615 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:27.822 +00:00] [INFO] [import_into.go:365] ["import into action completed"] [jobID=18] [action="\"cancel\""] [takeTime=926.967764ms] [] [2025/04/05 06:59:27.822 +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.929641244\n# Parse_time: 0.000253786\n# Compile_time: 0.000262926\n# Rewrite_time: 0.000001731\n# Optimize_time: 0.000041658\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;"] [2025/04/05 06:59:27.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] --- PASS: TestImportInto/TestCancelJob (4.86s) === NAME TestImportInto === RUN TestImportInto/TestChecksumNotMatch [2025/04/05 06:59:27.836 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=127] [cur_db=test_cancel_job] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 06:59:27.850 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:27.850 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 06:59:27.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:queueing, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.869 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=796.329µs] [gotSchemaVersion=128] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:27.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=187] [version=128] [2025/04/05 06:59:27.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=128] ["take time"=8.167425ms] [job="ID:187, Type:create schema, State:done, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.887 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=187] [conn=2] [job="ID:187, Type:create schema, State:synced, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:27.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=187] [2025/04/05 06:59:27.899 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=test_cancel_job] [sql="create database load_data"] [user=root@%] [2025/04/05 06:59:27.901 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=128] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 06:59:27.915 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:27.915 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 06:59:27.921 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:27.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.926 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 188, Table Name: t)"] [2025/04/05 06:59:27.943 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.856612ms] [gotSchemaVersion=129] [phyTblIDs="[188]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:27.946 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=189] [version=129] [2025/04/05 06:59:27.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=129] ["take time"=9.328824ms] [job="ID:189, Type:create table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:27.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.960 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=189] [conn=2] [job="ID:189, Type:create table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:27.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:27.971 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=189] [2025/04/05 06:59:27.972 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=129] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 06:59:27.978 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:28.028 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:28.049 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=19] [task-id=19] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:28.064 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=19] [2025/04/05 06:59:28.064 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:28.167 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:28.168 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:28.169 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [2025/04/05 06:59:28.177 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:28.181 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:28.181 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:59:28.181 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=88.03µs] [2025/04/05 06:59:28.181 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=211.408µs] [] [2025/04/05 06:59:28.181 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 06:59:28.181 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 06:59:28.215 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=19] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:28.237 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/05 06:59:28.238 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:28.246 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:28.246 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:28.247 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:28.247 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:28.247 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:28.247 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:28.247 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:28.247 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:28.248 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:28.248 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:28.261 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:28.263 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:28.263 +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/05 06:59:28.263 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=19] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:28.263 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=19] [disk-quota=700.7GiB] [2025/04/05 06:59:28.263 +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=496.5MiB]"] [2025/04/05 06:59:28.272 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [2025/04/05 06:59:28.272 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [2025/04/05 06:59:28.275 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=19] [mode=Import] [2025/04/05 06:59:28.276 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:28.280 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:28.280 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/05 06:59:28.295 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=19] [2025/04/05 06:59:28.367 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [2025/04/05 06:59:28.371 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-01.csv:0] [readDur=1.03908ms] [encodeDur=547.849µs] [checksum="{cksum=9995179725697843932,size=111,kvs=3}"] [deliverDur=1.523976ms] [type=file] [takeTime=3.459504ms] [] [2025/04/05 06:59:28.371 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000002] [2025/04/05 06:59:28.372 +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/cbdcf8ca-6ccd-46c8-b87a-ad41b7f015ae.sst] [firstKey=7480000000000000BC5F728000000000000001] [lastKey=7480000000000000BC5F728000000000000002] [2025/04/05 06:59:28.372 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 06:59:28.372 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 06:59:28.372 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:28.374 +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.031704ms] [] [2025/04/05 06:59:28.374 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:28.378 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:28.401 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:28.401 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:28.403 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000001] [endOfAllRanges=7480000000000000bc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000030000000000fa] [2025/04/05 06:59:28.414 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:28.416 +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.661789ms] [] [2025/04/05 06:59:28.416 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:28.417 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.075984ms] [] [2025/04/05 06:59:28.417 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=0] [2025/04/05 06:59:28.417 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:28.419 +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.578761ms] [] [2025/04/05 06:59:28.419 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:28.423 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:28.423 +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.298624ms] [] [2025/04/05 06:59:28.423 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:28.424 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=946.523µs] [] [2025/04/05 06:59:28.424 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=32] [takeTime=152.567031ms] [] [2025/04/05 06:59:28.424 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=32] [step=import] [takeTime=152.700179ms] [] [2025/04/05 06:59:28.447 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [2025/04/05 06:59:28.448 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [2025/04/05 06:59:28.451 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:28.455 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:28.455 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=188] [2025/04/05 06:59:28.484 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [2025/04/05 06:59:28.486 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=188] [key=duplicate-pk-02.csv:0] [readDur=1.095577ms] [encodeDur=620.046µs] [checksum="{cksum=10482263666873131380,size=111,kvs=3}"] [deliverDur=43.341µs] [type=file] [takeTime=2.054759ms] [] [2025/04/05 06:59:28.486 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BC5F728000000000000004] [2025/04/05 06:59:28.487 +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/8bdea274-fd23-43de-b9be-1d299697b8bf.sst] [firstKey=7480000000000000BC5F728000000000000004] [lastKey=7480000000000000BC5F728000000000000006] [2025/04/05 06:59:28.487 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 06:59:28.487 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 06:59:28.487 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:28.489 +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.867804ms] [] [2025/04/05 06:59:28.489 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 06:59:28.494 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:28.516 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:28.516 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:28.518 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000bc5f728000000000000004] [endOfAllRanges=7480000000000000bc5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbc5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbc5f728000000000ff0000070000000000fa] [2025/04/05 06:59:28.529 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:28.531 +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.36697ms] [] [2025/04/05 06:59:28.531 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:28.532 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.058214ms] [] [2025/04/05 06:59:28.533 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=19] [step=import] [engine-id=1] [2025/04/05 06:59:28.533 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:28.534 +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.618634ms] [] [2025/04/05 06:59:28.534 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 06:59:28.538 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:28.538 +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.723099ms] [] [2025/04/05 06:59:28.538 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:28.539 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=851.376µs] [] [2025/04/05 06:59:28.539 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=19] [step=import] [subtask-id=33] [takeTime=91.509553ms] [] [2025/04/05 06:59:28.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=33] [step=import] [takeTime=91.937804ms] [] [2025/04/05 06:59:28.572 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:28.574 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:28.575 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:28.575 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:28.608 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:59:28.610 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=19] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:28.610 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:28.643 +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/05 06:59:28.649 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=19] [step=import] [2025/04/05 06:59:28.654 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:28.654 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:28.654 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:28.654 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:28.654 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:28.654 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:28.654 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:28.654 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:28.654 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:28.654 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:28.654 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:28.654 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:28.657 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:28.657 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:28.657 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:28.658 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:28.658 +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=496.5MiB]"] [takeTime=394.033ms] [] [2025/04/05 06:59:28.659 +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=496.5MiB]"] [2025/04/05 06:59:28.666 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=post-process] [2025/04/05 06:59:28.667 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 06:59:28.667 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 06:59:28.667 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [2025/04/05 06:59:28.667 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.278µs] [] [2025/04/05 06:59:28.667 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:28.667 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:28.667 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [weight=30] [2025/04/05 06:59:28.667 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [concurrency=15] [2025/04/05 06:59:28.669 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=188] [physicalTableID=188] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/05 06:59:28.669 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:28.670 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=2.856871ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:28.670 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=19] [step=post-process] [subtask-id=34] [takeTime=3.131151ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:28.670 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [subtaskID=34] [step=post-process] [takeTime=3.394381ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:28.670 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:28.677 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=19] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:28.702 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:28.775 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=19] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\\\"}\"]"] [2025/04/05 06:59:28.783 +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=496.5MiB]"] [takeTime=123.974608ms] [] [2025/04/05 06:59:28.783 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=19] [type=ImportInto] [2025/04/05 06:59:28.872 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=19] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [2025/04/05 06:59:28.873 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=19] [step=post-process] [mode=Normal] [2025/04/05 06:59:28.879 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=19] [2025/04/05 06:59:28.965 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=19] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestChecksumNotMatch\n\ttests/realtikvtest/importintotest/import_into_test.go:756\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 06:59:28.966 +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.993898684\n# Parse_time: 0.000192913\n# Compile_time: 0.000610237\n# Rewrite_time: 0.000201283\n# Optimize_time: 0.000042194\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjk5Mi43bXMsIG9wZW46NjY5bnMsIGNsb3NlOjc3OW5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo5OTIuN21zLCBvcGVuOjY2OW5zLCBjbG9zZTo3NzlucywgbG9vcHM6MXD///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/05 06:59:28.966 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=19] [2025/04/05 06:59:28.973 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:28.973 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=19] [2025/04/05 06:59:28.986 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:28.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/05 06:59:28.986 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:28.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:28.990 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:188, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:28.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:28.996 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:28.998 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 190, Table Name: t, Old Table ID: 188, Old Table Name: t)"] [2025/04/05 06:59:29.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=2.067726ms] [gotSchemaVersion=130] [phyTblIDs="[188,190]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:29.018 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=130] [2025/04/05 06:59:29.020 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=130] ["take time"=9.864459ms] [job="ID:191, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:28.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:29.031 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=191] [tableIDs="[188]"] [comment="truncate table: table ID"] [2025/04/05 06:59:29.036 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="truncate table"] [2025/04/05 06:59:29.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=191] [conn=2] [job="ID:191, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:188, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:28.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:29.055 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/05 06:59:29.056 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=130] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/05 06:59:29.062 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:29.113 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"off\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:29.133 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=20] [task-id=20] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:29.148 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=20] [2025/04/05 06:59:29.148 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:29.250 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:29.251 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:29.253 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [2025/04/05 06:59:29.261 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:29.264 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:29.264 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:59:29.264 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=65.835µs] [2025/04/05 06:59:29.264 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=174.633µs] [] [2025/04/05 06:59:29.264 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 06:59:29.264 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 06:59:29.305 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=20] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:29.325 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/05 06:59:29.326 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:29.334 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:29.334 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:29.334 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:29.334 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:29.335 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:29.335 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:29.335 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:29.335 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:29.335 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:29.335 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:29.350 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:29.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/05 06:59:29.352 +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/05 06:59:29.352 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=20] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:29.352 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=20] [disk-quota=700.7GiB] [2025/04/05 06:59:29.352 +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=496.5MiB]"] [2025/04/05 06:59:29.357 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=20] [mode=Import] [2025/04/05 06:59:29.360 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [2025/04/05 06:59:29.361 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [2025/04/05 06:59:29.365 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:29.369 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:29.369 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/05 06:59:29.380 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=20] [2025/04/05 06:59:29.481 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [2025/04/05 06:59:29.484 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-01.csv:0] [readDur=1.090577ms] [encodeDur=263.874µs] [checksum="{cksum=10356916929083451793,size=111,kvs=3}"] [deliverDur=1.35237ms] [type=file] [takeTime=2.993624ms] [] [2025/04/05 06:59:29.485 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000002] [2025/04/05 06:59:29.485 +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/a92ff613-b811-4199-8a32-1683b6cbb2df.sst] [firstKey=7480000000000000BE5F728000000000000001] [lastKey=7480000000000000BE5F728000000000000002] [2025/04/05 06:59:29.485 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 06:59:29.485 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 06:59:29.486 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:29.488 +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.642322ms] [] [2025/04/05 06:59:29.488 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:29.493 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:29.515 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:29.515 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:29.517 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000001] [endOfAllRanges=7480000000000000be5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000030000000000fa] [2025/04/05 06:59:29.528 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:29.529 +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.978509ms] [] [2025/04/05 06:59:29.529 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:29.530 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.079621ms] [] [2025/04/05 06:59:29.531 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=0] [2025/04/05 06:59:29.531 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:29.532 +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.784518ms] [] [2025/04/05 06:59:29.533 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:29.536 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:29.536 +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.528237ms] [] [2025/04/05 06:59:29.536 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:29.537 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=879.634µs] [] [2025/04/05 06:59:29.537 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=35] [takeTime=176.623848ms] [] [2025/04/05 06:59:29.537 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=35] [step=import] [takeTime=176.776806ms] [] [2025/04/05 06:59:29.560 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [2025/04/05 06:59:29.560 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [2025/04/05 06:59:29.564 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:29.568 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:29.568 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=190] [2025/04/05 06:59:29.646 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [2025/04/05 06:59:29.648 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=190] [key=duplicate-pk-02.csv:0] [readDur=1.136288ms] [encodeDur=667.999µs] [checksum="{cksum=10697545922510015033,size=111,kvs=3}"] [deliverDur=34.594µs] [type=file] [takeTime=2.209986ms] [] [2025/04/05 06:59:29.649 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000BE5F728000000000000004] [2025/04/05 06:59:29.650 +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/3dc71b41-3109-42a6-824a-7a9af1b25262.sst] [firstKey=7480000000000000BE5F728000000000000004] [lastKey=7480000000000000BE5F728000000000000006] [2025/04/05 06:59:29.650 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 06:59:29.650 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 06:59:29.650 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:29.653 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=2.48334ms] [] [2025/04/05 06:59:29.653 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 06:59:29.657 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:29.679 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:29.679 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:29.681 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000be5f728000000000000004] [endOfAllRanges=7480000000000000be5f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffbe5f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffbe5f728000000000ff0000070000000000fa] [2025/04/05 06:59:29.693 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:29.694 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [takeTime=41.685517ms] [] [2025/04/05 06:59:29.695 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:29.696 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.013791ms] [] [2025/04/05 06:59:29.696 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=20] [step=import] [engine-id=1] [2025/04/05 06:59:29.696 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:29.697 +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.430578ms] [] [2025/04/05 06:59:29.697 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 06:59:29.701 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:29.701 +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.699512ms] [] [2025/04/05 06:59:29.701 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:29.702 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=905.095µs] [] [2025/04/05 06:59:29.702 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=import] [subtask-id=36] [takeTime=141.874222ms] [] [2025/04/05 06:59:29.702 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=36] [step=import] [takeTime=142.028325ms] [] [2025/04/05 06:59:29.756 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:29.757 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:29.758 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:29.758 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:29.789 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:59:29.791 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=20] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:29.791 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:29.828 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:29.835 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=20] [step=import] [2025/04/05 06:59:29.839 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:29.839 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:29.839 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:29.839 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:29.839 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:29.839 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:29.839 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:29.839 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:29.839 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-19] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:29.839 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:29.839 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:29.839 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:29.842 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:29.842 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:29.842 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:29.842 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:29.842 +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=496.5MiB]"] [takeTime=489.695348ms] [] [2025/04/05 06:59:29.843 +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=496.5MiB]"] [2025/04/05 06:59:29.850 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=post-process] [2025/04/05 06:59:29.850 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 06:59:29.851 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 06:59:29.851 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [2025/04/05 06:59:29.851 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=2.35µs] [] [2025/04/05 06:59:29.851 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:29.851 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=133.38µs] [] [2025/04/05 06:59:29.851 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=20] [step=post-process] [subtask-id=37] [takeTime=251.993µs] [] [2025/04/05 06:59:29.851 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=20] [task-type=ImportInto] [server-id=:4000] [subtaskID=37] [step=post-process] [takeTime=410.861µs] [] [2025/04/05 06:59:29.956 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=20] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:29.956 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=20] [step=post-process] [state=running] [] [2025/04/05 06:59:29.958 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=20] [2025/04/05 06:59:29.992 +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=496.5MiB]"] [takeTime=149.225346ms] [] [2025/04/05 06:59:29.992 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=20] [type=ImportInto] [2025/04/05 06:59:30.051 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=20] [2025/04/05 06:59:30.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.996374953\n# Parse_time: 0.000142043\n# Compile_time: 0.000716524\n# Rewrite_time: 0.00023975\n# Optimize_time: 0.000258558\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS4ybXMsIG9wZW46NjE5bnMsIGNsb3NlOjc0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS4ybXMsIG9wZW46NjE5bnMsIGNsb3NlOjc0OG5zLCBsb29wczoycP////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'off', __max_engine_size=_UTF8MB4'1';"] [2025/04/05 06:59:30.058 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:30.058 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=20] [2025/04/05 06:59:30.073 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:30.073 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t;"] [2025/04/05 06:59:30.079 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:queueing, SchemaState:none, SchemaID:186, TableID:190, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.083 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:30.088 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 192, Table Name: t, Old Table ID: 190, Old Table Name: t)"] [2025/04/05 06:59:30.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=2.126728ms] [gotSchemaVersion=131] [phyTblIDs="[190,192]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:30.110 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=131] [2025/04/05 06:59:30.112 +00:00] [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"=9.946419ms] [job="ID:193, Type:truncate table, State:done, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.125 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=193] [tableIDs="[190]"] [comment="truncate table: table ID"] [2025/04/05 06:59:30.130 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=193] [jobType="truncate table"] [2025/04/05 06:59:30.131 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=193] [conn=2] [job="ID:193, Type:truncate table, State:synced, SchemaState:public, SchemaID:186, TableID:190, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.150 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/05 06:59:30.150 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=131] [cur_db=load_data] [sql="truncate table t;"] [user=root@%] [2025/04/05 06:59:30.157 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:30.208 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/duplicate-pk-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"checksum_table\":\"optional\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:30.228 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=21] [task-id=21] [data-size=64B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:30.243 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=21] [2025/04/05 06:59:30.243 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:30.345 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:30.346 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:30.347 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [2025/04/05 06:59:30.356 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:30.359 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:30.359 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=1] [after=1] [2025/04/05 06:59:30.359 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=87.377µs] [2025/04/05 06:59:30.359 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=212.867µs] [] [2025/04/05 06:59:30.359 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 06:59:30.359 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 06:59:30.398 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=21] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:30.422 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/05 06:59:30.423 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:30.435 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:30.435 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:30.437 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:30.438 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:30.438 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:30.438 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:30.439 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:30.439 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:30.440 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:30.442 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:30.452 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=21] [mode=Import] [2025/04/05 06:59:30.455 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:30.456 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:30.456 +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/05 06:59:30.456 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=21] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:30.456 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=21] [disk-quota=700.7GiB] [2025/04/05 06:59:30.457 +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=496.5MiB]"] [2025/04/05 06:59:30.467 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [2025/04/05 06:59:30.467 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [2025/04/05 06:59:30.470 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=21] [2025/04/05 06:59:30.471 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:30.475 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:30.475 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/05 06:59:30.478 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [2025/04/05 06:59:30.480 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-01.csv:0] [readDur=1.119493ms] [encodeDur=688.568µs] [checksum="{cksum=5586236619367349866,size=111,kvs=3}"] [deliverDur=30.332µs] [type=file] [takeTime=2.180516ms] [] [2025/04/05 06:59:30.481 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000002] [2025/04/05 06:59:30.481 +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/7e55f4ab-d3fd-4ad3-92b6-810697214104.sst] [firstKey=7480000000000000C05F728000000000000001] [lastKey=7480000000000000C05F728000000000000002] [2025/04/05 06:59:30.481 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 06:59:30.481 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 06:59:30.481 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:30.484 +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.712585ms] [] [2025/04/05 06:59:30.484 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:30.489 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:30.510 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:30.511 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:30.512 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000001] [endOfAllRanges=7480000000000000c05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000030000000000fa] [2025/04/05 06:59:30.524 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:30.525 +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.113179ms] [] [2025/04/05 06:59:30.525 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:30.527 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.111107ms] [] [2025/04/05 06:59:30.527 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=0] [2025/04/05 06:59:30.527 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:30.529 +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.81065ms] [] [2025/04/05 06:59:30.529 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:30.532 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:30.532 +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.693426ms] [] [2025/04/05 06:59:30.532 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:30.533 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=969.108µs] [] [2025/04/05 06:59:30.534 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=38] [takeTime=67.011371ms] [] [2025/04/05 06:59:30.534 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=38] [step=import] [takeTime=67.150307ms] [] [2025/04/05 06:59:30.556 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [2025/04/05 06:59:30.557 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [2025/04/05 06:59:30.561 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:30.564 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:30.564 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=192] [2025/04/05 06:59:30.567 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [2025/04/05 06:59:30.569 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=192] [key=duplicate-pk-02.csv:0] [readDur=1.011862ms] [encodeDur=584.805µs] [checksum="{cksum=6217277421343186370,size=111,kvs=3}"] [deliverDur=37.855µs] [type=file] [takeTime=1.885984ms] [] [2025/04/05 06:59:30.569 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=7480000000000000C05F728000000000000004] [2025/04/05 06:59:30.570 +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/ae3cb1b2-4bcc-45c6-8fc1-3417ab25a208.sst] [firstKey=7480000000000000C05F728000000000000004] [lastKey=7480000000000000C05F728000000000000006] [2025/04/05 06:59:30.570 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 06:59:30.570 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 06:59:30.570 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:30.572 +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.885938ms] [] [2025/04/05 06:59:30.572 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [retryCnt=0] [2025/04/05 06:59:30.576 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:30.598 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] ["region ranges"=1] [count=3] [size=74] [2025/04/05 06:59:30.598 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:30.600 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c05f728000000000000004] [endOfAllRanges=7480000000000000c05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffc05f728000000000ff0000040000000000fa] [endKeyOfLastRegion=7480000000000000ffc05f728000000000ff0000070000000000fa] [2025/04/05 06:59:30.611 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=790a6a8f-6378-5243-b426-00d5655f2c86] [size=74] [kvs=3] [importedSize=74] [importedCount=2] [2025/04/05 06:59:30.612 +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.484009ms] [] [2025/04/05 06:59:30.612 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [2025/04/05 06:59:30.614 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:1] [engineUUID=790a6a8f-6378-5243-b426-00d5655f2c86] [takeTime=1.075475ms] [] [2025/04/05 06:59:30.614 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=21] [step=import] [engine-id=1] [2025/04/05 06:59:30.614 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:30.615 +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.497292ms] [] [2025/04/05 06:59:30.615 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [retryCnt=0] [2025/04/05 06:59:30.619 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:30.619 +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.692226ms] [] [2025/04/05 06:59:30.619 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [2025/04/05 06:59:30.620 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-2] [engineUUID=01f37b49-4958-5126-821d-b51976443d4b] [takeTime=995.384µs] [] [2025/04/05 06:59:30.620 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=import] [subtask-id=39] [takeTime=63.73889ms] [] [2025/04/05 06:59:30.620 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=39] [step=import] [takeTime=63.903182ms] [] [2025/04/05 06:59:30.650 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:30.651 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:30.652 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:30.652 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:30.682 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 06:59:30.683 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=21] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:30.683 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:30.705 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:30.712 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=21] [step=import] [2025/04/05 06:59:30.716 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:30.716 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:30.716 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:30.716 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:30.716 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:30.716 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:30.716 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:30.716 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:30.716 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:30.716 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:30.716 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-20] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:30.716 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:30.719 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:30.719 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:30.719 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:30.719 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:30.719 +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=496.5MiB]"] [takeTime=262.527684ms] [] [2025/04/05 06:59:30.721 +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=496.5MiB]"] [2025/04/05 06:59:30.728 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=post-process] [2025/04/05 06:59:30.728 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 06:59:30.728 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 06:59:30.728 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [2025/04/05 06:59:30.728 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=1.962µs] [] [2025/04/05 06:59:30.728 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [groupId=-1] [size=222] [kvs=6] [checksum=2003671119719883688] [2025/04/05 06:59:30.728 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [checksum="{cksum=2003671119719883688,size=222,kvs=6}"] [2025/04/05 06:59:30.728 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [weight=30] [2025/04/05 06:59:30.728 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [concurrency=15] [2025/04/05 06:59:30.731 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=192] [physicalTableID=192] [indexID=-1] [checksum=13563575747806423567] [totalKvs=4] [totalBytes=148] [2025/04/05 06:59:30.731 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:30.731 +00:00] [WARN] [table_import.go:856] ["verify checksum failed, but checksum is optional, will skip it"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 13563575747806423567 vs 2003671119719883688) (total_kvs: 4 vs 6) (total_bytes:148 vs 222)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:30.732 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=3.781719ms] [] [2025/04/05 06:59:30.732 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=21] [step=post-process] [subtask-id=40] [takeTime=3.904796ms] [] [2025/04/05 06:59:30.732 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=21] [task-type=ImportInto] [server-id=:4000] [subtaskID=40] [step=post-process] [takeTime=4.066766ms] [] [2025/04/05 06:59:30.751 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=21] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:30.751 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=21] [step=post-process] [state=running] [] [2025/04/05 06:59:30.754 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=21] [2025/04/05 06:59:30.755 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:30.778 +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=496.5MiB]"] [takeTime=57.466049ms] [] [2025/04/05 06:59:30.778 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=21] [type=ImportInto] [2025/04/05 06:59:30.845 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=21] [2025/04/05 06:59:30.846 +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.694912348\n# Parse_time: 0.000142568\n# Compile_time: 0.00061464\n# Rewrite_time: 0.000191949\n# Optimize_time: 0.000307144\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5My45bXMsIG9wZW46NjAxbnMsIGNsb3NlOjc5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5My45bXMsIG9wZW46NjAxbnMsIGNsb3NlOjc5MW5zLCBsb29wczoycP////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.01s) === NAME TestImportInto === RUN TestImportInto/TestColumnsAndUserVars [2025/04/05 06:59:30.851 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:30.851 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=21] [2025/04/05 06:59:30.862 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:30.862 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 06:59:30.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:queueing, SchemaState:public, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.873 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:30.887 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.873777ms] [gotSchemaVersion=132] [phyTblIDs="[192]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:30.891 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=132] [2025/04/05 06:59:30.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=132] ["take time"=9.945403ms] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:write only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.917 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=185.29µs] [gotSchemaVersion=133] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:30.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=133] [2025/04/05 06:59:30.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=133] ["take time"=7.354393ms] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.931 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:running, SchemaState:delete only, SchemaID:186, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.936 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:30.946 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=159.315µs] [gotSchemaVersion=134] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:30.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=194] [version=134] [2025/04/05 06:59:30.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=134] ["take time"=6.99542ms] [job="ID:194, Type:drop schema, State:done, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.960 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=194] [tableIDs="[192]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:30.965 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=194] [jobType="drop schema"] [2025/04/05 06:59:30.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=194] [conn=2] [job="ID:194, Type:drop schema, State:synced, SchemaState:none, SchemaID:186, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:30.981 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=194] [2025/04/05 06:59:30.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=134] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 06:59:30.994 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:30.994 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 06:59:30.999 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:queueing, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.011 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=693.604µs] [gotSchemaVersion=135] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:31.015 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=196] [version=135] [2025/04/05 06:59:31.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=135] ["take time"=7.494015ms] [job="ID:196, Type:create schema, State:done, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:30.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.027 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=196] [conn=2] [job="ID:196, Type:create schema, State:synced, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:30.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.036 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=196] [2025/04/05 06:59:31.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=135] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 06:59:31.051 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:31.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:31.051 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:31.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [2025/04/05 06:59:31.056 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:queueing, SchemaState:none, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:31.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.061 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 197, Table Name: cols_and_vars)"] [2025/04/05 06:59:31.076 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.802125ms] [gotSchemaVersion=136] [phyTblIDs="[197]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:31.079 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=198] [version=136] [2025/04/05 06:59: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=136] ["take time"=9.000183ms] [job="ID:198, Type:create table, State:done, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:31.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.094 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=198] [conn=2] [job="ID:198, Type:create table, State:synced, SchemaState:public, SchemaID:195, TableID:197, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:31.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:31.106 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=198] [2025/04/05 06:59:31.107 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=136] [cur_db=] [sql="CREATE TABLE load_data.cols_and_vars (a INT, b INT, c int);"] [user=root@%] [2025/04/05 06:59:31.114 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:31.163 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(@`V1`, @`v2`, @`v3`)\",\"set-clause\":\"`a`=@`V1`, `b`=@`V2`*10, `c`=123\",\"file-location\":\"gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"2\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:31.184 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=22] [task-id=22] [data-size=81B] [thread-cnt=2] [global-sort=false] [2025/04/05 06:59:31.200 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=22] [2025/04/05 06:59:31.200 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=2] [2025/04/05 06:59:31.303 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:31.304 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:31.305 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [2025/04/05 06:59:31.314 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:31.317 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=cols_and_vars] [2025/04/05 06:59:31.317 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=cols_and_vars] [before=536870912000] [after=81] [2025/04/05 06:59:31.317 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=cols_and_vars] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=81] [cost=90.358µs] [2025/04/05 06:59:31.317 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=cols_and_vars] [takeTime=237.946µs] [] [2025/04/05 06:59:31.317 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:31.317 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=2] [subtasks=1] [2025/04/05 06:59:31.356 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=64] [2025/04/05 06:59:31.378 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/05 06:59:31.378 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:31.387 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:31.387 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:31.388 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:31.388 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:31.388 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:31.388 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:31.388 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:31.388 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:31.388 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:31.389 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:31.401 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:31.403 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:31.403 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=cols_and_vars] [quota=752.3GB] [2025/04/05 06:59:31.403 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=22] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:31.403 +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=993MiB]"] [2025/04/05 06:59:31.403 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=cols_and_vars] [import-id=22] [disk-quota=700.7GiB] [2025/04/05 06:59:31.409 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=22] [mode=Import] [2025/04/05 06:59:31.411 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [2025/04/05 06:59:31.411 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [2025/04/05 06:59:31.414 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 06:59:31.418 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 06:59:31.418 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/05 06:59:31.418 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=197] [2025/04/05 06:59:31.435 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [2025/04/05 06:59:31.437 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [2025/04/05 06:59:31.437 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-1.tsv:0] [readDur=1.140073ms] [encodeDur=583.298µs] [checksum="{cksum=1567370847529678985,size=189,kvs=5}"] [deliverDur=268.154µs] [type=file] [takeTime=2.392192ms] [] [2025/04/05 06:59:31.438 +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/1da97954-5fdb-46c8-bfc3-74bb8c87863c.sst] [firstKey=7480000000000000C55F728000000000000001] [lastKey=7480000000000000C55F728000000000000005] [2025/04/05 06:59:31.439 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=197] [key=cols_and_vars-2.tsv:0] [readDur=1.122674ms] [encodeDur=450.634µs] [checksum="{cksum=15251348621166951835,size=152,kvs=4}"] [deliverDur=233.436µs] [type=file] [takeTime=2.030996ms] [] [2025/04/05 06:59:31.439 +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/c94a5652-b519-4082-8576-8b69b85db5dd.sst] [firstKey=7480000000000000C55F728000000000000010] [lastKey=7480000000000000C55F728000000000000013] [2025/04/05 06:59:31.439 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 06:59:31.440 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 06:59:31.440 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 06:59:31.440 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=22] [2025/04/05 06:59:31.441 +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=1.823091ms] [] [2025/04/05 06:59:31.442 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [retryCnt=0] [2025/04/05 06:59:31.446 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:31.468 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] ["region ranges"=1] [count=9] [size=341] [2025/04/05 06:59:31.468 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:31.470 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000c55f728000000000000001] [endOfAllRanges=7480000000000000c55f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffc55f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffc55f728000000000ff0000140000000000fa] [2025/04/05 06:59:31.496 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=af694e56-0929-5815-9e99-dfe7bdad9797] [size=341] [kvs=9] [importedSize=341] [importedCount=9] [2025/04/05 06:59:31.498 +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=56.21817ms] [] [2025/04/05 06:59:31.498 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:0] [engineUUID=af694e56-0929-5815-9e99-dfe7bdad9797] [2025/04/05 06:59:31.499 +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.16792ms] [] [2025/04/05 06:59:31.499 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=22] [step=import] [engine-id=0] [2025/04/05 06:59:31.499 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 06:59:31.501 +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.502657ms] [] [2025/04/05 06:59:31.501 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [retryCnt=0] [2025/04/05 06:59:31.505 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 06:59:31.505 +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.747506ms] [] [2025/04/05 06:59:31.505 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`cols_and_vars`:-1] [engineUUID=c5aa228c-66c1-59bd-96a4-4ba391b5695d] [2025/04/05 06:59:31.506 +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=958.758µs] [] [2025/04/05 06:59:31.506 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=import] [subtask-id=41] [takeTime=94.996711ms] [] [2025/04/05 06:59:31.506 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=41] [step=import] [takeTime=95.145121ms] [] [2025/04/05 06:59:31.608 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:31.609 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:31.610 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:31.610 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:31.642 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 06:59:31.643 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=22] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:31.643 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=2] [subtasks=1] [2025/04/05 06:59:31.648 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:31.648 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=22] [step=import] [2025/04/05 06:59:31.651 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:31.651 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:31.651 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:31.651 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:31.651 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:31.651 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:31.651 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:31.651 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:31.651 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:31.651 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-21] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:31.651 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:31.651 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:31.653 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:31.653 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:31.653 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:31.653 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:31.653 +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=993MiB]"] [takeTime=249.972425ms] [] [2025/04/05 06:59:31.653 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/05 06:59:31.674 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=22] [type=ImportInto] [concurrency=2] [remaining-slots=64] [2025/04/05 06:59:31.693 +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=993MiB]"] [2025/04/05 06:59:31.700 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [2025/04/05 06:59:31.700 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 06:59:31.700 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 06:59:31.700 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [2025/04/05 06:59:31.706 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=5.6325ms] [] [2025/04/05 06:59:31.706 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [groupId=-1] [size=341] [kvs=9] [checksum=14296615166471800082] [2025/04/05 06:59:31.706 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [checksum="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/05 06:59:31.706 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [weight=30] [2025/04/05 06:59:31.706 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [concurrency=15] [2025/04/05 06:59:31.708 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=197] [physicalTableID=197] [indexID=-1] [checksum=14296615166471800082] [totalKvs=9] [totalBytes=341] [2025/04/05 06:59:31.708 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:31.708 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [local="{cksum=14296615166471800082,size=341,kvs=9}"] [2025/04/05 06:59:31.708 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.089377ms] [] [2025/04/05 06:59:31.708 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=22] [step=post-process] [subtask-id=42] [takeTime=8.207934ms] [] [2025/04/05 06:59:31.708 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=22] [task-type=ImportInto] [server-id=:4000] [subtaskID=42] [step=post-process] [takeTime=8.328981ms] [] [2025/04/05 06:59:31.743 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:31.807 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=22] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:31.807 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=22] [step=post-process] [state=running] [] [2025/04/05 06:59:31.810 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=22] [2025/04/05 06:59:31.824 +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=993MiB]"] [takeTime=130.163617ms] [] [2025/04/05 06:59:31.824 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=22] [type=ImportInto] [2025/04/05 06:59:31.902 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=22] [2025/04/05 06:59:31.908 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:31.908 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=22] [2025/04/05 06:59:31.928 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:32.101 +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.993725181\n# Parse_time: 0.000271317\n# Compile_time: 0.000830731\n# Rewrite_time: 0.00025491\n# Optimize_time: 0.000286123\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi4ybXMsIG9wZW46Njc2bnMsIGNsb3NlOjU5Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi4ybXMsIG9wZW46Njc2bnMsIGNsb3NlOjU5Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\nIMPORT INTO `load_data`.`cols_and_vars` (@`V1`,@`v2`,@`v3`) SET `a`=@`V1`, `b`=@`V2`*10, `c`=123 FROM 'gs://test-load/cols_and_vars-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=2;"] --- PASS: TestImportInto/TestColumnsAndUserVars (1.27s) === NAME TestImportInto === RUN TestImportInto/TestDeliverBytesRows [2025/04/05 06:59:32.127 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 06:59:32.128 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:32.132 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:queueing, SchemaState:public, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.760153ms] [gotSchemaVersion=137] [phyTblIDs="[197]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:32.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=137] [2025/04/05 06:59:32.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=137] ["take time"=8.603527ms] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.163 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:write only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.175 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=157.843µs] [gotSchemaVersion=138] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:32.178 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=138] [2025/04/05 06:59:32.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=138] ["take time"=6.840551ms] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.188 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:running, SchemaState:delete only, SchemaID:195, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.194 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:32.204 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=208.146µs] [gotSchemaVersion=139] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:32.208 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=139] [2025/04/05 06:59:32.209 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=139] ["take time"=7.45845ms] [job="ID:199, Type:drop schema, State:done, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.219 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=199] [tableIDs="[197]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:32.223 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="drop schema"] [2025/04/05 06:59:32.224 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=199] [conn=2] [job="ID:199, Type:drop schema, State:synced, SchemaState:none, SchemaID:195, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.240 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/05 06:59:32.240 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=139] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 06:59:32.251 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:32.251 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 06:59:32.257 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:queueing, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=677.112µs] [gotSchemaVersion=140] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:32.273 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=140] [2025/04/05 06:59:32.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=140] ["take time"=7.613532ms] [job="ID:201, Type:create schema, State:done, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.285 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=201] [conn=2] [job="ID:201, Type:create schema, State:synced, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.294 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/05 06:59:32.294 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 06:59:32.296 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=140] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 06:59:32.308 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:32.308 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:32.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.318 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 202, Table Name: t)"] [2025/04/05 06:59:32.333 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.75344ms] [gotSchemaVersion=141] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:32.336 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=141] [2025/04/05 06:59:32.338 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=8.555394ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.348 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=203] [conn=2] [job="ID:203, Type:create table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:32.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.359 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/05 06:59:32.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=141] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 06:59:32.365 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:32.411 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:32.430 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=23] [task-id=23] [data-size=98B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:32.443 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=23] [2025/04/05 06:59:32.443 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:32.546 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:32.547 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:32.548 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [2025/04/05 06:59:32.556 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:32.558 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:32.558 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/05 06:59:32.558 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=41.945µs] [2025/04/05 06:59:32.558 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=137.071µs] [] [2025/04/05 06:59:32.558 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:32.558 +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=33] [subtasks=1] [2025/04/05 06:59:32.593 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=23] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:32.612 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/05 06:59:32.612 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:32.620 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:32.620 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:32.621 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:32.621 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:32.621 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:32.621 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:32.621 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:32.621 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:32.622 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:32.622 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:32.633 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:32.635 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:32.635 +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/05 06:59:32.635 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=23] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:32.635 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=23] [disk-quota=700.7GiB] [2025/04/05 06:59:32.635 +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=33, Mem=16GiB]"] [2025/04/05 06:59:32.643 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [2025/04/05 06:59:32.643 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [2025/04/05 06:59:32.646 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:32.649 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:32.649 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=202] [2025/04/05 06:59:32.652 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=23] [mode=Import] [2025/04/05 06:59:32.670 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=23] [2025/04/05 06:59:32.672 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [2025/04/05 06:59:32.674 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=202] [key=min-deliver-bytes-rows.csv:0] [readDur=986.714µs] [encodeDur=446.096µs] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [deliverDur=272.124µs] [type=file] [takeTime=1.874468ms] [] [2025/04/05 06:59:32.674 +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/52cb0a54-f469-4627-9f63-81ae9277fe59.sst] [firstKey=7480000000000000CA5F728000000000000001] [lastKey=7480000000000000CA5F728000000000000009] [2025/04/05 06:59:32.674 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 06:59:32.674 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 06:59:32.674 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:32.676 +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.948144ms] [] [2025/04/05 06:59:32.676 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:32.681 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:32.702 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 06:59:32.702 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:32.704 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ca5f728000000000000001] [endOfAllRanges=7480000000000000ca5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffca5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffca5f728000000000ff00000a0000000000fa] [2025/04/05 06:59:32.716 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 06:59:32.718 +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.187663ms] [] [2025/04/05 06:59:32.718 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:32.719 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.083394ms] [] [2025/04/05 06:59:32.719 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=23] [step=import] [engine-id=0] [2025/04/05 06:59:32.719 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:32.720 +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.377672ms] [] [2025/04/05 06:59:32.720 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:32.724 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:32.724 +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.581531ms] [] [2025/04/05 06:59:32.724 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:32.725 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=806.136µs] [] [2025/04/05 06:59:32.725 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=import] [subtask-id=43] [takeTime=82.250737ms] [] [2025/04/05 06:59:32.725 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=43] [step=import] [takeTime=82.389364ms] [] [2025/04/05 06:59:32.750 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:32.751 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:32.752 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:32.752 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:32.780 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 06:59:32.781 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=23] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:32.782 +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=33] [subtasks=1] [2025/04/05 06:59:32.813 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:32.819 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=23] [step=import] [2025/04/05 06:59:32.821 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:32.821 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:32.821 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:32.821 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:32.821 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:32.821 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:32.821 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:32.821 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:32.822 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:32.822 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:32.821 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-22] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:32.822 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:32.824 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:32.824 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:32.824 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:32.824 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:32.824 +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=33, Mem=16GiB]"] [takeTime=188.501769ms] [] [2025/04/05 06:59:32.825 +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=33, Mem=16GiB]"] [2025/04/05 06:59:32.832 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=post-process] [2025/04/05 06:59:32.833 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 06:59:32.833 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 06:59:32.833 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [2025/04/05 06:59:32.840 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=7.334919ms] [] [2025/04/05 06:59:32.840 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [groupId=-1] [size=369] [kvs=9] [checksum=17348221547970957058] [2025/04/05 06:59:32.840 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [checksum="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/05 06:59:32.840 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [weight=30] [2025/04/05 06:59:32.840 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [concurrency=15] [2025/04/05 06:59:32.842 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=202] [physicalTableID=202] [indexID=-1] [checksum=17348221547970957058] [totalKvs=9] [totalBytes=369] [2025/04/05 06:59:32.843 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:32.843 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [local="{cksum=17348221547970957058,size=369,kvs=9}"] [2025/04/05 06:59:32.843 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=10.509409ms] [] [2025/04/05 06:59:32.843 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=23] [step=post-process] [subtask-id=44] [takeTime=10.641168ms] [] [2025/04/05 06:59:32.844 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=23] [task-type=ImportInto] [server-id=:4000] [subtaskID=44] [step=post-process] [takeTime=11.712743ms] [] [2025/04/05 06:59:32.853 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:32.953 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=23] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:32.953 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=23] [step=post-process] [state=running] [] [2025/04/05 06:59:32.956 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=23] [2025/04/05 06:59:32.985 +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=33, Mem=16GiB]"] [takeTime=159.276018ms] [] [2025/04/05 06:59:32.985 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=23] [type=ImportInto] [2025/04/05 06:59:33.045 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=23] [2025/04/05 06:59:33.049 +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.68923892\n# Parse_time: 0.000101436\n# Compile_time: 0.000589256\n# Rewrite_time: 0.000159003\n# Optimize_time: 0.000808738\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC4zbXMsIG9wZW46Njg3bnMsIGNsb3NlOjk1NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OC4zbXMsIG9wZW46Njg3bnMsIGNsb3NlOjk1NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 06:59:33.051 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:33.051 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=23] [2025/04/05 06:59:33.064 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:59:33.064 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:33.070 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:queueing, SchemaState:none, SchemaID:200, TableID:202, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.072 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:33.078 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 204, Table Name: t, Old Table ID: 202, Old Table Name: t)"] [2025/04/05 06:59:33.094 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=2.109076ms] [gotSchemaVersion=142] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:33.098 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=142] [2025/04/05 06:59:33.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=142] ["take time"=9.453659ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.111 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/05 06:59:33.115 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/05 06:59:33.116 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=205] [conn=2] [job="ID:205, Type:truncate table, State:synced, SchemaState:public, SchemaID:200, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.137 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/05 06:59:33.137 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 06:59:33.143 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:33.194 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:33.212 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=24] [task-id=24] [data-size=98B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:33.226 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=24] [2025/04/05 06:59:33.226 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:33.328 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:33.329 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:33.330 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [2025/04/05 06:59:33.338 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:33.340 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:33.340 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=98] [2025/04/05 06:59:33.340 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=98] [cost=47.283µs] [2025/04/05 06:59:33.340 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=161.945µs] [] [2025/04/05 06:59:33.341 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:33.341 +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=33] [subtasks=1] [2025/04/05 06:59:33.374 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=24] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:33.394 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/05 06:59:33.394 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:33.402 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:33.402 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:33.403 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:33.403 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:33.403 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:33.403 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:33.403 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:33.403 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:33.404 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:33.404 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:33.416 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:33.417 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:33.417 +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/05 06:59:33.417 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=24] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:33.417 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=24] [disk-quota=700.7GiB] [2025/04/05 06:59:33.418 +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=33, Mem=16GiB]"] [2025/04/05 06:59:33.427 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [2025/04/05 06:59:33.427 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [2025/04/05 06:59:33.430 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:33.433 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:33.434 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=204] [2025/04/05 06:59:33.435 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=24] [mode=Import] [2025/04/05 06:59:33.454 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=24] [2025/04/05 06:59:33.456 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [2025/04/05 06:59:33.459 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=204] [key=min-deliver-bytes-rows.csv:0] [readDur=1.130756ms] [encodeDur=698.475µs] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [deliverDur=280.565µs] [type=file] [takeTime=2.1406ms] [] [2025/04/05 06:59:33.459 +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/81e93b18-d689-43fc-95a2-62a68bb16177.sst] [firstKey=7480000000000000CC5F728000000000000001] [lastKey=7480000000000000CC5F728000000000000009] [2025/04/05 06:59:33.459 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 06:59:33.459 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 06:59:33.459 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:33.461 +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.800869ms] [] [2025/04/05 06:59:33.461 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:33.465 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:33.487 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 06:59:33.487 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:33.489 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000cc5f728000000000000001] [endOfAllRanges=7480000000000000cc5f72800000000000000a] [startKeyOfFirstRegion=7480000000000000ffcc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffcc5f728000000000ff00000a0000000000fa] [2025/04/05 06:59:33.500 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 06:59:33.502 +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.323089ms] [] [2025/04/05 06:59:33.502 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:33.503 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.086787ms] [] [2025/04/05 06:59:33.503 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=24] [step=import] [engine-id=0] [2025/04/05 06:59:33.503 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:33.504 +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.365153ms] [] [2025/04/05 06:59:33.504 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:33.508 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:33.508 +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.566188ms] [] [2025/04/05 06:59:33.508 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:33.509 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=902.984µs] [] [2025/04/05 06:59:33.509 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=import] [subtask-id=45] [takeTime=82.198046ms] [] [2025/04/05 06:59:33.509 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=45] [step=import] [takeTime=82.350582ms] [] [2025/04/05 06:59:33.533 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:33.534 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:33.535 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:33.535 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:33.648 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 06:59:33.650 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=24] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:33.650 +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=33] [subtasks=1] [2025/04/05 06:59:33.679 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:33.686 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=24] [step=import] [2025/04/05 06:59:33.690 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:33.690 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:33.690 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:33.690 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:33.690 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:33.690 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:33.690 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:33.690 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:33.690 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:33.690 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:33.690 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-23] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:33.690 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:33.693 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:33.694 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:33.694 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:33.694 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:33.694 +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=33, Mem=16GiB]"] [takeTime=276.058202ms] [] [2025/04/05 06:59:33.695 +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=33, Mem=16GiB]"] [2025/04/05 06:59:33.703 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [2025/04/05 06:59:33.703 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 06:59:33.703 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 06:59:33.703 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [2025/04/05 06:59:33.709 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=6.367939ms] [] [2025/04/05 06:59:33.709 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [groupId=-1] [size=369] [kvs=9] [checksum=12886775366575955058] [2025/04/05 06:59:33.709 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [checksum="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/05 06:59:33.710 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [weight=30] [2025/04/05 06:59:33.710 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [concurrency=15] [2025/04/05 06:59:33.713 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=204] [physicalTableID=204] [indexID=-1] [checksum=12886775366575955058] [totalKvs=9] [totalBytes=369] [2025/04/05 06:59:33.713 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:33.713 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [local="{cksum=12886775366575955058,size=369,kvs=9}"] [2025/04/05 06:59:33.713 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=10.335013ms] [] [2025/04/05 06:59:33.713 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=24] [step=post-process] [subtask-id=46] [takeTime=10.505579ms] [] [2025/04/05 06:59:33.714 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=24] [task-type=ImportInto] [server-id=:4000] [subtaskID=46] [step=post-process] [takeTime=11.683126ms] [] [2025/04/05 06:59:33.732 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:33.733 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=24] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:33.733 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=24] [step=post-process] [state=running] [] [2025/04/05 06:59:33.736 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=24] [2025/04/05 06:59:33.759 +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=33, Mem=16GiB]"] [takeTime=63.615543ms] [] [2025/04/05 06:59:33.759 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=24] [type=ImportInto] [2025/04/05 06:59:33.828 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=24] [2025/04/05 06:59:33.829 +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.691392135\n# Parse_time: 0.00007022\n# Compile_time: 0.000514675\n# Rewrite_time: 0.000141208\n# Optimize_time: 0.000295318\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC40bXMsIG9wZW46NjMzbnMsIGNsb3NlOjYyNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC40bXMsIG9wZW46NjMzbnMsIGNsb3NlOjYyNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/min-deliver-bytes-rows.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestDeliverBytesRows (1.72s) === NAME TestImportInto === RUN TestImportInto/TestDetachedLoadParquet [2025/04/05 06:59:33.834 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:33.834 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=24] [2025/04/05 06:59:33.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=142] [cur_db=load_data] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 06:59:33.848 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:33.848 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 06:59:33.854 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:queueing, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.858 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:33.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.021543ms] [gotSchemaVersion=143] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:33.874 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=143] [2025/04/05 06:59:33.876 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=143] ["take time"=9.282978ms] [job="ID:207, Type:create schema, State:done, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.887 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=207] [conn=2] [job="ID:207, Type:create schema, State:synced, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.898 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/05 06:59:33.899 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=143] [cur_db=load_data] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 06:59:33.916 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:33.916 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [2025/04/05 06:59:33.921 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.928 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 208, Table Name: t)"] [2025/04/05 06:59:33.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=2.540283ms] [gotSchemaVersion=144] [phyTblIDs="[208]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:33.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=209] [version=144] [2025/04/05 06:59: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=144] ["take time"=10.147952ms] [job="ID:209, Type:create table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.968 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=209] [conn=2] [job="ID:209, Type:create table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:33.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:33.982 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=209] [2025/04/05 06:59:33.983 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=144] [cur_db=load_csv] [sql="CREATE TABLE t (id INT, val1 INT, val2 VARCHAR(20), d1 DECIMAL(10, 0), d2 DECIMAL(10, 2), d3 DECIMAL(8, 8),d4 DECIMAL(20, 0), d5 DECIMAL(36, 0), d6 DECIMAL(28, 8));"] [user=root@%] [2025/04/05 06:59:34.036 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestDetachedLoadParquet4266559382/001/test.parquet\",\"format\":\"parquet\"}"] [dist-task-enabled=true] [2025/04/05 06:59:34.036 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:34.036 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/05 06:59:34.036 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=574.895µs] [2025/04/05 06:59:34.036 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=704.832µs] [] [2025/04/05 06:59:34.060 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=25] [task-id=25] [data-size=2.623KiB] [thread-cnt=8] [global-sort=false] [2025/04/05 06:59:34.075 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=25] [2025/04/05 06:59:34.075 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:59:34.178 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:34.180 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:34.185 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [2025/04/05 06:59:34.195 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:34.195 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:59:34.234 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=25] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 06:59:34.255 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/05 06:59:34.262 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:34.263 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:34.263 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:34.263 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:34.263 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:34.263 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:34.263 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:34.263 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:34.264 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:34.264 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:34.276 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:34.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/05 06:59:34.278 +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/05 06:59:34.278 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=25] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:34.278 +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=3.879GiB]"] [2025/04/05 06:59:34.278 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=25] [disk-quota=700.7GiB] [2025/04/05 06:59:34.285 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [2025/04/05 06:59:34.285 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [2025/04/05 06:59:34.285 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=25] [mode=Import] [2025/04/05 06:59:34.289 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:34.293 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:34.293 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=208] [2025/04/05 06:59:34.304 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=25] [2025/04/05 06:59:34.314 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [2025/04/05 06:59:34.317 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=208] [key=test.parquet:0] [readDur=1.700609ms] [encodeDur=812.793µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=262.436µs] [type=file] [takeTime=3.388396ms] [] [2025/04/05 06:59:34.318 +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/33b743d6-cb48-4633-8c81-4ab6aacd5c7a.sst] [firstKey=7480000000000000D05F728000000000000001] [lastKey=7480000000000000D05F728000000000000006] [2025/04/05 06:59:34.318 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 06:59:34.318 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 06:59:34.318 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:34.320 +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.353826ms] [] [2025/04/05 06:59:34.321 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 06:59:34.325 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:34.347 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/05 06:59:34.347 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:34.348 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d05f728000000000000001] [endOfAllRanges=7480000000000000d05f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd05f728000000000ff0000070000000000fa] [2025/04/05 06:59:34.360 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/05 06:59:34.362 +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.995791ms] [] [2025/04/05 06:59:34.362 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:34.363 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.056305ms] [] [2025/04/05 06:59:34.363 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=25] [step=import] [engine-id=0] [2025/04/05 06:59:34.363 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:34.364 +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.527476ms] [] [2025/04/05 06:59:34.364 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 06:59:34.368 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:34.368 +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.570565ms] [] [2025/04/05 06:59:34.368 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:34.369 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=808.939µs] [] [2025/04/05 06:59:34.369 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=import] [subtask-id=47] [takeTime=83.795424ms] [] [2025/04/05 06:59:34.369 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=47] [step=import] [takeTime=83.944887ms] [] [2025/04/05 06:59:34.383 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:34.385 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:34.388 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:34.388 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:34.418 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:34.421 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=25] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:34.421 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:59:34.452 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:34.459 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=25] [step=import] [2025/04/05 06:59:34.462 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:34.462 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:34.462 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:34.462 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:34.462 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:34.462 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:34.462 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:34.462 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:34.462 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-24] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:34.462 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:34.462 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:34.462 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:34.464 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:34.464 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:34.464 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:34.464 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:34.464 +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=3.879GiB]"] [takeTime=186.44765ms] [] [2025/04/05 06:59:34.467 +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=3.879GiB]"] [2025/04/05 06:59:34.474 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [2025/04/05 06:59:34.474 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 06:59:34.474 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 06:59:34.474 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [2025/04/05 06:59:34.480 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=5.582663ms] [] [2025/04/05 06:59:34.480 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/05 06:59:34.480 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 06:59:34.480 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [weight=30] [2025/04/05 06:59:34.480 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [concurrency=15] [2025/04/05 06:59:34.482 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=208] [physicalTableID=208] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/05 06:59:34.483 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:34.483 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 06:59:34.483 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.144233ms] [] [2025/04/05 06:59:34.483 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=25] [step=post-process] [subtask-id=48] [takeTime=8.281141ms] [] [2025/04/05 06:59:34.483 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=25] [task-type=ImportInto] [server-id=:4000] [subtaskID=48] [step=post-process] [takeTime=8.407796ms] [] [2025/04/05 06:59:34.508 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:34.582 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=25] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:34.582 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=25] [step=post-process] [state=running] [] [2025/04/05 06:59:34.586 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=25] [2025/04/05 06:59:34.600 +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=3.879GiB]"] [takeTime=133.06495ms] [] [2025/04/05 06:59:34.600 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=25] [type=ImportInto] [2025/04/05 06:59:34.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.693049495\n# Parse_time: 0.000091236\n# Compile_time: 0.000629966\n# Rewrite_time: 0.000208126\n# Optimize_time: 0.000382591\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi4xbXMsIG9wZW46NjE2bnMsIGNsb3NlOjc4N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi4xbXMsIG9wZW46NjE2bnMsIGNsb3NlOjc4N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_csv;\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestDetachedLoadParquet4266559382/001/test.parquet' FORMAT 'parquet';"] [2025/04/05 06:59:34.677 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=25] [2025/04/05 06:59:34.683 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:34.683 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=25] [2025/04/05 06:59:34.693 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:34.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:34.693 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:34.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/05 06:59:34.699 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:208, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:34.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:34.708 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 210, Table Name: t, Old Table ID: 208, Old Table Name: t)"] [2025/04/05 06:59:34.709 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:34.730 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=2.746605ms] [gotSchemaVersion=145] [phyTblIDs="[208,210]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:34.734 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=145] [2025/04/05 06:59:34.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=145] ["take time"=10.062174ms] [job="ID:211, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:34.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:34.747 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=211] [tableIDs="[208]"] [comment="truncate table: table ID"] [2025/04/05 06:59:34.751 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="truncate table"] [2025/04/05 06:59:34.752 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=211] [conn=2] [job="ID:211, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:208, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:34.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:34.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/05 06:59:34.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=145] [cur_db=load_csv] [sql="TRUNCATE TABLE t;"] [user=root@%] [2025/04/05 06:59:34.779 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:34.828 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"parquet\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 06:59:34.852 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=26] [task-id=26] [data-size=2.623KiB] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:34.867 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=26] [2025/04/05 06:59:34.868 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:34.970 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:34.972 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:34.974 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [2025/04/05 06:59:34.984 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:34.986 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:34.987 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=2686] [2025/04/05 06:59:34.990 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=2686] [cost=3.909617ms] [2025/04/05 06:59:34.991 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=4.034062ms] [] [2025/04/05 06:59:34.991 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:34.991 +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=33] [subtasks=1] [2025/04/05 06:59:35.024 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=26] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:35.045 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/05 06:59:35.046 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:35.054 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:35.054 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:35.054 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:35.054 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:35.054 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:35.054 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:35.055 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:35.055 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:35.055 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:35.055 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:35.067 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:35.069 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:35.069 +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/05 06:59:35.069 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=26] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:35.069 +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=33, Mem=16GiB]"] [2025/04/05 06:59:35.069 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=26] [disk-quota=700.7GiB] [2025/04/05 06:59:35.077 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [2025/04/05 06:59:35.077 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [2025/04/05 06:59:35.077 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=26] [mode=Import] [2025/04/05 06:59:35.081 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:35.085 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:35.086 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=210] [2025/04/05 06:59:35.098 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=26] [2025/04/05 06:59:35.102 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=210] [key=p:0] [2025/04/05 06:59:35.105 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=210] [key=p:0] [readDur=1.451882ms] [encodeDur=895.6µs] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [deliverDur=273.868µs] [type=file] [takeTime=2.996889ms] [] [2025/04/05 06:59:35.106 +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/198c4574-b7f3-4ca4-a4fd-bcd6eed9dbf5.sst] [firstKey=7480000000000000D25F728000000000000001] [lastKey=7480000000000000D25F728000000000000006] [2025/04/05 06:59:35.106 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 06:59:35.106 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 06:59:35.106 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:35.108 +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.205999ms] [] [2025/04/05 06:59:35.108 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 06:59:35.113 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:35.134 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=6] [size=726] [2025/04/05 06:59:35.135 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:35.137 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d25f728000000000000001] [endOfAllRanges=7480000000000000d25f728000000000000007] [startKeyOfFirstRegion=7480000000000000ffd25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd25f728000000000ff0000070000000000fa] [2025/04/05 06:59:35.149 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=726] [kvs=6] [importedSize=726] [importedCount=6] [2025/04/05 06:59:35.150 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=41.708902ms] [] [2025/04/05 06:59:35.150 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 06:59:35.152 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.15387ms] [] [2025/04/05 06:59:35.152 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=26] [step=import] [engine-id=0] [2025/04/05 06:59:35.152 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:35.153 +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.474122ms] [] [2025/04/05 06:59:35.153 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 06:59:35.157 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:35.157 +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.572345ms] [] [2025/04/05 06:59:35.157 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 06:59:35.158 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=847.164µs] [] [2025/04/05 06:59:35.158 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=import] [subtask-id=49] [takeTime=80.942668ms] [] [2025/04/05 06:59:35.158 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=49] [step=import] [takeTime=81.419011ms] [] [2025/04/05 06:59:35.175 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:35.177 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:35.179 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:35.179 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:35.210 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":6}"] [2025/04/05 06:59:35.213 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=26] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:35.213 +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=33] [subtasks=1] [2025/04/05 06:59:35.243 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:35.250 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=26] [step=import] [2025/04/05 06:59:35.252 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:35.252 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:35.252 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:35.253 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:35.253 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:35.253 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:35.253 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:35.253 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:35.253 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:35.253 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-25] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:35.253 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:35.253 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:35.255 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:35.255 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:35.255 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:35.255 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:35.255 +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=33, Mem=16GiB]"] [takeTime=185.998124ms] [] [2025/04/05 06:59:35.258 +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=33, Mem=16GiB]"] [2025/04/05 06:59:35.265 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=post-process] [2025/04/05 06:59:35.265 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 06:59:35.265 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 06:59:35.265 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [2025/04/05 06:59:35.271 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=5.55118ms] [] [2025/04/05 06:59:35.271 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [groupId=-1] [size=726] [kvs=6] [checksum=13966026291112241924] [2025/04/05 06:59:35.271 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [checksum="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 06:59:35.271 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [weight=30] [2025/04/05 06:59:35.271 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [concurrency=15] [2025/04/05 06:59:35.273 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=210] [physicalTableID=210] [indexID=-1] [checksum=13966026291112241924] [totalKvs=6] [totalBytes=726] [2025/04/05 06:59:35.273 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:35.273 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [local="{cksum=13966026291112241924,size=726,kvs=6}"] [2025/04/05 06:59:35.273 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.13754ms] [] [2025/04/05 06:59:35.273 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=26] [step=post-process] [subtask-id=50] [takeTime=8.270109ms] [] [2025/04/05 06:59:35.273 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=26] [task-type=ImportInto] [server-id=:4000] [subtaskID=50] [step=post-process] [takeTime=8.395657ms] [] [2025/04/05 06:59:35.298 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:35.374 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=26] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:35.374 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=26] [step=post-process] [state=running] [] [2025/04/05 06:59:35.378 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=26] [2025/04/05 06:59:35.393 +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=33, Mem=16GiB]"] [takeTime=135.317677ms] [] [2025/04/05 06:59:35.393 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=26] [type=ImportInto] [2025/04/05 06:59:35.470 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=26] [2025/04/05 06:59:35.476 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:35.476 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=26] [2025/04/05 06:59:35.502 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:35.880 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:35.880 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE t;"] [2025/04/05 06:59:35.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:queueing, SchemaState:none, SchemaID:206, TableID:210, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:35.896 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 212, Table Name: t, Old Table ID: 210, Old Table Name: t)"] [2025/04/05 06:59:35.918 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=2.713075ms] [gotSchemaVersion=146] [phyTblIDs="[210,212]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:35.921 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=146] [2025/04/05 06:59: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=146] ["take time"=9.83134ms] [job="ID:213, Type:truncate table, State:done, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:35.935 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=213] [tableIDs="[210]"] [comment="truncate table: table ID"] [2025/04/05 06:59:35.940 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=213] [jobType="truncate table"] [2025/04/05 06:59:35.941 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=213] [conn=2] [job="ID:213, Type:truncate table, State:synced, SchemaState:public, SchemaID:206, TableID:210, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:35.961 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/05 06:59:35.961 +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.13s) === NAME TestImportInto === RUN TestImportInto/TestDiskQuota [2025/04/05 06:59:35.963 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=146] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_test_disk_quota;"] [user=root@%] [2025/04/05 06:59:35.975 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:35.975 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_disk_quota;"] [2025/04/05 06:59:35.980 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:queueing, SchemaState:none, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:35.994 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=704.383µs] [gotSchemaVersion=147] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:35.997 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=147] [2025/04/05 06:59:35.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=147] ["take time"=7.886841ms] [job="ID:215, Type:create schema, State:done, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:36.010 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=215] [conn=2] [job="ID:215, Type:create schema, State:synced, SchemaState:public, SchemaID:214, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:35.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:36.020 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/05 06:59:36.020 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=147] [cur_db=load_csv] [sql="CREATE DATABASE load_test_disk_quota;"] [user=root@%] [2025/04/05 06:59:36.033 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:36.033 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [2025/04/05 06:59:36.039 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:queueing, SchemaState:none, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:36.044 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 216, Table Name: t)"] [2025/04/05 06:59:36.059 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=1.85199ms] [gotSchemaVersion=148] [phyTblIDs="[216]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:36.063 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=148] [2025/04/05 06:59:36.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=148] ["take time"=9.617896ms] [job="ID:217, Type:create table, State:done, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:36.076 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=217] [conn=2] [job="ID:217, Type:create table, State:synced, SchemaState:public, SchemaID:214, TableID:216, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:36.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:36.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/05 06:59:36.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="CREATE TABLE load_test_disk_quota.t(a int, b int)"] [user=root@%] [2025/04/05 06:59:36.125 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:36.176 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disk_quota\":\"1b\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:36.195 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=27] [task-id=27] [data-size=95.49KiB] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:36.211 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=27] [2025/04/05 06:59:36.211 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:36.313 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:36.314 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:36.315 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [2025/04/05 06:59:36.322 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:36.324 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:36.324 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97780] [2025/04/05 06:59:36.325 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=97780] [cost=51.559µs] [2025/04/05 06:59:36.325 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=144.599µs] [] [2025/04/05 06:59:36.325 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:36.325 +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=33] [subtasks=1] [2025/04/05 06:59:36.354 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=27] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:36.373 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/05 06:59:36.374 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:36.382 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:36.382 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:36.382 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:36.382 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:36.382 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:36.382 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:36.382 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:36.383 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:36.383 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:36.383 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:36.395 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:36.397 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:36.397 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=27] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:36.397 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=27] [disk-quota=1B] [2025/04/05 06:59:36.397 +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=33, Mem=16GiB]"] [2025/04/05 06:59:36.404 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [2025/04/05 06:59:36.404 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [2025/04/05 06:59:36.408 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 06:59:36.411 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.411 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=216] [2025/04/05 06:59:36.419 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=27] [mode=Import] [2025/04/05 06:59:36.424 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [2025/04/05 06:59:36.438 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=27] [2025/04/05 06:59:36.495 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=49152] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.503 +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/a057be4c-8901-40be-94f8-46dfe7656db9.sst] [firstKey=7480000000000000D85F728000000000000001] [lastKey=7480000000000000D85F728000000000000B00] [2025/04/05 06:59:36.506 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.510 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:36.532 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2816] [size=98304] [2025/04/05 06:59:36.532 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:36.534 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000001] [endOfAllRanges=7480000000000000d85f728000000000000b01] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [2025/04/05 06:59:36.558 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98304] [kvs=2816] [importedSize=98304] [importedCount=2816] [2025/04/05 06:59:36.559 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=53.772169ms] [] [2025/04/05 06:59:36.565 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=49152] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.567 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 06:59:36.571 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.572 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=4.239119ms] [] [2025/04/05 06:59:36.578 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.582 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 06:59:36.582 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=3.888465ms] [] [2025/04/05 06:59:36.588 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=98309] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.596 +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/9510d1ec-0df8-4c1d-8f4a-1064c8b121e4.sst] [firstKey=7480000000000000D85F728000000000000B01] [lastKey=7480000000000000D85F7280000000000015F9] [2025/04/05 06:59:36.599 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.603 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:36.625 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/05 06:59:36.626 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:36.628 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f728000000000000b01] [endOfAllRanges=7480000000000000d85f7280000000000015fa] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff000b010000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [2025/04/05 06:59:36.654 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=196619] [importedCount=5625] [2025/04/05 06:59:36.656 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=57.091379ms] [] [2025/04/05 06:59:36.663 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=140502] [quota=1] [largeEnginesCount=2] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.670 +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/5790e67c-9f95-4acd-a530-741752353e73.sst] [firstKey=7480000000000000D85F7280000000000015FA] [lastKey=7480000000000000D85F7280000000000020F2] [2025/04/05 06:59:36.672 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 06:59:36.676 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.676 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.73717ms] [] [2025/04/05 06:59:36.681 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.685 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:36.707 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=2809] [size=98315] [2025/04/05 06:59:36.708 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:36.710 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000015fa] [endOfAllRanges=7480000000000000d85f7280000000000020f3] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0015fa0000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [2025/04/05 06:59:36.734 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=98315] [kvs=2809] [importedSize=294934] [importedCount=8434] [2025/04/05 06:59:36.736 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=55.076601ms] [] [2025/04/05 06:59:36.743 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=0] [memSize=174872] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.746 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=216] [key=diskquota-test.csv:0] [readDur=58.419438ms] [encodeDur=185.351359ms] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [deliverDur=28.223098ms] [type=file] [takeTime=321.096164ms] [] [2025/04/05 06:59:36.746 +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/9a9bc71d-32da-4e41-bf23-1204e26207da.sst] [firstKey=7480000000000000D85F7280000000000020F3] [lastKey=7480000000000000D85F728000000000002710] [2025/04/05 06:59:36.746 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 06:59:36.746 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 06:59:36.746 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 06:59:36.749 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.749 +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.713642ms] [] [2025/04/05 06:59:36.749 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [2025/04/05 06:59:36.753 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:36.775 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/05 06:59:36.776 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:36.777 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/05 06:59:36.796 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=349744] [importedCount=10000] [2025/04/05 06:59:36.798 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [retryCnt=0] [takeTime=48.58332ms] [] [2025/04/05 06:59:36.798 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:36.820 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] ["region ranges"=1] [count=1566] [size=54810] [2025/04/05 06:59:36.820 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:36.822 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000d85f7280000000000020f3] [endOfAllRanges=7480000000000000d85f728000000000002711] [startKeyOfFirstRegion=7480000000000000ffd85f728000000000ff0020f30000000000fa] [endKeyOfLastRegion=7480000000000000ffd85f728000000000ff0027110000000000fa] [2025/04/05 06:59:36.852 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=958a8637-d337-5bb1-a7f0-a440d652de89] [size=54810] [kvs=1566] [importedSize=404554] [importedCount=11566] [2025/04/05 06:59:36.854 +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=105.186565ms] [] [2025/04/05 06:59:36.854 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:0] [engineUUID=958a8637-d337-5bb1-a7f0-a440d652de89] [2025/04/05 06:59:36.860 +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=5.195042ms] [] [2025/04/05 06:59:36.860 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=27] [step=import] [engine-id=0] [2025/04/05 06:59:36.860 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.860 +00:00] [WARN] [table_import.go:568] ["disk quota exceeded"] [table=t] [import-id=27] [diskSize=860] [memSize=0] [quota=1] [largeEnginesCount=1] [inProgressLargeEnginesCount=0] [2025/04/05 06:59:36.863 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 06:59:36.863 +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.764325ms] [] [2025/04/05 06:59:36.863 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [2025/04/05 06:59:36.866 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.866 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [retryCnt=0] [takeTime=3.835094ms] [] [2025/04/05 06:59:36.871 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.871 +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=8.260966ms] [] [2025/04/05 06:59:36.871 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_disk_quota`.`t`:-1] [engineUUID=2412f538-0a8b-5aeb-ad25-2c75702b9b27] [2025/04/05 06:59:36.872 +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=893.136µs] [] [2025/04/05 06:59:36.872 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=import] [subtask-id=51] [takeTime=467.871776ms] [] [2025/04/05 06:59:36.872 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=51] [step=import] [takeTime=468.031572ms] [] [2025/04/05 06:59:36.919 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:36.920 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:36.921 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:36.921 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:36.951 +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/05 06:59:36.952 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=27] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:36.952 +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=33] [subtasks=1] [2025/04/05 06:59:36.987 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:36.994 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=27] [step=import] [2025/04/05 06:59:37.002 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:37.002 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:37.002 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:37.002 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:37.002 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:37.002 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:37.002 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:37.002 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-26] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:37.002 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:37.002 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:37.003 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:37.003 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:37.005 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:37.005 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:37.005 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:37.005 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:37.005 +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=33, Mem=16GiB]"] [takeTime=608.170887ms] [] [2025/04/05 06:59:37.006 +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=33, Mem=16GiB]"] [2025/04/05 06:59:37.014 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=post-process] [2025/04/05 06:59:37.014 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 06:59:37.014 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 06:59:37.014 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [2025/04/05 06:59:37.020 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=6.154091ms] [] [2025/04/05 06:59:37.020 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [groupId=-1] [size=349744] [kvs=10000] [checksum=13278823448959016481] [2025/04/05 06:59:37.020 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [checksum="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/05 06:59:37.021 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [weight=30] [2025/04/05 06:59:37.021 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [concurrency=15] [2025/04/05 06:59:37.025 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=216] [physicalTableID=216] [indexID=-1] [checksum=13278823448959016481] [totalKvs=10000] [totalBytes=349744] [2025/04/05 06:59:37.026 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:37.026 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [local="{cksum=13278823448959016481,size=349744,kvs=10000}"] [2025/04/05 06:59:37.026 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.77473ms] [] [2025/04/05 06:59:37.026 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=27] [step=post-process] [subtask-id=52] [takeTime=11.960292ms] [] [2025/04/05 06:59:37.026 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=27] [task-type=ImportInto] [server-id=:4000] [subtaskID=52] [step=post-process] [takeTime=12.290454ms] [] [2025/04/05 06:59:37.052 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:37.119 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=27] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:37.119 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=27] [step=post-process] [state=running] [] [2025/04/05 06:59:37.121 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=27] [2025/04/05 06:59:37.150 +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=33, Mem=16GiB]"] [takeTime=143.823766ms] [] [2025/04/05 06:59:37.150 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=27] [type=ImportInto] [2025/04/05 06:59:37.213 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=27] [2025/04/05 06:59:37.220 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:37.220 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=27] [2025/04/05 06:59:37.242 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:37.413 +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.293180886\n# Parse_time: 0.000115776\n# Compile_time: 0.000589419\n# Rewrite_time: 0.000175837\n# Optimize_time: 0.000374976\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuMjlzLCBvcGVuOjcwN25zLCBjbG9zZToxwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuMjlzLCBvcGVuOjcwN25zLCBjbG9zZToxwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_test_disk_quota`.`t` FROM 'gs://test-load/diskquota-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disk_quota=_UTF8MB4'1b';"] --- PASS: TestImportInto/TestDiskQuota (1.46s) === NAME TestImportInto === RUN TestImportInto/TestGBK [2025/04/05 06:59:37.422 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=148] [cur_db=load_csv] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/05 06:59:37.435 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:37.435 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/05 06:59:37.441 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:queueing, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.456 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=804.292µs] [gotSchemaVersion=149] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:37.460 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=149] [2025/04/05 06:59:37.462 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=149] ["take time"=9.016637ms] [job="ID:219, Type:create schema, State:done, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.473 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=219] [conn=2] [job="ID:219, Type:create schema, State:synced, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.483 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/05 06:59:37.484 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=149] [cur_db=load_csv] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/05 06:59:37.498 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:37.498 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [2025/04/05 06:59:37.504 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.510 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 220, Table Name: gbk)"] [2025/04/05 06:59:37.526 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.811717ms] [gotSchemaVersion=150] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:37.529 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=150] [2025/04/05 06:59:37.531 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=150] ["take time"=9.559395ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.543 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=221] [conn=2] [job="ID:221, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.554 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/05 06:59:37.555 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=150] [cur_db=load_csv] [sql="CREATE TABLE load_charset.gbk (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET gbk;"] [user=root@%] [2025/04/05 06:59:37.569 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:37.569 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/05 06:59:37.575 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:queueing, SchemaState:none, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.580 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 222, Table Name: utf8mb4)"] [2025/04/05 06:59:37.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.789371ms] [gotSchemaVersion=151] [phyTblIDs="[222]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:37.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=151] [2025/04/05 06:59:37.602 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=151] ["take time"=9.56103ms] [job="ID:223, Type:create table, State:done, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.614 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=223] [conn=2] [job="ID:223, Type:create table, State:synced, SchemaState:public, SchemaID:218, TableID:222, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:37.626 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/05 06:59:37.626 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=151] [cur_db=load_csv] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/05 06:59:37.633 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:37.685 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:37.705 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=28] [task-id=28] [data-size=69B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:37.720 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=28] [2025/04/05 06:59:37.720 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:37.822 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:37.823 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:37.824 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [2025/04/05 06:59:37.832 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:37.836 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 06:59:37.836 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=69] [2025/04/05 06:59:37.836 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=70.806µs] [2025/04/05 06:59:37.836 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=184.671µs] [] [2025/04/05 06:59:37.836 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:37.836 +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=33] [subtasks=1] [2025/04/05 06:59:37.875 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=28] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:37.896 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/05 06:59:37.896 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:37.905 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:37.905 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:37.906 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:37.906 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:37.906 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:37.906 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:37.906 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:37.906 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:37.907 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:37.907 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:37.920 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:37.922 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:37.922 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=752.3GB] [2025/04/05 06:59:37.922 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=28] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:37.922 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=28] [disk-quota=700.7GiB] [2025/04/05 06:59:37.922 +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=33, Mem=16GiB]"] [2025/04/05 06:59:37.929 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=28] [mode=Import] [2025/04/05 06:59:37.930 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [2025/04/05 06:59:37.931 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [2025/04/05 06:59:37.935 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:37.939 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:37.939 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=220] [2025/04/05 06:59:37.949 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=28] [2025/04/05 06:59:37.957 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [2025/04/05 06:59:37.960 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=220] [key=gbk.csv:0] [readDur=1.049282ms] [encodeDur=1.537538ms] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=297.61µs] [type=file] [takeTime=3.24304ms] [] [2025/04/05 06:59:37.961 +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/f696d154-6688-454b-8fb4-cd76c7e4dea8.sst] [firstKey=7480000000000000DC5F728000000000000001] [lastKey=7480000000000000DC5F728000000000000002] [2025/04/05 06:59:37.961 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 06:59:37.961 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 06:59:37.961 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:37.963 +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.172809ms] [] [2025/04/05 06:59:37.963 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/05 06:59:37.968 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:37.989 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/05 06:59:37.989 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:37.991 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000dc5f728000000000000001] [endOfAllRanges=7480000000000000dc5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffdc5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffdc5f728000000000ff0000030000000000fa] [2025/04/05 06:59:38.004 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 06:59:38.006 +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.050179ms] [] [2025/04/05 06:59:38.006 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:38.007 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.083936ms] [] [2025/04/05 06:59:38.007 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=28] [step=import] [engine-id=0] [2025/04/05 06:59:38.007 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:38.009 +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.629324ms] [] [2025/04/05 06:59:38.009 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/05 06:59:38.012 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:38.012 +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.747065ms] [] [2025/04/05 06:59:38.013 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:38.013 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=882.133µs] [] [2025/04/05 06:59:38.014 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=import] [subtask-id=53] [takeTime=82.942968ms] [] [2025/04/05 06:59:38.014 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=53] [step=import] [takeTime=83.090432ms] [] [2025/04/05 06:59:38.027 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:38.028 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:38.029 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:38.029 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:38.059 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:38.060 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=28] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:38.060 +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=33] [subtasks=1] [2025/04/05 06:59:38.080 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:38.087 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=28] [step=import] [2025/04/05 06:59:38.090 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:38.090 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:38.090 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:38.090 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:38.090 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:38.090 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:38.090 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:38.090 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:38.090 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:38.090 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-27] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:38.090 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:38.090 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:38.093 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:38.093 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:38.093 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:38.093 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:38.093 +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=33, Mem=16GiB]"] [takeTime=170.655696ms] [] [2025/04/05 06:59:38.095 +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=33, Mem=16GiB]"] [2025/04/05 06:59:38.102 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=post-process] [2025/04/05 06:59:38.102 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 06:59:38.102 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 06:59:38.102 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [2025/04/05 06:59:38.108 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=5.458192ms] [] [2025/04/05 06:59:38.108 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 06:59:38.108 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:38.108 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [weight=30] [2025/04/05 06:59:38.108 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [concurrency=15] [2025/04/05 06:59:38.110 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=220] [physicalTableID=220] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 06:59:38.110 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:38.110 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:38.110 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=8.291799ms] [] [2025/04/05 06:59:38.110 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=28] [step=post-process] [subtask-id=54] [takeTime=8.429313ms] [] [2025/04/05 06:59:38.111 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=28] [task-type=ImportInto] [server-id=:4000] [subtaskID=54] [step=post-process] [takeTime=8.558694ms] [] [2025/04/05 06:59:38.127 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=28] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:38.127 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=28] [step=post-process] [state=running] [] [2025/04/05 06:59:38.130 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=28] [2025/04/05 06:59:38.132 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:38.156 +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=33, Mem=16GiB]"] [takeTime=61.653836ms] [] [2025/04/05 06:59:38.156 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=28] [type=ImportInto] [2025/04/05 06:59:38.223 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=28] [2025/04/05 06:59:38.228 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:38.228 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=28] [2025/04/05 06:59:38.249 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:38.322 +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.695726281\n# Parse_time: 0.000090567\n# Compile_time: 0.000608466\n# Rewrite_time: 0.000180031\n# Optimize_time: 0.00055914\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC43bXMsIG9wZW46NjMwbnMsIGNsb3NlOjk1OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NC43bXMsIG9wZW46NjMwbnMsIGNsb3NlOjk1OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/05 06:59:38.332 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:38.381 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"gbk\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:38.401 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=29] [task-id=29] [data-size=69B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:38.415 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=29] [2025/04/05 06:59:38.415 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:38.518 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:38.519 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:38.520 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [2025/04/05 06:59:38.528 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:38.530 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 06:59:38.530 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=69] [2025/04/05 06:59:38.530 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=69] [cost=56.647µs] [2025/04/05 06:59:38.530 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=182.984µs] [] [2025/04/05 06:59:38.530 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:38.530 +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=33] [subtasks=1] [2025/04/05 06:59:38.565 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:38.586 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/05 06:59:38.586 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:38.595 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:38.595 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:38.596 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:38.596 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:38.596 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:38.596 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:38.596 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:38.596 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:38.597 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:38.597 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:38.609 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:38.611 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:38.611 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=752.3GB] [2025/04/05 06:59:38.611 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=29] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:38.611 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=29] [disk-quota=700.7GiB] [2025/04/05 06:59:38.611 +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=33, Mem=16GiB]"] [2025/04/05 06:59:38.619 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [2025/04/05 06:59:38.619 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [2025/04/05 06:59:38.623 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 06:59:38.624 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=29] [mode=Import] [2025/04/05 06:59:38.627 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 06:59:38.627 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=222] [2025/04/05 06:59:38.645 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=29] [2025/04/05 06:59:38.666 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [2025/04/05 06:59:38.668 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=222] [key=gbk.csv:0] [readDur=947.231µs] [encodeDur=489.692µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=286.728µs] [type=file] [takeTime=2.027335ms] [] [2025/04/05 06:59:38.669 +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/b5bfd683-9343-4bb7-be9e-79611e3f8735.sst] [firstKey=7480000000000000DE5F728000000000000001] [lastKey=7480000000000000DE5F728000000000000002] [2025/04/05 06:59:38.669 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 06:59:38.669 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 06:59:38.669 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 06:59:38.672 +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.425309ms] [] [2025/04/05 06:59:38.672 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 06:59:38.676 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:38.698 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=160] [2025/04/05 06:59:38.698 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:38.701 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000de5f728000000000000001] [endOfAllRanges=7480000000000000de5f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffde5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffde5f728000000000ff0000030000000000fa] [2025/04/05 06:59:38.714 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 06:59:38.715 +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=43.764171ms] [] [2025/04/05 06:59:38.715 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 06:59:38.717 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.050697ms] [] [2025/04/05 06:59:38.717 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=29] [step=import] [engine-id=0] [2025/04/05 06:59:38.717 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 06:59:38.718 +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.482304ms] [] [2025/04/05 06:59:38.718 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 06:59:38.723 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 06:59:38.723 +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=4.960837ms] [] [2025/04/05 06:59:38.723 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 06:59:38.724 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=967.988µs] [] [2025/04/05 06:59:38.724 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=import] [subtask-id=55] [takeTime=104.889271ms] [] [2025/04/05 06:59:38.724 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=55] [step=import] [takeTime=105.053025ms] [] [2025/04/05 06:59:38.824 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:38.825 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:38.826 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:38.826 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:38.860 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:38.861 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=29] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:38.861 +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=33] [subtasks=1] [2025/04/05 06:59:38.885 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:38.885 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=29] [step=import] [2025/04/05 06:59:38.888 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:38.888 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:38.888 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:38.888 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:38.888 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:38.888 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:38.888 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:38.888 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-28] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:38.888 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:38.888 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:38.889 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:38.889 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:38.891 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:38.891 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:38.891 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:38.891 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:38.892 +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=33, Mem=16GiB]"] [takeTime=279.988761ms] [] [2025/04/05 06:59:38.892 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/05 06:59:38.897 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=29] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:38.919 +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=33, Mem=16GiB]"] [2025/04/05 06:59:38.927 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=post-process] [2025/04/05 06:59:38.927 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 06:59:38.927 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 06:59:38.927 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [2025/04/05 06:59:38.934 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=6.327423ms] [] [2025/04/05 06:59:38.934 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 06:59:38.934 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:38.934 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [weight=30] [2025/04/05 06:59:38.934 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [concurrency=15] [2025/04/05 06:59:38.936 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=222] [physicalTableID=222] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 06:59:38.936 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:38.936 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:38.936 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=9.287614ms] [] [2025/04/05 06:59:38.936 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=29] [step=post-process] [subtask-id=56] [takeTime=9.426801ms] [] [2025/04/05 06:59:38.937 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=29] [task-type=ImportInto] [server-id=:4000] [subtaskID=56] [step=post-process] [takeTime=9.57437ms] [] [2025/04/05 06:59:38.972 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:39.023 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=29] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:39.023 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=29] [step=post-process] [state=running] [] [2025/04/05 06:59:39.026 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=29] [2025/04/05 06:59:39.043 +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=33, Mem=16GiB]"] [takeTime=123.63145ms] [] [2025/04/05 06:59:39.043 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=29] [type=ImportInto] [2025/04/05 06:59:39.118 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=29] [2025/04/05 06:59:39.124 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:39.124 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=29] [2025/04/05 06:59:39.146 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:39.320 +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.993137517\n# Parse_time: 0.000098199\n# Compile_time: 0.000561836\n# Rewrite_time: 0.000173284\n# Optimize_time: 0.000258802\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi4ybXMsIG9wZW46Njc1bnMsIGNsb3NlOjY5Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi4ybXMsIG9wZW46Njc1bnMsIGNsb3NlOjY5Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/gbk.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'gbk';"] [2025/04/05 06:59:39.336 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:39.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:39.336 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:39.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/05 06:59:39.340 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:220, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:39.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:39.348 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 224, Table Name: gbk, Old Table ID: 220, Old Table Name: gbk)"] [2025/04/05 06:59:39.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.898229ms] [gotSchemaVersion=152] [phyTblIDs="[220,224]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:39.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=152] [2025/04/05 06:59:39.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=152] ["take time"=9.02453ms] [job="ID:225, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:39.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:39.379 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=225] [tableIDs="[220]"] [comment="truncate table: table ID"] [2025/04/05 06:59:39.384 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=225] [jobType="truncate table"] [2025/04/05 06:59:39.385 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=225] [conn=2] [job="ID:225, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:39.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:39.404 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/05 06:59:39.404 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=152] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/05 06:59:39.410 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:39.461 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:39.480 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30] [task-id=30] [data-size=101B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:39.494 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30] [2025/04/05 06:59:39.495 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:39.597 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:39.598 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:39.599 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [2025/04/05 06:59:39.607 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:39.609 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 06:59:39.609 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=101] [2025/04/05 06:59:39.610 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=101] [cost=46.099µs] [2025/04/05 06:59:39.610 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=148.017µs] [] [2025/04/05 06:59:39.610 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:39.610 +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=33] [subtasks=1] [2025/04/05 06:59:39.645 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:39.665 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/05 06:59:39.666 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:39.674 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:39.674 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:39.675 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:39.675 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:39.675 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:39.675 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:39.675 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:39.675 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:39.675 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:39.676 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:39.688 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:39.690 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:39.690 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=752.3GB] [2025/04/05 06:59:39.690 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:39.690 +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=33, Mem=16GiB]"] [2025/04/05 06:59:39.690 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=30] [disk-quota=700.7GiB] [2025/04/05 06:59:39.698 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [2025/04/05 06:59:39.698 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [2025/04/05 06:59:39.702 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:39.708 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30] [mode=Import] [2025/04/05 06:59:39.711 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:39.712 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=224] [2025/04/05 06:59:39.726 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [2025/04/05 06:59:39.729 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30] [2025/04/05 06:59:39.729 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=224] [key=utf8mb4.csv:0] [readDur=1.096421ms] [encodeDur=548.609µs] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [deliverDur=314.947µs] [type=file] [takeTime=2.385304ms] [] [2025/04/05 06:59:39.730 +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/493d2389-5714-47c8-a95f-e2834956de62.sst] [firstKey=7480000000000000E05F728000000000000001] [lastKey=7480000000000000E05F728000000000000002] [2025/04/05 06:59:39.730 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 06:59:39.730 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 06:59:39.730 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:39.732 +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.136376ms] [] [2025/04/05 06:59:39.732 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [retryCnt=0] [2025/04/05 06:59:39.736 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:39.758 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] ["region ranges"=1] [count=2] [size=160] [2025/04/05 06:59:39.759 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:39.761 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e05f728000000000000001] [endOfAllRanges=7480000000000000e05f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe05f728000000000ff0000030000000000fa] [2025/04/05 06:59:39.772 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=bde291e2-5685-5f69-92ea-f9e2ed68f368] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 06:59:39.774 +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=41.869081ms] [] [2025/04/05 06:59:39.774 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:39.775 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [takeTime=1.190636ms] [] [2025/04/05 06:59:39.775 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30] [step=import] [engine-id=0] [2025/04/05 06:59:39.775 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:39.777 +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.632597ms] [] [2025/04/05 06:59:39.777 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [retryCnt=0] [2025/04/05 06:59:39.781 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:39.781 +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.754218ms] [] [2025/04/05 06:59:39.781 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:39.782 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [takeTime=956.974µs] [] [2025/04/05 06:59:39.782 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=import] [subtask-id=57] [takeTime=84.032878ms] [] [2025/04/05 06:59:39.782 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=57] [step=import] [takeTime=84.174484ms] [] [2025/04/05 06:59:39.802 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:39.803 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:39.804 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:39.804 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:39.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:59:39.835 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:39.836 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:39.837 +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=33] [subtasks=1] [2025/04/05 06:59:39.868 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:39.875 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30] [step=import] [2025/04/05 06:59:39.878 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:39.878 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:39.878 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:39.878 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:39.878 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:39.878 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:39.878 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:39.879 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:39.878 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-29] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:39.879 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:39.879 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:39.879 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:39.881 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:39.881 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:39.881 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:39.881 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:39.881 +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=33, Mem=16GiB]"] [takeTime=191.067066ms] [] [2025/04/05 06:59:39.883 +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=33, Mem=16GiB]"] [2025/04/05 06:59:39.890 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=post-process] [2025/04/05 06:59:39.891 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 06:59:39.891 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 06:59:39.891 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [2025/04/05 06:59:39.898 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=6.536716ms] [] [2025/04/05 06:59:39.898 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [groupId=-1] [size=160] [kvs=2] [checksum=12169156294469719470] [2025/04/05 06:59:39.898 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [checksum="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:39.898 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [weight=30] [2025/04/05 06:59:39.898 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [concurrency=15] [2025/04/05 06:59:39.901 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=224] [physicalTableID=224] [indexID=-1] [checksum=12169156294469719470] [totalKvs=2] [totalBytes=160] [2025/04/05 06:59:39.901 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:39.901 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [local="{cksum=12169156294469719470,size=160,kvs=2}"] [2025/04/05 06:59:39.902 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=10.52623ms] [] [2025/04/05 06:59:39.902 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30] [step=post-process] [subtask-id=58] [takeTime=10.688427ms] [] [2025/04/05 06:59:39.902 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30] [task-type=ImportInto] [server-id=:4000] [subtaskID=58] [step=post-process] [takeTime=11.706227ms] [] [2025/04/05 06:59:39.916 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:40.002 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:40.002 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30] [step=post-process] [state=running] [] [2025/04/05 06:59:40.004 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30] [2025/04/05 06:59:40.025 +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=33, Mem=16GiB]"] [takeTime=142.284016ms] [] [2025/04/05 06:59:40.025 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30] [type=ImportInto] [2025/04/05 06:59:40.097 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30] [2025/04/05 06:59:40.101 +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.696902738\n# Parse_time: 0.000095275\n# Compile_time: 0.000615183\n# Rewrite_time: 0.000209142\n# Optimize_time: 0.000278188\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS45bXMsIG9wZW46NTk0bnMsIGNsb3NlOjc2NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NS45bXMsIG9wZW46NTk0bnMsIGNsb3NlOjc2NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`gbk` FROM 'gs://test-load/utf8mb4.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8mb4';"] [2025/04/05 06:59:40.104 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:40.104 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30] [2025/04/05 06:59:40.118 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.gbk;"] [2025/04/05 06:59:40.118 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:40.124 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:queueing, SchemaState:none, SchemaID:218, TableID:224, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:40.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.127 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:40.132 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 226, Table Name: gbk, Old Table ID: 224, Old Table Name: gbk)"] [2025/04/05 06:59:40.148 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.819369ms] [gotSchemaVersion=153] [phyTblIDs="[224,226]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:40.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=153] [2025/04/05 06:59:40.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=153] ["take time"=9.335831ms] [job="ID:227, Type:truncate table, State:done, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.165 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=227] [tableIDs="[224]"] [comment="truncate table: table ID"] [2025/04/05 06:59:40.170 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=227] [jobType="truncate table"] [2025/04/05 06:59:40.170 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=227] [conn=2] [job="ID:227, Type:truncate table, State:synced, SchemaState:public, SchemaID:218, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.189 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/05 06:59:40.189 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=153] [cur_db=load_csv] [sql="TRUNCATE TABLE load_charset.gbk;"] [user=root@%] [2025/04/05 06:59:40.196 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:40.244 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/emoji.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8mb4\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:40.263 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=31] [task-id=31] [data-size=61B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:40.278 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=31] [2025/04/05 06:59:40.278 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:40.381 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:40.382 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:40.383 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [2025/04/05 06:59:40.391 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:40.393 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=gbk] [2025/04/05 06:59:40.393 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=gbk] [before=536870912000] [after=61] [2025/04/05 06:59:40.394 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=gbk] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=61] [cost=47.115µs] [2025/04/05 06:59:40.394 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=gbk] [takeTime=160.212µs] [] [2025/04/05 06:59:40.394 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=31] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:40.394 +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=33] [subtasks=1] [2025/04/05 06:59:40.424 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=31] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:40.444 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/05 06:59:40.444 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:40.453 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:40.453 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:40.453 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:40.453 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:40.453 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:40.453 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:40.453 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:40.454 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:40.454 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:40.454 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:40.466 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:40.468 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:40.468 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=gbk] [quota=752.3GB] [2025/04/05 06:59:40.468 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=31] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:40.468 +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=33, Mem=16GiB]"] [2025/04/05 06:59:40.468 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=gbk] [import-id=31] [disk-quota=700.7GiB] [2025/04/05 06:59:40.476 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [2025/04/05 06:59:40.476 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [2025/04/05 06:59:40.480 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:0] [engineUUID=bde291e2-5685-5f69-92ea-f9e2ed68f368] [2025/04/05 06:59:40.483 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`gbk`:-1] [engineUUID=2007fb28-9e9f-5c54-bfb7-f2a048e6ea16] [2025/04/05 06:59:40.484 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=226] [2025/04/05 06:59:40.487 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=31] [mode=Import] [2025/04/05 06:59:40.500 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [2025/04/05 06:59:40.501 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=226] [key=emoji.csv:0] [takeTime=1.059752ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 06:59:40.501 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=31] [step=import] [subtask-id=59] [takeTime=25.790823ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:40.502 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [subtaskID=59] [step=import] [takeTime=26.101827ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:40.502 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:40.509 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=31] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file emoji.csv:0 at offset 61: [table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 06:59:40.509 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=31] [2025/04/05 06:59:40.589 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=31] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[table:1366]Incorrect string value '\\\\\\\\xF0\\\\\\\\x9F\\\\\\\\x98\\\\\\\\x80' for column 'j'\\\"}\"]"] [2025/04/05 06:59:40.612 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=31] [step=import] [2025/04/05 06:59:40.615 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:40.615 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:40.615 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:40.615 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:40.615 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:40.615 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:40.615 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:40.615 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:40.615 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-30] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:40.616 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:40.616 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:40.616 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:40.618 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:40.618 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:40.618 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:40.618 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:40.618 +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=33, Mem=16GiB]"] [takeTime=149.858723ms] [] [2025/04/05 06:59:40.618 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=31] [type=ImportInto] [2025/04/05 06:59:40.685 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=31] [step=import] [state=reverting] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [2025/04/05 06:59:40.687 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=31] [step=import] [mode=Normal] [2025/04/05 06:59:40.701 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=31] [2025/04/05 06:59:40.781 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=31] [2025/04/05 06:59:40.787 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:40.787 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=31] [2025/04/05 06:59:40.814 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:40.879 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=31] [error="[table:1366]Incorrect string value '\\xF0\\x9F\\x98\\x80' for column 'j'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestGBK\n\ttests/realtikvtest/importintotest/import_into_test.go:591\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 06:59:40.879 +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.689666702\n# Parse_time: 0.000211318\n# Compile_time: 0.000915726\n# Rewrite_time: 0.000188917\n# Optimize_time: 0.000283818\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('SvBJMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4OC4ybXMsIG9wZW46NjU3bnMsIGNsb3NlOjEuNjHCtXMsIGxvb3BzOjEJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjgBQAFSA04vQVowdGltZTo2ODguMm1zLCBvcGVuOjY1N25zLCBjbG9zZToxLjYxwrVzLCBsb29wczoxcP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.46s) === NAME TestImportInto === RUN TestImportInto/TestGeneratedColumnsAndTSVFile [2025/04/05 06:59:40.892 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:40.892 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 06:59:40.897 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:queueing, SchemaState:public, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.917 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.676906ms] [gotSchemaVersion=154] [phyTblIDs="[212]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:40.920 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=154] [2025/04/05 06:59:40.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=154] ["take time"=9.899758ms] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.932 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:write only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.945 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=151.519µs] [gotSchemaVersion=155] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:40.948 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=155] [2025/04/05 06:59:40.950 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=7.231591ms] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:running, SchemaState:delete only, SchemaID:206, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.964 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:40.974 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=143.637µs] [gotSchemaVersion=156] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:40.978 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=156] [2025/04/05 06:59:40.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=156] ["take time"=7.206534ms] [job="ID:228, Type:drop schema, State:done, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:40.988 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[212]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:40.993 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop schema"] [2025/04/05 06:59:40.993 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=228] [conn=2] [job="ID:228, Type:drop schema, State:synced, SchemaState:none, SchemaID:206, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:40.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.009 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/05 06:59:41.009 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=156] [cur_db=] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 06:59:41.021 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:41.021 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 06:59:41.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:queueing, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:41.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=756.213µs] [gotSchemaVersion=157] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:41.043 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=230] [version=157] [2025/04/05 06:59:41.045 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=157] ["take time"=7.969832ms] [job="ID:230, Type:create schema, State:done, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.055 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=230] [conn=2] [job="ID:230, Type:create schema, State:synced, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:41.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.064 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=230] [2025/04/05 06:59:41.065 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=157] [cur_db=] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 06:59:41.080 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:41.080 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [2025/04/05 06:59:41.086 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:41.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.091 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 231, Table Name: t_gen1)"] [2025/04/05 06:59:41.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=1.782107ms] [gotSchemaVersion=158] [phyTblIDs="[231]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:41.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=232] [version=158] [2025/04/05 06:59:41.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=158] ["take time"=8.619245ms] [job="ID:232, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:41.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.121 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=232] [conn=2] [job="ID:232, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:231, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:41.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:41.132 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=232] [2025/04/05 06:59:41.133 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=158] [cur_db=load_csv] [sql="CREATE TABLE load_csv.t_gen1 (a int, b int generated ALWAYS AS (a+1));"] [user=root@%] [2025/04/05 06:59:41.139 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:41.188 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:41.207 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=32] [task-id=32] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:41.222 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=32] [2025/04/05 06:59:41.222 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:41.325 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:41.326 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:41.327 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [2025/04/05 06:59:41.335 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:41.338 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 06:59:41.338 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 06:59:41.338 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=49.182µs] [2025/04/05 06:59:41.338 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=156.006µs] [] [2025/04/05 06:59:41.338 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:41.338 +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=33] [subtasks=1] [2025/04/05 06:59:41.375 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=32] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:41.395 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/05 06:59:41.396 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:41.405 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:41.405 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:41.405 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:41.405 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:41.405 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:41.405 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:41.406 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:41.406 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:41.406 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:41.406 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:41.419 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:41.421 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:41.421 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=752.3GB] [2025/04/05 06:59:41.421 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=32] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:41.421 +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=33, Mem=16GiB]"] [2025/04/05 06:59:41.421 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=32] [disk-quota=700.7GiB] [2025/04/05 06:59:41.430 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [2025/04/05 06:59:41.430 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [2025/04/05 06:59:41.433 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=32] [mode=Import] [2025/04/05 06:59:41.434 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:41.438 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:41.438 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 06:59:41.452 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 06:59:41.454 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=32] [2025/04/05 06:59:41.455 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.227062ms] [encodeDur=790.929µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=220.07µs] [type=file] [takeTime=2.530955ms] [] [2025/04/05 06:59:41.455 +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/c73c37f9-095f-40b0-8ad6-f86b49fd169c.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 06:59:41.455 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 06:59:41.455 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 06:59:41.455 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:41.458 +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.180352ms] [] [2025/04/05 06:59:41.458 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 06:59:41.462 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:41.484 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:41.484 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:41.486 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 06:59:41.498 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:41.499 +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=41.648904ms] [] [2025/04/05 06:59:41.499 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:41.501 +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.044964ms] [] [2025/04/05 06:59:41.501 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=32] [step=import] [engine-id=0] [2025/04/05 06:59:41.501 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:41.502 +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.581796ms] [] [2025/04/05 06:59:41.502 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 06:59:41.506 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:41.506 +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.7272ms] [] [2025/04/05 06:59:41.506 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:41.507 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=1.06689ms] [] [2025/04/05 06:59:41.507 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=import] [subtask-id=60] [takeTime=76.999902ms] [] [2025/04/05 06:59:41.507 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=60] [step=import] [takeTime=77.165906ms] [] [2025/04/05 06:59:41.529 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:41.530 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:41.531 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:41.531 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:41.709 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:41.710 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=32] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:41.710 +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=33] [subtasks=1] [2025/04/05 06:59:41.739 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:41.746 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=32] [step=import] [2025/04/05 06:59:41.751 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:41.751 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:41.751 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:41.751 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:41.751 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:41.751 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:41.751 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:41.751 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:41.751 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:41.751 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-31] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:41.751 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:41.751 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:41.754 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:41.755 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:41.755 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:41.755 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:41.755 +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=33, Mem=16GiB]"] [takeTime=333.327347ms] [] [2025/04/05 06:59:41.756 +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=33, Mem=16GiB]"] [2025/04/05 06:59:41.763 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=post-process] [2025/04/05 06:59:41.764 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 06:59:41.764 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 06:59:41.764 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [2025/04/05 06:59:41.770 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=6.429105ms] [] [2025/04/05 06:59:41.770 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 06:59:41.770 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:41.770 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [weight=30] [2025/04/05 06:59:41.770 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [concurrency=15] [2025/04/05 06:59:41.773 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:41.773 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:41.773 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:41.773 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=9.519855ms] [] [2025/04/05 06:59:41.773 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=32] [step=post-process] [subtask-id=61] [takeTime=9.675331ms] [] [2025/04/05 06:59:41.773 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=32] [task-type=ImportInto] [server-id=:4000] [subtaskID=61] [step=post-process] [takeTime=9.812177ms] [] [2025/04/05 06:59:41.801 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:41.830 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=32] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:41.830 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=32] [step=post-process] [state=running] [] [2025/04/05 06:59:41.832 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=32] [2025/04/05 06:59:41.857 +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=33, Mem=16GiB]"] [takeTime=101.445534ms] [] [2025/04/05 06:59:41.857 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=32] [type=ImportInto] [2025/04/05 06:59:41.924 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=32] [2025/04/05 06:59:41.931 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:41.931 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=32] [2025/04/05 06:59:41.952 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:42.125 +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.991990062\n# Parse_time: 0.000093494\n# Compile_time: 0.000836176\n# Rewrite_time: 0.000440208\n# Optimize_time: 0.000283818\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC43bXMsIG9wZW46OTA2bnMsIGNsb3NlOjUyN25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MC43bXMsIG9wZW46OTA2bnMsIGNsb3NlOjUyN25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_csv;\nIMPORT INTO `load_csv`.`t_gen1` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:42.142 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:42.196 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:42.217 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=33] [task-id=33] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:42.236 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=33] [2025/04/05 06:59:42.236 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:42.338 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:42.340 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:42.340 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [2025/04/05 06:59:42.348 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:42.351 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 06:59:42.351 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 06:59:42.351 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=45.03µs] [2025/04/05 06:59:42.351 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=151.648µs] [] [2025/04/05 06:59:42.352 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:42.352 +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=33] [subtasks=1] [2025/04/05 06:59:42.385 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=33] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:42.407 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/05 06:59:42.407 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:42.416 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:42.416 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:42.416 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:42.416 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:42.416 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:42.417 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:42.416 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:42.417 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:42.417 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:42.417 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:42.430 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:42.432 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:42.433 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=752.3GB] [2025/04/05 06:59:42.433 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=33] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:42.433 +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=33, Mem=16GiB]"] [2025/04/05 06:59:42.433 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=33] [disk-quota=700.7GiB] [2025/04/05 06:59:42.441 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [2025/04/05 06:59:42.441 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [2025/04/05 06:59:42.444 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=33] [mode=Import] [2025/04/05 06:59:42.444 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:42.449 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:42.449 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 06:59:42.464 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=33] [2025/04/05 06:59:42.558 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 06:59:42.560 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.116136ms] [encodeDur=370.1µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=306.664µs] [type=file] [takeTime=2.15128ms] [] [2025/04/05 06:59:42.561 +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/7e3a8879-6ad4-4098-8d90-93c4c6024fd2.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 06:59:42.561 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 06:59:42.561 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 06:59:42.561 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:42.563 +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.344046ms] [] [2025/04/05 06:59:42.563 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 06:59:42.568 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:42.590 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:42.590 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:42.592 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 06:59:42.610 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:42.612 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [takeTime=48.394858ms] [] [2025/04/05 06:59:42.612 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:42.613 +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.030837ms] [] [2025/04/05 06:59:42.613 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=33] [step=import] [engine-id=0] [2025/04/05 06:59:42.613 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:42.615 +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.505857ms] [] [2025/04/05 06:59:42.615 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 06:59:42.618 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:42.618 +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.565235ms] [] [2025/04/05 06:59:42.618 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:42.619 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=922.632µs] [] [2025/04/05 06:59:42.619 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=import] [subtask-id=62] [takeTime=178.603781ms] [] [2025/04/05 06:59:42.619 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=62] [step=import] [takeTime=178.7729ms] [] [2025/04/05 06:59:42.643 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:42.644 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:42.645 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:42.645 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:42.677 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:42.678 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=33] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:42.678 +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=33] [subtasks=1] [2025/04/05 06:59:42.704 +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/05 06:59:42.711 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=33] [step=import] [2025/04/05 06:59:42.714 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:42.714 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:42.714 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:42.714 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:42.714 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:42.714 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:42.714 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:42.714 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:42.714 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:42.714 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-32] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:42.714 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:42.714 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:42.716 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:42.716 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:42.716 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:42.716 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:42.716 +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=33, Mem=16GiB]"] [takeTime=283.429207ms] [] [2025/04/05 06:59:42.717 +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=33, Mem=16GiB]"] [2025/04/05 06:59:42.724 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=post-process] [2025/04/05 06:59:42.725 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 06:59:42.725 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 06:59:42.725 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [2025/04/05 06:59:42.728 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=3.522878ms] [] [2025/04/05 06:59:42.728 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 06:59:42.728 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:42.728 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [weight=30] [2025/04/05 06:59:42.729 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [concurrency=15] [2025/04/05 06:59:42.730 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:42.731 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:42.731 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:42.731 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.225705ms] [] [2025/04/05 06:59:42.731 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=33] [step=post-process] [subtask-id=63] [takeTime=6.368902ms] [] [2025/04/05 06:59:42.731 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=33] [task-type=ImportInto] [server-id=:4000] [subtaskID=63] [step=post-process] [takeTime=6.495995ms] [] [2025/04/05 06:59:42.743 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=33] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:42.743 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=33] [step=post-process] [state=running] [] [2025/04/05 06:59:42.746 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=33] [2025/04/05 06:59:42.753 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:42.778 +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=33, Mem=16GiB]"] [takeTime=60.160251ms] [] [2025/04/05 06:59:42.778 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=33] [type=ImportInto] [2025/04/05 06:59:42.834 +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.699136861\n# Parse_time: 0.000130129\n# Compile_time: 0.000870686\n# Rewrite_time: 0.000441777\n# Optimize_time: 0.000299901\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ny44bXMsIG9wZW46NzQ3bnMsIGNsb3NlOjk4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Ny44bXMsIG9wZW46NzQ3bnMsIGNsb3NlOjk4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t_gen1` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:42.838 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=33] [2025/04/05 06:59:42.851 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:42.852 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:42.852 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=33] [2025/04/05 06:59:42.875 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:42.905 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:42.923 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=34] [task-id=34] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:42.938 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=34] [2025/04/05 06:59:42.938 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:43.040 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:43.041 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:43.042 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [2025/04/05 06:59:43.050 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:43.052 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen1] [2025/04/05 06:59:43.053 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen1] [before=536870912000] [after=7] [2025/04/05 06:59:43.053 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=40.765µs] [2025/04/05 06:59:43.053 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen1] [takeTime=128.323µs] [] [2025/04/05 06:59:43.053 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:43.053 +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=33] [subtasks=1] [2025/04/05 06:59:43.085 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:43.105 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/05 06:59:43.105 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:43.114 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:43.114 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:43.114 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:43.114 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:43.114 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:43.115 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:43.115 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:43.115 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:43.115 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:43.115 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:43.128 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:43.130 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:43.130 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen1] [quota=752.3GB] [2025/04/05 06:59:43.130 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=34] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:43.130 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen1] [import-id=34] [disk-quota=700.7GiB] [2025/04/05 06:59:43.130 +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=33, Mem=16GiB]"] [2025/04/05 06:59:43.138 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [2025/04/05 06:59:43.138 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [2025/04/05 06:59:43.142 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:43.145 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:43.146 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=231] [2025/04/05 06:59:43.146 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=34] [mode=Import] [2025/04/05 06:59:43.169 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=34] [2025/04/05 06:59:43.190 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [2025/04/05 06:59:43.192 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=231] [key=generated_columns.csv:0] [readDur=1.331403ms] [encodeDur=254.225µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=294.362µs] [type=file] [takeTime=2.246038ms] [] [2025/04/05 06:59:43.193 +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/2a9ed6d3-85c8-4c5a-80e4-bf47a422080a.sst] [firstKey=7480000000000000E75F728000000000000001] [lastKey=7480000000000000E75F728000000000000002] [2025/04/05 06:59:43.193 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 06:59:43.193 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 06:59:43.193 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:43.195 +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.202382ms] [] [2025/04/05 06:59:43.195 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [retryCnt=0] [2025/04/05 06:59:43.200 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:43.221 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:43.222 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:43.224 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e75f728000000000000001] [endOfAllRanges=7480000000000000e75f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe75f728000000000ff0000030000000000fa] [2025/04/05 06:59:43.240 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2338f157-c807-5664-9eae-1ae164d075d7] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:43.242 +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=46.629606ms] [] [2025/04/05 06:59:43.242 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:0] [engineUUID=2338f157-c807-5664-9eae-1ae164d075d7] [2025/04/05 06:59:43.243 +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.055526ms] [] [2025/04/05 06:59:43.243 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=34] [step=import] [engine-id=0] [2025/04/05 06:59:43.243 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:43.245 +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.676633ms] [] [2025/04/05 06:59:43.245 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [retryCnt=0] [2025/04/05 06:59:43.249 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:43.249 +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.671134ms] [] [2025/04/05 06:59:43.249 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [2025/04/05 06:59:43.250 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen1`:-1] [engineUUID=0063f486-3d5e-5c59-9865-8b1da5b97873] [takeTime=958.614µs] [] [2025/04/05 06:59:43.250 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=import] [subtask-id=64] [takeTime=112.234506ms] [] [2025/04/05 06:59:43.250 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=64] [step=import] [takeTime=112.418082ms] [] [2025/04/05 06:59:43.344 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:43.346 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:43.347 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:43.347 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:43.377 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:43.378 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=34] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:43.378 +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=33] [subtasks=1] [2025/04/05 06:59:43.405 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:43.405 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=34] [step=import] [2025/04/05 06:59:43.408 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:43.408 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:43.408 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:43.408 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:43.408 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:43.408 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:43.408 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:43.408 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:43.408 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:43.408 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-33] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:43.408 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:43.408 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:43.410 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:43.410 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:43.410 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:43.410 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:43.410 +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=33, Mem=16GiB]"] [takeTime=280.211702ms] [] [2025/04/05 06:59:43.410 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/05 06:59:43.415 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=34] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:43.436 +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=33, Mem=16GiB]"] [2025/04/05 06:59:43.444 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=post-process] [2025/04/05 06:59:43.444 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 06:59:43.444 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 06:59:43.444 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [2025/04/05 06:59:43.448 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=4.15828ms] [] [2025/04/05 06:59:43.448 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 06:59:43.448 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:43.448 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [weight=30] [2025/04/05 06:59:43.449 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [concurrency=15] [2025/04/05 06:59:43.451 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=231] [physicalTableID=231] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:43.451 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:43.451 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:43.451 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=7.01467ms] [] [2025/04/05 06:59:43.451 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=34] [step=post-process] [subtask-id=65] [takeTime=7.166475ms] [] [2025/04/05 06:59:43.451 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=34] [task-type=ImportInto] [server-id=:4000] [subtaskID=65] [step=post-process] [takeTime=7.294365ms] [] [2025/04/05 06:59:43.487 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:43.545 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=34] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:43.545 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=34] [step=post-process] [state=running] [] [2025/04/05 06:59:43.547 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=34] [2025/04/05 06:59:43.563 +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=33, Mem=16GiB]"] [takeTime=127.239291ms] [] [2025/04/05 06:59:43.563 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=34] [type=ImportInto] [2025/04/05 06:59:43.640 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=34] [2025/04/05 06:59:43.646 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:43.646 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=34] [2025/04/05 06:59:43.667 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:43.843 +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.000919175\n# Parse_time: 0.000117958\n# Compile_time: 0.000857357\n# Rewrite_time: 0.000413163\n# Optimize_time: 0.000329669\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OS42bXMsIG9wZW46NzQybnMsIGNsb3NlOjgyMG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OS42bXMsIG9wZW46NzQybnMsIGNsb3NlOjgyMG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t_gen1` (`a`,@`1`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:43.862 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:43.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [2025/04/05 06:59:43.862 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:43.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:43.868 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:queueing, SchemaState:none, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:43.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:43.873 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 233, Table Name: t_gen2)"] [2025/04/05 06:59:43.890 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=2.080485ms] [gotSchemaVersion=159] [phyTblIDs="[233]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:43.894 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=159] [2025/04/05 06:59:43.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=159] ["take time"=10.093742ms] [job="ID:234, Type:create table, State:done, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:43.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:43.908 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=234] [conn=2] [job="ID:234, Type:create table, State:synced, SchemaState:public, SchemaID:229, TableID:233, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:43.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:43.920 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/05 06:59:43.920 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=159] [cur_db=load_csv] [sql="create table t_gen2 (a int generated ALWAYS AS (b+1), b int);"] [user=root@%] [2025/04/05 06:59:43.927 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:43.979 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:44.001 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=35] [task-id=35] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:44.016 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=35] [2025/04/05 06:59:44.017 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:44.119 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:44.120 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:44.121 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [2025/04/05 06:59:44.129 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:44.131 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 06:59:44.132 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 06:59:44.132 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=52.77µs] [2025/04/05 06:59:44.132 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=150.708µs] [] [2025/04/05 06:59:44.132 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:44.132 +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=33] [subtasks=1] [2025/04/05 06:59:44.164 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:44.184 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/05 06:59:44.185 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:44.194 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:44.194 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:44.194 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:44.195 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:44.195 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:44.195 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:44.195 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:44.195 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:44.195 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:44.196 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:44.209 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:44.211 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:44.211 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=752.3GB] [2025/04/05 06:59:44.211 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=35] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:44.211 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=35] [disk-quota=700.7GiB] [2025/04/05 06:59:44.211 +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=33, Mem=16GiB]"] [2025/04/05 06:59:44.219 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [2025/04/05 06:59:44.220 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [2025/04/05 06:59:44.224 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:44.225 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=35] [mode=Import] [2025/04/05 06:59:44.228 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:44.228 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 06:59:44.253 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=35] [2025/04/05 06:59:44.273 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 06:59:44.276 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=1.249084ms] [encodeDur=1.523485ms] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [deliverDur=429.645µs] [type=file] [takeTime=3.604308ms] [] [2025/04/05 06:59:44.277 +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/a52a49c6-95b7-43af-a7f2-34a400dfc1a3.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 06:59:44.277 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 06:59:44.277 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 06:59:44.277 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:44.279 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=2.333221ms] [] [2025/04/05 06:59:44.280 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 06:59:44.284 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:44.306 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:44.306 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:44.308 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 06:59:44.322 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:44.324 +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.693403ms] [] [2025/04/05 06:59:44.324 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:44.325 +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.077807ms] [] [2025/04/05 06:59:44.326 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=35] [step=import] [engine-id=0] [2025/04/05 06:59:44.326 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:44.327 +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.488559ms] [] [2025/04/05 06:59:44.327 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 06:59:44.331 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:44.331 +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.740646ms] [] [2025/04/05 06:59:44.331 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:44.332 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=1.051369ms] [] [2025/04/05 06:59:44.332 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=import] [subtask-id=66] [takeTime=112.596951ms] [] [2025/04/05 06:59:44.333 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=66] [step=import] [takeTime=113.07094ms] [] [2025/04/05 06:59:44.424 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:44.425 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:44.426 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:44.426 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:44.460 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:44.461 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=35] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:44.461 +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=33] [subtasks=1] [2025/04/05 06:59:44.488 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:44.488 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=35] [step=import] [2025/04/05 06:59:44.492 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:44.492 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:44.492 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:44.492 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:44.492 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:44.492 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:44.492 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:44.492 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:44.492 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:44.492 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:44.492 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:44.492 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-34] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:44.494 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:44.494 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:44.495 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:44.495 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:44.495 +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=33, Mem=16GiB]"] [takeTime=283.646625ms] [] [2025/04/05 06:59:44.495 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/05 06:59:44.508 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=35] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:44.529 +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=33, Mem=16GiB]"] [2025/04/05 06:59:44.536 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=post-process] [2025/04/05 06:59:44.536 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 06:59:44.537 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 06:59:44.537 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [2025/04/05 06:59:44.543 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=6.558273ms] [] [2025/04/05 06:59:44.543 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [groupId=-1] [size=58] [kvs=2] [checksum=12236948213998824982] [2025/04/05 06:59:44.543 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [checksum="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/05 06:59:44.543 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [weight=30] [2025/04/05 06:59:44.543 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [concurrency=15] [2025/04/05 06:59:44.545 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=12236948213998824982] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:44.546 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:44.546 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [local="{cksum=12236948213998824982,size=58,kvs=2}"] [2025/04/05 06:59:44.546 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=9.312146ms] [] [2025/04/05 06:59:44.546 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=35] [step=post-process] [subtask-id=67] [takeTime=9.458091ms] [] [2025/04/05 06:59:44.546 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=35] [task-type=ImportInto] [server-id=:4000] [subtaskID=67] [step=post-process] [takeTime=9.6211ms] [] [2025/04/05 06:59:44.582 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:44.624 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=35] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:44.624 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=35] [step=post-process] [state=running] [] [2025/04/05 06:59:44.626 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=35] [2025/04/05 06:59:44.650 +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=33, Mem=16GiB]"] [takeTime=121.408109ms] [] [2025/04/05 06:59:44.650 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=35] [type=ImportInto] [2025/04/05 06:59:44.719 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=35] [2025/04/05 06:59:44.725 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:44.725 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=35] [2025/04/05 06:59:44.747 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:44.920 +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.999595361\n# Parse_time: 0.000100525\n# Compile_time: 0.000896708\n# Rewrite_time: 0.000480341\n# Optimize_time: 0.00031042\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OC4zbXMsIG9wZW46Njk2bnMsIGNsb3NlOjg1MG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OC4zbXMsIG9wZW46Njk2bnMsIGNsb3NlOjg1MG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t_gen2` FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:44.936 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:44.988 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`b`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:45.009 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=36] [task-id=36] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:45.024 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=36] [2025/04/05 06:59:45.024 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:45.127 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:45.128 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:45.129 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [2025/04/05 06:59:45.138 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:45.140 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 06:59:45.140 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 06:59:45.140 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=49.831µs] [2025/04/05 06:59:45.141 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=135.087µs] [] [2025/04/05 06:59:45.141 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:45.141 +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=33] [subtasks=1] [2025/04/05 06:59:45.175 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:45.195 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/05 06:59:45.195 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:45.204 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:45.204 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:45.204 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:45.205 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:45.205 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:45.205 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:45.205 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:45.205 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:45.206 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:45.206 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:45.219 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:45.220 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:45.220 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=752.3GB] [2025/04/05 06:59:45.220 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=36] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:45.220 +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=33, Mem=16GiB]"] [2025/04/05 06:59:45.220 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=36] [disk-quota=700.7GiB] [2025/04/05 06:59:45.228 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [2025/04/05 06:59:45.228 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [2025/04/05 06:59:45.232 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:45.233 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=36] [mode=Import] [2025/04/05 06:59:45.235 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:45.236 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 06:59:45.252 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=36] [2025/04/05 06:59:45.267 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 06:59:45.269 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=997.212µs] [encodeDur=389.968µs] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [deliverDur=236.527µs] [type=file] [takeTime=1.977014ms] [] [2025/04/05 06:59:45.270 +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/590a587c-e512-4c7e-978a-d691950a9f3e.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 06:59:45.270 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 06:59:45.270 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 06:59:45.270 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:45.272 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [takeTime=2.062983ms] [] [2025/04/05 06:59:45.272 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 06:59:45.277 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:45.299 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:45.299 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:45.301 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 06:59:45.315 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:45.317 +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.337639ms] [] [2025/04/05 06:59:45.317 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:45.318 +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.088058ms] [] [2025/04/05 06:59:45.318 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=36] [step=import] [engine-id=0] [2025/04/05 06:59:45.318 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:45.320 +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.588788ms] [] [2025/04/05 06:59:45.320 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 06:59:45.323 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:45.323 +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.600617ms] [] [2025/04/05 06:59:45.323 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:45.324 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=981.552µs] [] [2025/04/05 06:59:45.325 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=import] [subtask-id=68] [takeTime=96.352186ms] [] [2025/04/05 06:59:45.325 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=68] [step=import] [takeTime=96.497901ms] [] [2025/04/05 06:59:45.432 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:45.433 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:45.434 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:45.434 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:45.464 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:45.465 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=36] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:45.465 +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=33] [subtasks=1] [2025/04/05 06:59:45.474 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:45.474 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=36] [step=import] [2025/04/05 06:59:45.477 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:45.477 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:45.477 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:45.477 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:45.477 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:45.477 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:45.477 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:45.477 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:45.477 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:45.478 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:45.477 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-35] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:45.478 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:45.480 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:45.480 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:45.480 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:45.480 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:45.480 +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=33, Mem=16GiB]"] [takeTime=259.548549ms] [] [2025/04/05 06:59:45.480 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/05 06:59:45.505 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=36] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:45.524 +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=33, Mem=16GiB]"] [2025/04/05 06:59:45.532 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=post-process] [2025/04/05 06:59:45.532 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 06:59:45.532 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 06:59:45.532 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [2025/04/05 06:59:45.536 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=4.005064ms] [] [2025/04/05 06:59:45.536 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 06:59:45.536 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [checksum="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:45.536 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [weight=30] [2025/04/05 06:59:45.536 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [concurrency=15] [2025/04/05 06:59:45.538 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:45.538 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:45.539 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [local="{cksum=6725679395568127565,size=58,kvs=2}"] [2025/04/05 06:59:45.539 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.748088ms] [] [2025/04/05 06:59:45.539 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=36] [step=post-process] [subtask-id=69] [takeTime=6.900454ms] [] [2025/04/05 06:59:45.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=36] [task-type=ImportInto] [server-id=:4000] [subtaskID=69] [step=post-process] [takeTime=7.026856ms] [] [2025/04/05 06:59:45.572 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:45.632 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=36] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:45.632 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=36] [step=post-process] [state=running] [] [2025/04/05 06:59:45.634 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=36] [2025/04/05 06:59:45.658 +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=33, Mem=16GiB]"] [takeTime=133.848509ms] [] [2025/04/05 06:59:45.658 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=36] [type=ImportInto] [2025/04/05 06:59:45.726 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=36] [2025/04/05 06:59:45.733 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:45.733 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=36] [2025/04/05 06:59:45.754 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:45.927 +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.997797433\n# Parse_time: 0.000163491\n# Compile_time: 0.000818362\n# Rewrite_time: 0.000410332\n# Optimize_time: 0.000273218\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni41bXMsIG9wZW46NjQ5bnMsIGNsb3NlOjg1NW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni41bXMsIG9wZW46NjQ5bnMsIGNsb3NlOjg1NW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t_gen2` (`b`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 06:59:45.948 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:45.998 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`)\",\"file-location\":\"gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:46.017 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=37] [task-id=37] [data-size=7B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:46.031 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=37] [2025/04/05 06:59:46.032 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:46.135 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:46.136 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:46.137 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [2025/04/05 06:59:46.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:46.147 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t_gen2] [2025/04/05 06:59:46.147 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t_gen2] [before=536870912000] [after=7] [2025/04/05 06:59:46.147 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t_gen2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7] [cost=45.574µs] [2025/04/05 06:59:46.147 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t_gen2] [takeTime=166.372µs] [] [2025/04/05 06:59:46.147 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:46.147 +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=33] [subtasks=1] [2025/04/05 06:59:46.186 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:46.206 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/05 06:59:46.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:46.214 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:46.214 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:46.214 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:46.214 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:46.215 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:46.215 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:46.215 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:46.215 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:46.215 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:46.215 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:46.228 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:46.229 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:46.230 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t_gen2] [quota=752.3GB] [2025/04/05 06:59:46.230 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=37] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:46.230 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t_gen2] [import-id=37] [disk-quota=700.7GiB] [2025/04/05 06:59:46.230 +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=33, Mem=16GiB]"] [2025/04/05 06:59:46.238 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [2025/04/05 06:59:46.238 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [2025/04/05 06:59:46.240 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=37] [mode=Import] [2025/04/05 06:59:46.241 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:46.245 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:46.245 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=233] [2025/04/05 06:59:46.259 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=37] [2025/04/05 06:59:46.277 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [2025/04/05 06:59:46.279 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=233] [key=generated_columns.csv:0] [readDur=912.905µs] [encodeDur=336.805µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=260.726µs] [type=file] [takeTime=1.803827ms] [] [2025/04/05 06:59:46.280 +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/7c954626-09ba-4068-9c23-497bb80362a3.sst] [firstKey=7480000000000000E95F728000000000000001] [lastKey=7480000000000000E95F728000000000000002] [2025/04/05 06:59:46.280 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 06:59:46.280 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 06:59:46.280 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:46.282 +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.934324ms] [] [2025/04/05 06:59:46.282 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [retryCnt=0] [2025/04/05 06:59:46.286 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:46.308 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] ["region ranges"=1] [count=2] [size=50] [2025/04/05 06:59:46.308 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:46.310 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000e95f728000000000000001] [endOfAllRanges=7480000000000000e95f728000000000000003] [startKeyOfFirstRegion=7480000000000000ffe95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffe95f728000000000ff0000030000000000fa] [2025/04/05 06:59:46.324 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 06:59:46.326 +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.618457ms] [] [2025/04/05 06:59:46.326 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:0] [engineUUID=2af2eecd-4648-5805-aaa5-feaf0c6afb0e] [2025/04/05 06:59:46.327 +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.081199ms] [] [2025/04/05 06:59:46.327 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=37] [step=import] [engine-id=0] [2025/04/05 06:59:46.327 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:46.328 +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.463818ms] [] [2025/04/05 06:59:46.329 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [retryCnt=0] [2025/04/05 06:59:46.332 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:46.332 +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.676767ms] [] [2025/04/05 06:59:46.332 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [2025/04/05 06:59:46.333 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t_gen2`:-1] [engineUUID=af5132f3-132a-5b97-bec8-b012709d66fc] [takeTime=898.022µs] [] [2025/04/05 06:59:46.333 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=import] [subtask-id=70] [takeTime=95.698996ms] [] [2025/04/05 06:59:46.333 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=70] [step=import] [takeTime=95.851781ms] [] [2025/04/05 06:59:46.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:46.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:46.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:46.441 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:46.470 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:46.472 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=37] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:46.472 +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=33] [subtasks=1] [2025/04/05 06:59:46.479 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:46.479 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=37] [step=import] [2025/04/05 06:59:46.482 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:46.482 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:46.482 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:46.482 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:46.482 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:46.482 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:46.482 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:46.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:46.482 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-36] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:46.482 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:46.482 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:46.482 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:46.485 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:46.485 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:46.485 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:46.485 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:46.485 +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=33, Mem=16GiB]"] [takeTime=255.233839ms] [] [2025/04/05 06:59:46.485 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/05 06:59:46.505 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=37] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:46.524 +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=33, Mem=16GiB]"] [2025/04/05 06:59:46.531 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=post-process] [2025/04/05 06:59:46.531 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 06:59:46.532 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 06:59:46.532 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [2025/04/05 06:59:46.536 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=4.326097ms] [] [2025/04/05 06:59:46.536 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 06:59:46.536 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 06:59:46.536 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [weight=30] [2025/04/05 06:59:46.536 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [concurrency=15] [2025/04/05 06:59:46.538 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=233] [physicalTableID=233] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 06:59:46.539 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:46.539 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 06:59:46.539 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=7.082095ms] [] [2025/04/05 06:59:46.539 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=37] [step=post-process] [subtask-id=71] [takeTime=7.221193ms] [] [2025/04/05 06:59:46.539 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=37] [task-type=ImportInto] [server-id=:4000] [subtaskID=71] [step=post-process] [takeTime=7.370294ms] [] [2025/04/05 06:59:46.566 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:46.640 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=37] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:46.640 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=37] [step=post-process] [state=running] [] [2025/04/05 06:59:46.642 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=37] [2025/04/05 06:59:46.660 +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=33, Mem=16GiB]"] [takeTime=135.668368ms] [] [2025/04/05 06:59:46.660 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=37] [type=ImportInto] [2025/04/05 06:59:46.734 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=37] [2025/04/05 06:59:46.740 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:46.740 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=37] [2025/04/05 06:59:46.761 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:46.934 +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.998573821\n# Parse_time: 0.000126403\n# Compile_time: 0.000782031\n# Rewrite_time: 0.000358689\n# Optimize_time: 0.000280801\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ny40bXMsIG9wZW46NjM2bnMsIGNsb3NlOjc4N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ny40bXMsIG9wZW46NjM2bnMsIGNsb3NlOjc4N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t_gen2` (`a`) FROM 'gcs://test-bucket/generated_columns.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] --- PASS: TestImportInto/TestGeneratedColumnsAndTSVFile (6.06s) === NAME TestImportInto === RUN TestImportInto/TestIgnoreNLines [2025/04/05 06:59:46.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 06:59:46.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:46.957 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:queueing, SchemaState:public, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:46.976 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.867273ms] [gotSchemaVersion=160] [phyTblIDs="[204]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:46.979 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=160] [2025/04/05 06:59:46.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=160] ["take time"=9.440578ms] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:46.991 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:write only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.004 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=141.007µs] [gotSchemaVersion=161] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:47.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=161] [2025/04/05 06:59:47.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=161] ["take time"=7.531945ms] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:running, SchemaState:delete only, SchemaID:200, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:47.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=155.72µs] [gotSchemaVersion=162] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:47.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=162] [2025/04/05 06:59:47.040 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=162] ["take time"=7.932152ms] [job="ID:235, Type:drop schema, State:done, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.048 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=235] [tableIDs="[204]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:47.053 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop schema"] [2025/04/05 06:59:47.054 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=235] [conn=2] [job="ID:235, Type:drop schema, State:synced, SchemaState:none, SchemaID:200, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:46.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.070 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/05 06:59:47.070 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=162] [cur_db=load_csv] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 06:59:47.082 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:47.082 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 06:59:47.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:queueing, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.102 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=782.653µs] [gotSchemaVersion=163] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:47.106 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=163] [2025/04/05 06:59:47.108 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=163] ["take time"=8.33774ms] [job="ID:237, Type:create schema, State:done, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.118 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=237] [conn=2] [job="ID:237, Type:create schema, State:synced, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:47.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.129 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/05 06:59:47.129 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_csv] [sql="create database load_data"] [user=root@%] [2025/04/05 06:59:47.131 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=163] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 06:59:47.144 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:47.144 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:47.150 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:47.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.155 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 238, Table Name: t)"] [2025/04/05 06:59:47.172 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.922613ms] [gotSchemaVersion=164] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:47.175 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=164] [2025/04/05 06:59:47.177 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=164] ["take time"=9.3187ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:47.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.188 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=239] [conn=2] [job="ID:239, Type:create table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:47.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:47.200 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/05 06:59:47.201 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=164] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 06:59:47.207 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:47.255 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:47.274 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=38] [task-id=38] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:47.289 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=38] [2025/04/05 06:59:47.289 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:47.392 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:47.393 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:47.394 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [2025/04/05 06:59:47.402 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:47.405 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:47.405 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 06:59:47.405 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=61.006µs] [2025/04/05 06:59:47.405 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=168.435µs] [] [2025/04/05 06:59:47.405 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:47.405 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:47.445 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=38] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:47.465 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/05 06:59:47.465 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:47.474 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:47.474 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:47.474 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:47.474 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:47.474 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:47.474 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:47.474 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:47.475 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:47.475 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:47.475 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:47.487 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:47.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/05 06:59:47.489 +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/05 06:59:47.489 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=38] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:47.489 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=38] [disk-quota=700.7GiB] [2025/04/05 06:59:47.489 +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=496.5MiB]"] [2025/04/05 06:59:47.497 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [2025/04/05 06:59:47.497 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [2025/04/05 06:59:47.497 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=38] [mode=Import] [2025/04/05 06:59:47.500 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:47.504 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:47.504 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/05 06:59:47.516 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=38] [2025/04/05 06:59:47.548 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [2025/04/05 06:59:47.550 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-1.csv:0] [readDur=972.486µs] [encodeDur=430.769µs] [checksum="{cksum=12736467198054628245,size=164,kvs=4}"] [deliverDur=248.388µs] [type=file] [takeTime=1.899969ms] [] [2025/04/05 06:59:47.550 +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/9d8dd703-d47a-4449-918e-6d1d2834fbde.sst] [firstKey=7480000000000000EE5F728000000000000001] [lastKey=7480000000000000EE5F728000000000000004] [2025/04/05 06:59:47.550 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=238] [2025/04/05 06:59:47.572 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [2025/04/05 06:59:47.574 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=238] [key=skip-rows-2.csv:0] [readDur=980.063µs] [encodeDur=334.811µs] [checksum="{cksum=17165499041007397678,size=205,kvs=5}"] [deliverDur=230.494µs] [type=file] [takeTime=1.784395ms] [] [2025/04/05 06:59:47.575 +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/9637e50f-5d47-4cc8-8428-d7b0fc0e00c1.sst] [firstKey=7480000000000000EE5F72800000000000000F] [lastKey=7480000000000000EE5F728000000000000013] [2025/04/05 06:59:47.575 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 06:59:47.575 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 06:59:47.575 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:47.577 +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.796848ms] [] [2025/04/05 06:59:47.577 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:47.582 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:47.603 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=9] [size=369] [2025/04/05 06:59:47.603 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:47.605 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000ee5f728000000000000001] [endOfAllRanges=7480000000000000ee5f728000000000000014] [startKeyOfFirstRegion=7480000000000000ffee5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000ffee5f728000000000ff0000140000000000fa] [2025/04/05 06:59:47.616 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=369] [kvs=9] [importedSize=369] [importedCount=9] [2025/04/05 06:59:47.618 +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.953305ms] [] [2025/04/05 06:59:47.618 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:47.619 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.189457ms] [] [2025/04/05 06:59:47.619 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=38] [step=import] [engine-id=0] [2025/04/05 06:59:47.619 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:47.621 +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.42892ms] [] [2025/04/05 06:59:47.621 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:47.624 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:47.624 +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.53556ms] [] [2025/04/05 06:59:47.624 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:47.625 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=840.934µs] [] [2025/04/05 06:59:47.626 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=import] [subtask-id=72] [takeTime=128.538955ms] [] [2025/04/05 06:59:47.626 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=72] [step=import] [takeTime=128.679684ms] [] [2025/04/05 06:59:47.698 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:47.699 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:47.700 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:47.700 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:47.729 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":9}"] [2025/04/05 06:59:47.731 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=38] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:47.731 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:47.766 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:47.773 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=38] [step=import] [2025/04/05 06:59:47.776 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:47.776 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:47.776 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:47.776 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:47.776 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:47.776 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:47.776 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:47.776 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:47.776 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:47.776 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-37] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:47.776 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:47.776 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:47.778 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:47.778 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:47.778 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:47.778 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:47.778 +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=496.5MiB]"] [takeTime=288.901312ms] [] [2025/04/05 06:59:47.779 +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=496.5MiB]"] [2025/04/05 06:59:47.787 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=post-process] [2025/04/05 06:59:47.787 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 06:59:47.787 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 06:59:47.787 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [2025/04/05 06:59:47.793 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=6.067055ms] [] [2025/04/05 06:59:47.793 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [groupId=-1] [size=369] [kvs=9] [checksum=6843535201192644795] [2025/04/05 06:59:47.793 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [checksum="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/05 06:59:47.793 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [weight=30] [2025/04/05 06:59:47.793 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [concurrency=15] [2025/04/05 06:59:47.795 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=238] [physicalTableID=238] [indexID=-1] [checksum=6843535201192644795] [totalKvs=9] [totalBytes=369] [2025/04/05 06:59:47.796 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:47.796 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [local="{cksum=6843535201192644795,size=369,kvs=9}"] [2025/04/05 06:59:47.796 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=8.849247ms] [] [2025/04/05 06:59:47.796 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=38] [step=post-process] [subtask-id=73] [takeTime=9.034107ms] [] [2025/04/05 06:59:47.796 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=38] [task-type=ImportInto] [server-id=:4000] [subtaskID=73] [step=post-process] [takeTime=9.203006ms] [] [2025/04/05 06:59:47.824 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:47.896 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=38] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:47.896 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=38] [step=post-process] [state=running] [] [2025/04/05 06:59:47.899 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=38] [2025/04/05 06:59:47.934 +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=496.5MiB]"] [takeTime=154.348813ms] [] [2025/04/05 06:59:47.934 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=38] [type=ImportInto] [2025/04/05 06:59:47.992 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=38] [2025/04/05 06:59:47.999 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:47.999 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=38] [2025/04/05 06:59:48.020 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:48.192 +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.990384491\n# Parse_time: 0.000088934\n# Compile_time: 0.000594085\n# Rewrite_time: 0.000221429\n# Optimize_time: 0.000321853\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OS40bXMsIG9wZW46NjAwbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4OS40bXMsIG9wZW46NjAwbnMsIGNsb3NlOjEuMDHCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 06:59:48.208 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:48.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:48.208 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:48.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:59:48.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:238, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:48.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:48.223 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 240, Table Name: t, Old Table ID: 238, Old Table Name: t)"] [2025/04/05 06:59:48.240 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=1.951015ms] [gotSchemaVersion=165] [phyTblIDs="[238,240]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:48.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=165] [2025/04/05 06:59:48.245 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=9.765907ms] [job="ID:241, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:48.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:48.256 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=241] [tableIDs="[238]"] [comment="truncate table: table ID"] [2025/04/05 06:59:48.261 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="truncate table"] [2025/04/05 06:59:48.262 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=241] [conn=2] [job="ID:241, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:48.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:48.280 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/05 06:59:48.280 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=165] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 06:59:48.286 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:48.336 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:48.362 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=39] [task-id=39] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:48.376 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=39] [2025/04/05 06:59:48.376 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:48.478 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:48.480 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:48.481 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [2025/04/05 06:59:48.488 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:48.491 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:48.491 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 06:59:48.491 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=64.376µs] [2025/04/05 06:59:48.491 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=161.23µs] [] [2025/04/05 06:59:48.491 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:48.491 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:48.524 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:48.544 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/05 06:59:48.544 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:48.553 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:48.553 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:48.553 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:48.553 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:48.553 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:48.553 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:48.553 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:48.554 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:48.554 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:48.554 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:48.566 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:48.568 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:48.568 +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/05 06:59:48.568 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=39] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:48.568 +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=496.5MiB]"] [2025/04/05 06:59:48.568 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=39] [disk-quota=700.7GiB] [2025/04/05 06:59:48.575 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [2025/04/05 06:59:48.575 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [2025/04/05 06:59:48.579 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:48.583 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:48.583 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/05 06:59:48.585 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=39] [mode=Import] [2025/04/05 06:59:48.604 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=39] [2025/04/05 06:59:48.607 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [2025/04/05 06:59:48.608 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-1.csv:0] [readDur=71.138µs] [encodeDur=394.856µs] [checksum="{cksum=7570671136109282668,size=123,kvs=3}"] [deliverDur=217.973µs] [type=file] [takeTime=920.957µs] [] [2025/04/05 06:59:48.608 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=240] [2025/04/05 06:59:48.608 +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/c11b447a-8555-4a06-9561-ec657e1e9ada.sst] [firstKey=7480000000000000F05F728000000000000001] [lastKey=7480000000000000F05F728000000000000003] [2025/04/05 06:59:48.640 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [2025/04/05 06:59:48.641 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=240] [key=skip-rows-2.csv:0] [readDur=104.571µs] [encodeDur=366.149µs] [checksum="{cksum=5624564024173586417,size=164,kvs=4}"] [deliverDur=241.231µs] [type=file] [takeTime=981.484µs] [] [2025/04/05 06:59:48.642 +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/ef134864-7dd5-4606-8557-88e2917b1c70.sst] [firstKey=7480000000000000F05F72800000000000000F] [lastKey=7480000000000000F05F728000000000000012] [2025/04/05 06:59:48.642 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 06:59:48.642 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 06:59:48.642 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:48.644 +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.012451ms] [] [2025/04/05 06:59:48.644 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:48.649 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:48.671 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=7] [size=287] [2025/04/05 06:59:48.671 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:48.673 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f05f728000000000000001] [endOfAllRanges=7480000000000000f05f728000000000000013] [startKeyOfFirstRegion=7480000000000000fff05f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff05f728000000000ff0000130000000000fa] [2025/04/05 06:59:48.684 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=287] [kvs=7] [importedSize=287] [importedCount=7] [2025/04/05 06:59:48.686 +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.215423ms] [] [2025/04/05 06:59:48.686 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:48.687 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.118238ms] [] [2025/04/05 06:59:48.687 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=39] [step=import] [engine-id=0] [2025/04/05 06:59:48.687 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:48.688 +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.564248ms] [] [2025/04/05 06:59:48.689 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:48.692 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:48.692 +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.553488ms] [] [2025/04/05 06:59:48.692 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:48.693 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=891.198µs] [] [2025/04/05 06:59:48.693 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=import] [subtask-id=74] [takeTime=117.766238ms] [] [2025/04/05 06:59:48.693 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=74] [step=import] [takeTime=117.93185ms] [] [2025/04/05 06:59:48.785 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:48.786 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:48.787 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:48.788 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:48.820 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":7}"] [2025/04/05 06:59:48.822 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=39] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:48.822 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:48.836 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:48.836 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=39] [step=import] [2025/04/05 06:59:48.839 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:48.839 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:48.839 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:48.839 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:48.839 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:48.839 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:48.839 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:48.839 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:48.839 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:48.839 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-38] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:48.839 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:48.839 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:48.841 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:48.841 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:48.841 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:48.841 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:48.841 +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=496.5MiB]"] [takeTime=272.982182ms] [] [2025/04/05 06:59:48.841 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/05 06:59:48.855 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=39] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:48.875 +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=496.5MiB]"] [2025/04/05 06:59:48.883 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=post-process] [2025/04/05 06:59:48.883 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 06:59:48.883 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 06:59:48.883 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [2025/04/05 06:59:48.889 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=6.297329ms] [] [2025/04/05 06:59:48.889 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [groupId=-1] [size=287] [kvs=7] [checksum=2818719448718254749] [2025/04/05 06:59:48.889 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [checksum="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/05 06:59:48.889 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [weight=30] [2025/04/05 06:59:48.890 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [concurrency=15] [2025/04/05 06:59:48.892 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=240] [physicalTableID=240] [indexID=-1] [checksum=2818719448718254749] [totalKvs=7] [totalBytes=287] [2025/04/05 06:59:48.892 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:48.892 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [local="{cksum=2818719448718254749,size=287,kvs=7}"] [2025/04/05 06:59:48.892 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=9.274301ms] [] [2025/04/05 06:59:48.892 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=39] [step=post-process] [subtask-id=75] [takeTime=9.409714ms] [] [2025/04/05 06:59:48.892 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=39] [task-type=ImportInto] [server-id=:4000] [subtaskID=75] [step=post-process] [takeTime=9.564279ms] [] [2025/04/05 06:59:48.912 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:48.983 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=39] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:48.983 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=39] [step=post-process] [state=running] [] [2025/04/05 06:59:48.986 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=39] [2025/04/05 06:59:49.010 +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=496.5MiB]"] [takeTime=134.681386ms] [] [2025/04/05 06:59:49.010 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=39] [type=ImportInto] [2025/04/05 06:59:49.078 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=39] [2025/04/05 06:59:49.084 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:49.084 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=39] [2025/04/05 06:59:49.105 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:49.279 +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.999083853\n# Parse_time: 0.000139952\n# Compile_time: 0.000609613\n# Rewrite_time: 0.000222725\n# Optimize_time: 0.000297295\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OG1zLCBvcGVuOjcwNW5zLCBjbG9zZTo2OTBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5OG1zLCBvcGVuOjcwNW5zLCBjbG9zZTo2OTBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=1;"] [2025/04/05 06:59:49.295 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:49.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:59:49.295 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:49.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:49.301 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:queueing, SchemaState:none, SchemaID:236, TableID:240, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:49.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:49.309 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 242, Table Name: t, Old Table ID: 240, Old Table Name: t)"] [2025/04/05 06:59:49.326 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=2.153733ms] [gotSchemaVersion=166] [phyTblIDs="[240,242]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:49.330 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=166] [2025/04/05 06:59: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=166] ["take time"=9.316966ms] [job="ID:243, Type:truncate table, State:done, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:49.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:49.343 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=243] [tableIDs="[240]"] [comment="truncate table: table ID"] [2025/04/05 06:59:49.348 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=243] [jobType="truncate table"] [2025/04/05 06:59:49.349 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=243] [conn=2] [job="ID:243, Type:truncate table, State:synced, SchemaState:public, SchemaID:236, TableID:240, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:49.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:49.367 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/05 06:59:49.368 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=166] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 06:59:49.374 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:49.428 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"3\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 06:59:49.448 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=40] [task-id=40] [data-size=97B] [thread-cnt=1] [global-sort=false] [2025/04/05 06:59:49.463 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=40] [2025/04/05 06:59:49.463 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 06:59:49.566 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:49.568 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:49.569 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [2025/04/05 06:59:49.577 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:49.580 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:49.580 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=97] [2025/04/05 06:59:49.580 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=97] [cost=71.775µs] [2025/04/05 06:59:49.580 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=210.589µs] [] [2025/04/05 06:59:49.581 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:49.581 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 06:59:49.615 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:49.636 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/05 06:59:49.636 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:49.644 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:49.644 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:49.645 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:49.645 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:49.645 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:49.645 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:49.645 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:49.645 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:49.646 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:49.646 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:49.658 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:49.660 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:49.660 +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/05 06:59:49.660 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=40] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:49.660 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=40] [disk-quota=700.7GiB] [2025/04/05 06:59:49.660 +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=496.5MiB]"] [2025/04/05 06:59:49.668 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [2025/04/05 06:59:49.668 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [2025/04/05 06:59:49.672 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=40] [mode=Import] [2025/04/05 06:59:49.673 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:49.676 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:49.676 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/05 06:59:49.691 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=40] [2025/04/05 06:59:49.700 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [2025/04/05 06:59:49.703 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-1.csv:0] [readDur=85.913µs] [encodeDur=1.94962ms] [checksum="{cksum=16041078963605923607,size=41,kvs=1}"] [deliverDur=231.389µs] [type=file] [takeTime=2.550251ms] [] [2025/04/05 06:59:49.703 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=242] [2025/04/05 06:59:49.703 +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/ba274efc-ff61-4468-9344-c2048d97e2f8.sst] [firstKey=7480000000000000F25F728000000000000001] [lastKey=7480000000000000F25F728000000000000001] [2025/04/05 06:59:49.717 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [2025/04/05 06:59:49.718 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=242] [key=skip-rows-2.csv:0] [readDur=71.233µs] [encodeDur=277.499µs] [checksum="{cksum=4333126819455252683,size=82,kvs=2}"] [deliverDur=266.833µs] [type=file] [takeTime=851.457µs] [] [2025/04/05 06:59:49.719 +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/ccadd49c-0512-4a92-b3e6-be88088df9c1.sst] [firstKey=7480000000000000F25F72800000000000000F] [lastKey=7480000000000000F25F728000000000000010] [2025/04/05 06:59:49.719 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 06:59:49.719 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 06:59:49.719 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:49.721 +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.846892ms] [] [2025/04/05 06:59:49.721 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 06:59:49.725 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:49.747 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=3] [size=123] [2025/04/05 06:59:49.747 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:49.749 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f25f728000000000000001] [endOfAllRanges=7480000000000000f25f728000000000000011] [startKeyOfFirstRegion=7480000000000000fff25f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff25f728000000000ff0000110000000000fa] [2025/04/05 06:59:49.761 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=123] [kvs=3] [importedSize=123] [importedCount=3] [2025/04/05 06:59:49.762 +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.584166ms] [] [2025/04/05 06:59:49.763 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 06:59:49.764 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.198571ms] [] [2025/04/05 06:59:49.764 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=40] [step=import] [engine-id=0] [2025/04/05 06:59:49.764 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:49.766 +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.514758ms] [] [2025/04/05 06:59:49.766 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 06:59:49.769 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:49.769 +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.794603ms] [] [2025/04/05 06:59:49.769 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 06:59:49.771 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=1.016391ms] [] [2025/04/05 06:59:49.771 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=import] [subtask-id=76] [takeTime=102.207012ms] [] [2025/04/05 06:59:49.771 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=76] [step=import] [takeTime=102.568007ms] [] [2025/04/05 06:59:49.871 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:49.872 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:49.874 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:49.874 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:49.906 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":3}"] [2025/04/05 06:59:49.908 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=40] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:49.908 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 06:59:49.919 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [2025/04/05 06:59:49.919 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=40] [step=import] [2025/04/05 06:59:49.922 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:49.922 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:49.922 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:49.922 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:49.922 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:49.922 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:49.922 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:49.922 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:49.922 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-39] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:49.922 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:49.922 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:49.922 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:49.924 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:49.925 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:49.925 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:49.925 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:49.925 +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=496.5MiB]"] [takeTime=264.155268ms] [] [2025/04/05 06:59:49.925 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/05 06:59:49.945 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=40] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 06:59:49.966 +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=496.5MiB]"] [2025/04/05 06:59:49.974 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=post-process] [2025/04/05 06:59:49.974 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 06:59:49.974 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 06:59:49.974 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [2025/04/05 06:59:49.980 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=6.170031ms] [] [2025/04/05 06:59:49.980 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [groupId=-1] [size=123] [kvs=3] [checksum=16338786432462217180] [2025/04/05 06:59:49.980 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [checksum="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/05 06:59:49.980 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [weight=30] [2025/04/05 06:59:49.980 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [concurrency=15] [2025/04/05 06:59:49.982 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=242] [physicalTableID=242] [indexID=-1] [checksum=16338786432462217180] [totalKvs=3] [totalBytes=123] [2025/04/05 06:59:49.983 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:49.983 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [local="{cksum=16338786432462217180,size=123,kvs=3}"] [2025/04/05 06:59:49.983 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=8.744214ms] [] [2025/04/05 06:59:49.983 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=40] [step=post-process] [subtask-id=77] [takeTime=8.913369ms] [] [2025/04/05 06:59:49.983 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=40] [task-type=ImportInto] [server-id=:4000] [subtaskID=77] [step=post-process] [takeTime=9.05305ms] [] [2025/04/05 06:59:50.010 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:50.071 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=40] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:50.071 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=40] [step=post-process] [state=running] [] [2025/04/05 06:59:50.073 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=40] [2025/04/05 06:59:50.106 +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=496.5MiB]"] [takeTime=140.422744ms] [] [2025/04/05 06:59:50.106 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=40] [type=ImportInto] [2025/04/05 06:59:50.165 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=40] [2025/04/05 06:59:50.173 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:50.173 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=40] [2025/04/05 06:59:50.295 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:50.366 +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.997449985\n# Parse_time: 0.000112036\n# Compile_time: 0.00061638\n# Rewrite_time: 0.000209017\n# Optimize_time: 0.000275706\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Ni4zbXMsIG9wZW46NjU0bnMsIGNsb3NlOjc1M25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Ni4zbXMsIG9wZW46NjU0bnMsIGNsb3NlOjc1M25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/skip-rows-*.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1, skip_rows=3;"] --- PASS: TestImportInto/TestIgnoreNLines (3.43s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoPrivilegePositiveCase [2025/04/05 06:59:50.382 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.382 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/05 06:59:50.387 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:queueing, SchemaState:public, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.408 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=2.443658ms] [gotSchemaVersion=167] [phyTblIDs="[171,172,173,174,175,176]"] [actionTypes="[2,2,2,2,2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:50.412 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=167] [2025/04/05 06:59:50.414 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=167] ["take time"=10.56754ms] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.424 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:write only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=170.073µs] [gotSchemaVersion=168] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:50.441 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=168] [2025/04/05 06:59:50.442 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=168] ["take time"=7.411954ms] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.451 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:running, SchemaState:delete only, SchemaID:116, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.457 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:50.467 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=149.6µs] [gotSchemaVersion=169] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:50.471 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=244] [version=169] [2025/04/05 06:59:50.473 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=169] ["take time"=8.059919ms] [job="ID:244, Type:drop schema, State:done, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.483 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=244] [tableIDs="[171,172,173,174,175,176]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:50.489 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=244] [jobType="drop schema"] [2025/04/05 06:59:50.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=244] [conn=2] [job="ID:244, Type:drop schema, State:synced, SchemaState:none, SchemaID:116, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.506 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=244] [2025/04/05 06:59:50.507 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=169] [cur_db=load_data] [sql="drop database if exists import_into"] [user=root@%] [2025/04/05 06:59:50.519 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.519 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 06:59:50.524 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:queueing, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.538 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=771.984µs] [gotSchemaVersion=170] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:50.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=246] [version=170] [2025/04/05 06:59:50.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=170] ["take time"=8.046184ms] [job="ID:246, Type:create schema, State:done, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.554 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=246] [conn=2] [job="ID:246, Type:create schema, State:synced, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.564 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=246] [2025/04/05 06:59:50.564 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=170] [cur_db=load_data] [sql="create database import_into"] [user=root@%] [2025/04/05 06:59:50.578 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.578 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 06:59:50.584 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.589 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 247, Table Name: t)"] [2025/04/05 06:59:50.605 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.871962ms] [gotSchemaVersion=171] [phyTblIDs="[247]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:50.609 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=248] [version=171] [2025/04/05 06:59:50.610 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=171] ["take time"=9.426717ms] [job="ID:248, Type:create table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.621 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=248] [conn=2] [job="ID:248, Type:create table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:50.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.632 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=248] [2025/04/05 06:59:50.633 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 06:59:50.697 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] [cur_db=import_into] [sql="DROP USER IF EXISTS 'test_import_into'@'localhost';"] [user=root@%] [2025/04/05 06:59:50.737 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="create user test_import_into@localhost"] [user=root@%] [2025/04/05 06:59:50.785 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT SELECT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:50.829 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT UPDATE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:50.870 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT INSERT on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:50.913 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT DELETE on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:50.955 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=171] ["secure text"="GRANT ALTER on import_into.t to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:50.961 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:51.013 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:51.033 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=41] [task-id=41] [data-size=21B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:51.048 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=41] [2025/04/05 06:59:51.048 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:51.150 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:51.151 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:51.152 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [2025/04/05 06:59:51.160 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:51.163 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:51.163 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 06:59:51.163 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=41.309µs] [2025/04/05 06:59:51.163 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.537µs] [] [2025/04/05 06:59:51.163 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:51.163 +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=33] [subtasks=1] [2025/04/05 06:59:51.195 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=41] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:51.216 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/05 06:59:51.216 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:51.225 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:51.225 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:51.225 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:51.225 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:51.226 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:51.226 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:51.226 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:51.226 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:51.226 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:51.226 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:51.239 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:51.240 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:51.240 +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/05 06:59:51.241 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=41] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:51.241 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=41] [disk-quota=700.7GiB] [2025/04/05 06:59:51.241 +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=33, Mem=16GiB]"] [2025/04/05 06:59:51.248 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [2025/04/05 06:59:51.248 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [2025/04/05 06:59:51.252 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:51.256 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:51.256 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=247] [2025/04/05 06:59:51.257 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=41] [mode=Import] [2025/04/05 06:59:51.269 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [2025/04/05 06:59:51.272 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=247] [key=db.tbl.001.csv:0] [readDur=1.279664ms] [encodeDur=316.567µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=242.282µs] [type=file] [takeTime=2.077328ms] [] [2025/04/05 06:59:51.272 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 06:59:51.272 +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/346a5a0d-47f7-45ba-ba97-31061e8e5215.sst] [firstKey=7480000000000000F75F728000000000000001] [lastKey=7480000000000000F75F728000000000000002] [2025/04/05 06:59:51.272 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 06:59:51.272 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:51.275 +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.427063ms] [] [2025/04/05 06:59:51.275 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:51.275 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=41] [2025/04/05 06:59:51.279 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:51.301 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 06:59:51.301 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:51.303 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f75f728000000000000001] [endOfAllRanges=7480000000000000f75f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff75f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff75f728000000000ff0000030000000000fa] [2025/04/05 06:59:51.314 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 06:59:51.316 +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.095292ms] [] [2025/04/05 06:59:51.316 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:51.317 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.122113ms] [] [2025/04/05 06:59:51.317 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=41] [step=import] [engine-id=0] [2025/04/05 06:59:51.317 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:51.319 +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.54052ms] [] [2025/04/05 06:59:51.319 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:51.323 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:51.323 +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.903391ms] [] [2025/04/05 06:59:51.323 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:51.324 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=958.516µs] [] [2025/04/05 06:59:51.324 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=import] [subtask-id=78] [takeTime=75.737664ms] [] [2025/04/05 06:59:51.324 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=78] [step=import] [takeTime=75.87872ms] [] [2025/04/05 06:59:51.355 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:51.356 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:51.357 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:51.357 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:51.388 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:51.390 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=41] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:51.390 +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=33] [subtasks=1] [2025/04/05 06:59:51.428 +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/05 06:59:51.435 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=41] [step=import] [2025/04/05 06:59:51.438 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:51.438 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:51.438 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:51.438 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:51.438 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:51.438 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:51.438 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:51.438 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:51.438 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-40] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:51.438 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:51.438 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:51.438 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:51.441 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:51.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:51.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:51.441 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:51.441 +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=33, Mem=16GiB]"] [takeTime=199.984145ms] [] [2025/04/05 06:59:51.442 +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=33, Mem=16GiB]"] [2025/04/05 06:59:51.450 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=post-process] [2025/04/05 06:59:51.450 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 06:59:51.450 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 06:59:51.450 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [2025/04/05 06:59:51.456 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=6.109941ms] [] [2025/04/05 06:59:51.456 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 06:59:51.456 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:51.456 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [weight=30] [2025/04/05 06:59:51.456 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [concurrency=15] [2025/04/05 06:59:51.458 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=247] [physicalTableID=247] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 06:59:51.459 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:51.459 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:51.459 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=9.17018ms] [] [2025/04/05 06:59:51.459 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=41] [step=post-process] [subtask-id=79] [takeTime=9.317679ms] [] [2025/04/05 06:59:51.459 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=41] [task-type=ImportInto] [server-id=:4000] [subtaskID=79] [step=post-process] [takeTime=9.44148ms] [] [2025/04/05 06:59:51.488 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:51.555 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=41] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:51.555 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=41] [step=post-process] [state=running] [] [2025/04/05 06:59:51.558 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=41] [2025/04/05 06:59:51.581 +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=33, Mem=16GiB]"] [takeTime=139.316975ms] [] [2025/04/05 06:59:51.582 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=41] [type=ImportInto] [2025/04/05 06:59:51.650 +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.694471073\n# Parse_time: 0.000100858\n# Compile_time: 0.000587887\n# Rewrite_time: 0.000174249\n# Optimize_time: 0.000305573\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('SfBIMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5My41bXMsIG9wZW46NjgxbnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('ZPBPCmAKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi90aW1lOjY5My41bXMsIG9wZW46NjgxbnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse import_into;\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 06:59:51.650 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=41] [2025/04/05 06:59:51.654 +00:00] [INFO] [sem.go:79] ["tidb-server is operating with security enhanced mode (SEM) enabled"] [2025/04/05 06:59:51.656 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:51.656 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=41] [2025/04/05 06:59:51.667 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:51.667 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:59:51.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:247, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:51.678 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:51.682 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 249, Table Name: t, Old Table ID: 247, Old Table Name: t)"] [2025/04/05 06:59:51.698 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=1.932548ms] [gotSchemaVersion=172] [phyTblIDs="[247,249]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:51.701 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=172] [2025/04/05 06:59:51.703 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=9.296356ms] [job="ID:250, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:51.713 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=250] [tableIDs="[247]"] [comment="truncate table: table ID"] [2025/04/05 06:59:51.718 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="truncate table"] [2025/04/05 06:59:51.719 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=250] [conn=2] [job="ID:250, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:247, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:51.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:51.742 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/05 06:59:51.743 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/05 06:59:51.749 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:51.797 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:51.817 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=42] [task-id=42] [data-size=21B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:51.831 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=42] [2025/04/05 06:59:51.831 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:51.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:59:51.934 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:51.935 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:51.936 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [2025/04/05 06:59:51.944 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:51.948 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:51.948 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 06:59:51.948 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=75.369µs] [2025/04/05 06:59:51.948 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=191.44µs] [] [2025/04/05 06:59:51.948 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:51.948 +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=33] [subtasks=1] [2025/04/05 06:59:51.986 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=42] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:52.007 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/05 06:59:52.007 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:52.015 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:52.015 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:52.016 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:52.016 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:52.016 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:52.016 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:52.016 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:52.016 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:52.017 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:52.017 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:52.029 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:52.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/05 06:59:52.031 +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/05 06:59:52.031 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=42] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:52.031 +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=33, Mem=16GiB]"] [2025/04/05 06:59:52.031 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=42] [disk-quota=700.7GiB] [2025/04/05 06:59:52.039 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [2025/04/05 06:59:52.039 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [2025/04/05 06:59:52.042 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=42] [mode=Import] [2025/04/05 06:59:52.043 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.047 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.047 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=249] [2025/04/05 06:59:52.060 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [2025/04/05 06:59:52.062 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=249] [key=db.tbl.001.csv:0] [readDur=991.764µs] [encodeDur=255.489µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=281.137µs] [type=file] [takeTime=1.83421ms] [] [2025/04/05 06:59:52.063 +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/43e7477e-e408-43d1-940c-80340716be3c.sst] [firstKey=7480000000000000F95F728000000000000001] [lastKey=7480000000000000F95F728000000000000002] [2025/04/05 06:59:52.063 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 06:59:52.063 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 06:59:52.063 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.064 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=42] [2025/04/05 06:59:52.065 +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.939162ms] [] [2025/04/05 06:59:52.065 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:52.069 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:52.091 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 06:59:52.091 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:52.093 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000f95f728000000000000001] [endOfAllRanges=7480000000000000f95f728000000000000003] [startKeyOfFirstRegion=7480000000000000fff95f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fff95f728000000000ff0000030000000000fa] [2025/04/05 06:59:52.105 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 06:59:52.107 +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.527276ms] [] [2025/04/05 06:59:52.107 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.108 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.115763ms] [] [2025/04/05 06:59:52.108 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=42] [step=import] [engine-id=0] [2025/04/05 06:59:52.108 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.110 +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.424299ms] [] [2025/04/05 06:59:52.110 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:52.113 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.113 +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.781472ms] [] [2025/04/05 06:59:52.114 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.114 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=942.084µs] [] [2025/04/05 06:59:52.115 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=import] [subtask-id=80] [takeTime=75.113316ms] [] [2025/04/05 06:59:52.115 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=80] [step=import] [takeTime=75.270317ms] [] [2025/04/05 06:59:52.139 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:52.140 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:52.142 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:52.142 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:52.172 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:52.173 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=42] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:52.173 +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=33] [subtasks=1] [2025/04/05 06:59:52.200 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:52.207 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=42] [step=import] [2025/04/05 06:59:52.210 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:52.210 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:52.210 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:52.210 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:52.210 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:52.210 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:52.210 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:52.210 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:52.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:52.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:52.210 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-41] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:52.210 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:52.212 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:52.212 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:52.212 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:52.212 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:52.212 +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=33, Mem=16GiB]"] [takeTime=180.718089ms] [] [2025/04/05 06:59:52.213 +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=33, Mem=16GiB]"] [2025/04/05 06:59:52.221 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=post-process] [2025/04/05 06:59:52.221 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 06:59:52.221 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 06:59:52.221 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [2025/04/05 06:59:52.227 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=6.117302ms] [] [2025/04/05 06:59:52.227 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 06:59:52.227 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:52.228 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [weight=30] [2025/04/05 06:59:52.228 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [concurrency=15] [2025/04/05 06:59:52.229 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=249] [physicalTableID=249] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 06:59:52.230 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:52.230 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:52.230 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=8.864242ms] [] [2025/04/05 06:59:52.230 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=42] [step=post-process] [subtask-id=81] [takeTime=9.001533ms] [] [2025/04/05 06:59:52.230 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=42] [task-type=ImportInto] [server-id=:4000] [subtaskID=81] [step=post-process] [takeTime=9.128359ms] [] [2025/04/05 06:59:52.256 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:52.339 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=42] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:52.339 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=42] [step=post-process] [state=running] [] [2025/04/05 06:59:52.342 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=42] [2025/04/05 06:59:52.371 +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=33, Mem=16GiB]"] [takeTime=157.449404ms] [] [2025/04/05 06:59:52.371 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=42] [type=ImportInto] [2025/04/05 06:59:52.433 +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.689752078\n# Parse_time: 0.000066762\n# Compile_time: 0.000596505\n# Rewrite_time: 0.000182723\n# Optimize_time: 0.000273937\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OC44bXMsIG9wZW46ODIybnMsIGNsb3NlOjc3MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OC44bXMsIG9wZW46ODIybnMsIGNsb3NlOjc3MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `import_into`.`t` FROM 'gs://privilege-test/db.tbl.*.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 06:59:52.434 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=42] [2025/04/05 06:59:52.437 +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/TestImportIntoTestImportIntoPrivilegePositiveCase3654293538/001/file.csv'"] [2025/04/05 06:59:52.440 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:52.440 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=42] [2025/04/05 06:59:52.464 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:52.479 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=172] ["secure text"="GRANT FILE on *.* to 'test_import_into'@'localhost'"] [user=root@%] [2025/04/05 06:59:52.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:52.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:52.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:52.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 06:59:52.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:queueing, SchemaState:none, SchemaID:245, TableID:249, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:52.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:52.507 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 251, Table Name: t, Old Table ID: 249, Old Table Name: t)"] [2025/04/05 06:59:52.523 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=2.015699ms] [gotSchemaVersion=173] [phyTblIDs="[249,251]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:52.527 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=252] [version=173] [2025/04/05 06:59:52.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=173] ["take time"=9.490563ms] [job="ID:252, Type:truncate table, State:done, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:52.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:52.540 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=252] [tableIDs="[249]"] [comment="truncate table: table ID"] [2025/04/05 06:59:52.544 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=252] [jobType="truncate table"] [2025/04/05 06:59:52.545 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=252] [conn=2] [job="ID:252, Type:truncate table, State:synced, SchemaState:public, SchemaID:245, TableID:249, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:52.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:52.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=252] [2025/04/05 06:59:52.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=173] [cur_db=import_into] [sql="truncate table t"] [user=root@%] [2025/04/05 06:59:52.611 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase3654293538/001/file.csv\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:52.611 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 06:59:52.611 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=21] [2025/04/05 06:59:52.611 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=21] [cost=49.642µs] [2025/04/05 06:59:52.611 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=163.674µs] [] [2025/04/05 06:59:52.631 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=43] [task-id=43] [data-size=21B] [thread-cnt=8] [global-sort=false] [2025/04/05 06:59:52.646 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=43] [2025/04/05 06:59:52.646 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 06:59:52.749 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:52.750 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:52.751 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [2025/04/05 06:59:52.759 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:52.759 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 06:59:52.795 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=43] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 06:59:52.815 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/05 06:59:52.823 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:52.823 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:52.823 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:52.823 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:52.824 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:52.824 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:52.824 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:52.824 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:52.824 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:52.824 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:52.837 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:52.839 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:52.839 +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/05 06:59:52.839 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=43] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:52.839 +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=3.879GiB]"] [2025/04/05 06:59:52.839 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=43] [disk-quota=700.7GiB] [2025/04/05 06:59:52.846 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [2025/04/05 06:59:52.846 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [2025/04/05 06:59:52.850 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.854 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.854 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=251] [2025/04/05 06:59:52.855 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=43] [mode=Import] [2025/04/05 06:59:52.873 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=43] [2025/04/05 06:59:52.874 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=251] [key=file.csv:0] [2025/04/05 06:59:52.875 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=251] [key=file.csv:0] [readDur=87.844µs] [encodeDur=487.686µs] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [deliverDur=294.927µs] [type=file] [takeTime=1.095949ms] [] [2025/04/05 06:59:52.876 +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/90ce6c53-aad8-4eb4-b9f5-0a2d4eb91c02.sst] [firstKey=7480000000000000FB5F728000000000000001] [lastKey=7480000000000000FB5F728000000000000002] [2025/04/05 06:59:52.876 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 06:59:52.876 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 06:59:52.876 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.878 +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.915377ms] [] [2025/04/05 06:59:52.878 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [retryCnt=0] [2025/04/05 06:59:52.883 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:52.904 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] ["region ranges"=1] [count=2] [size=82] [2025/04/05 06:59:52.905 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:52.906 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000000fb5f728000000000000001] [endOfAllRanges=7480000000000000fb5f728000000000000003] [startKeyOfFirstRegion=7480000000000000fffb5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000000fffb5f728000000000ff0000030000000000fa] [2025/04/05 06:59:52.917 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 06:59:52.919 +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.509029ms] [] [2025/04/05 06:59:52.919 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [2025/04/05 06:59:52.920 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:0] [engineUUID=ab3834ca-0a02-50c6-81ad-d45c1915b7bb] [takeTime=1.088732ms] [] [2025/04/05 06:59:52.920 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=43] [step=import] [engine-id=0] [2025/04/05 06:59:52.920 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.922 +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.457ms] [] [2025/04/05 06:59:52.922 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [retryCnt=0] [2025/04/05 06:59:52.925 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.926 +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.603227ms] [] [2025/04/05 06:59:52.926 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [2025/04/05 06:59:52.927 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`t`:-1] [engineUUID=2d9462f7-8d8a-52db-8655-8d0214d0d974] [takeTime=890.358µs] [] [2025/04/05 06:59:52.927 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=import] [subtask-id=82] [takeTime=80.198646ms] [] [2025/04/05 06:59:52.928 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=82] [step=import] [takeTime=81.451663ms] [] [2025/04/05 06:59:52.953 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:52.954 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:52.956 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:52.956 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:52.984 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:52.986 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=43] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:52.986 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 06:59:53.018 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:53.025 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=43] [step=import] [2025/04/05 06:59:53.028 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:53.028 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:53.028 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:53.028 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:53.028 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:53.028 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:53.028 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:53.028 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:53.028 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:53.028 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-42] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:53.028 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:53.028 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:53.031 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:53.031 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:53.031 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:53.031 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:53.031 +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=3.879GiB]"] [takeTime=192.121075ms] [] [2025/04/05 06:59:53.032 +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=3.879GiB]"] [2025/04/05 06:59:53.040 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=post-process] [2025/04/05 06:59:53.040 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 06:59:53.040 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 06:59:53.040 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [2025/04/05 06:59:53.046 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=5.454531ms] [] [2025/04/05 06:59:53.046 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [groupId=-1] [size=82] [kvs=2] [checksum=1675147975136326378] [2025/04/05 06:59:53.046 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [checksum="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:53.046 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [weight=30] [2025/04/05 06:59:53.046 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [concurrency=15] [2025/04/05 06:59:53.048 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=251] [physicalTableID=251] [indexID=-1] [checksum=1675147975136326378] [totalKvs=2] [totalBytes=82] [2025/04/05 06:59:53.048 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:53.048 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [local="{cksum=1675147975136326378,size=82,kvs=2}"] [2025/04/05 06:59:53.048 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=8.132567ms] [] [2025/04/05 06:59:53.048 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=43] [step=post-process] [subtask-id=83] [takeTime=8.268344ms] [] [2025/04/05 06:59:53.048 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=43] [task-type=ImportInto] [server-id=:4000] [subtaskID=83] [step=post-process] [takeTime=8.403061ms] [] [2025/04/05 06:59:53.075 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:53.153 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=43] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:53.153 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=43] [step=post-process] [state=running] [] [2025/04/05 06:59:53.156 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=43] [2025/04/05 06:59:53.184 +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=3.879GiB]"] [takeTime=151.969187ms] [] [2025/04/05 06:59:53.184 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=43] [type=ImportInto] [2025/04/05 06:59:53.248 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=43] [2025/04/05 06:59:53.248 +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.684508643\n# Parse_time: 0.000084933\n# Compile_time: 0.000595777\n# Rewrite_time: 0.000176801\n# Optimize_time: 0.000254336\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4My42bXMsIG9wZW46Njg0bnMsIGNsb3NlOjk4MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4My42bXMsIG9wZW46Njg0bnMsIGNsb3NlOjk4MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `import_into`.`t` FROM '/tmp/TestImportIntoTestImportIntoPrivilegePositiveCase3654293538/001/file.csv';"] --- PASS: TestImportInto/TestImportIntoPrivilegePositiveCase (2.88s) === NAME TestImportInto === RUN TestImportInto/TestImportIntoWithFK [2025/04/05 06:59:53.254 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:53.254 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=43] [2025/04/05 06:59:53.264 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists import_into"] [2025/04/05 06:59:53.264 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:53.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:queueing, SchemaState:public, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.276 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:53.288 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.879203ms] [gotSchemaVersion=174] [phyTblIDs="[251]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:53.291 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=174] [2025/04/05 06:59:53.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=174] ["take time"=9.083523ms] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.302 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:write only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=154.65µs] [gotSchemaVersion=175] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:53.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=175] [2025/04/05 06:59:53.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=175] ["take time"=7.326968ms] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.328 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:running, SchemaState:delete only, SchemaID:245, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.334 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:53.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=162.658µs] [gotSchemaVersion=176] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:53.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=176] [2025/04/05 06:59:53.349 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=176] ["take time"=7.206815ms] [job="ID:253, Type:drop schema, State:done, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.358 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=253] [tableIDs="[251]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:53.362 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=253] [jobType="drop schema"] [2025/04/05 06:59:53.363 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=253] [conn=2] [job="ID:253, Type:drop schema, State:synced, SchemaState:none, SchemaID:245, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.379 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/05 06:59:53.379 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=176] [cur_db=] [sql="drop database if exists import_into"] [user=root@%] [2025/04/05 06:59:53.392 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:53.392 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database import_into"] [2025/04/05 06:59:53.398 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:queueing, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.412 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=775.225µs] [gotSchemaVersion=177] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:53.416 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=255] [version=177] [2025/04/05 06:59:53.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=177] ["take time"=8.037861ms] [job="ID:255, Type:create schema, State:done, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.428 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=255] [conn=2] [job="ID:255, Type:create schema, State:synced, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=255] [2025/04/05 06:59:53.438 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=177] [cur_db=] [sql="create database import_into"] [user=root@%] [2025/04/05 06:59:53.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:53.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent (id int primary key);"] [2025/04/05 06:59:53.456 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.461 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 256, Table Name: parent)"] [2025/04/05 06:59:53.474 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.575737ms] [gotSchemaVersion=178] [phyTblIDs="[256]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:53.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=178] [2025/04/05 06:59:53.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=178] ["take time"=8.565066ms] [job="ID:257, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.490 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=257] [conn=2] [job="ID:257, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:256, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.501 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/05 06:59:53.501 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=178] [cur_db=import_into] [sql="create table parent (id int primary key);"] [user=root@%] [2025/04/05 06:59:53.515 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:53.515 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [2025/04/05 06:59:53.520 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:queueing, SchemaState:none, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.539 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=2.029451ms] [gotSchemaVersion=179] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:53.542 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=179] [2025/04/05 06:59:53.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=179] ["take time"=9.142485ms] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:running, SchemaState:delete only, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.558 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 258, Table Name: child)"] [2025/04/05 06:59:53.574 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=2.144812ms] [gotSchemaVersion=180] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:53.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=180] [2025/04/05 06:59:53.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=180] ["take time"=9.519251ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.590 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=259] [conn=2] [job="ID:259, Type:create table, State:synced, SchemaState:public, SchemaID:254, TableID:258, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:53.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:53.601 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/05 06:59:53.602 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=180] [cur_db=import_into] [sql="create table child (id int primary key, fk int, foreign key (fk) references parent(id));"] [user=root@%] [2025/04/05 06:59:53.608 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:53.654 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:53.673 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=44] [task-id=44] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:53.687 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=44] [2025/04/05 06:59:53.687 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:53.789 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:53.791 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:53.792 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [2025/04/05 06:59:53.801 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:53.803 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=child] [2025/04/05 06:59:53.803 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=child] [before=536870912000] [after=8] [2025/04/05 06:59:53.803 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=child] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=70.932µs] [2025/04/05 06:59:53.804 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=child] [takeTime=174.418µs] [] [2025/04/05 06:59:53.804 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:53.804 +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=33] [subtasks=1] [2025/04/05 06:59:53.835 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=44] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:53.855 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/05 06:59:53.855 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:53.863 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:53.863 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:53.863 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:53.863 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:53.864 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:53.864 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:53.864 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:53.864 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:53.864 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:53.864 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:53.877 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:53.879 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:53.879 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=child] [quota=752.3GB] [2025/04/05 06:59:53.879 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=44] [step=import] [data-buf-limit=186.2MiB] [per-index-buf-limit=62.06MiB] [index-buf-block-size=16MiB] [2025/04/05 06:59:53.879 +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=33, Mem=16GiB]"] [2025/04/05 06:59:53.879 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=child] [import-id=44] [disk-quota=700.7GiB] [2025/04/05 06:59:53.887 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [2025/04/05 06:59:53.887 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [2025/04/05 06:59:53.891 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 06:59:53.894 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 06:59:53.895 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=258] [2025/04/05 06:59:53.896 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=44] [mode=Import] [2025/04/05 06:59:53.915 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=44] [2025/04/05 06:59:53.958 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=258] [key=child.csv:0] [2025/04/05 06:59:53.962 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=258] [key=child.csv:0] [readDur=972µs] [encodeDur=1.599714ms] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [deliverDur=935.059µs] [type=file] [takeTime=3.801338ms] [] [2025/04/05 06:59:53.963 +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/67881e81-a495-4420-9548-8938f66883d1.sst] [firstKey=7480000000000001025F728000000000000001] [lastKey=7480000000000001025F728000000000000002] [2025/04/05 06:59:53.963 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 06:59:53.963 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 06:59:53.963 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 06:59:53.966 +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.029061ms] [] [2025/04/05 06:59:53.966 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [retryCnt=0] [2025/04/05 06:59:53.970 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:53.991 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] ["region ranges"=1] [count=2] [size=58] [2025/04/05 06:59:53.992 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:53.994 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f728000000000000001] [endOfAllRanges=7480000000000001025f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff025f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff025f728000000000ff0000030000000000fa] [2025/04/05 06:59:54.005 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=6cb30ba2-e19b-5956-98c4-24bd955c910a] [size=58] [kvs=2] [importedSize=58] [importedCount=2] [2025/04/05 06:59:54.007 +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=41.118174ms] [] [2025/04/05 06:59:54.007 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [2025/04/05 06:59:54.008 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:0] [engineUUID=6cb30ba2-e19b-5956-98c4-24bd955c910a] [takeTime=1.099758ms] [] [2025/04/05 06:59:54.008 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=44] [step=import] [engine-id=0] [2025/04/05 06:59:54.008 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 06:59:54.008 +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/cc4e0295-8851-4e70-b6d0-c00849eea378.sst] [firstKey=7480000000000001025F698000000000000001038000000000000001038000000000000001] [lastKey=7480000000000001025F698000000000000001038000000000000002038000000000000002] [2025/04/05 06:59:54.010 +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.329929ms] [] [2025/04/05 06:59:54.011 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [2025/04/05 06:59:54.015 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:54.036 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] ["region ranges"=1] [count=2] [size=76] [2025/04/05 06:59:54.037 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:54.038 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001025f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=7480000000000001025f69800000000000000103800000000000000203800000000000000200] [startKeyOfFirstRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff025f698000000000ff0000010380000000ff0000000203800000ff0000000002000000fd] [2025/04/05 06:59:54.049 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [size=76] [kvs=2] [importedSize=76] [importedCount=2] [2025/04/05 06:59:54.051 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [retryCnt=0] [takeTime=40.056206ms] [] [2025/04/05 06:59:54.051 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [2025/04/05 06:59:54.052 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`child`:-1] [engineUUID=09ee1db8-6b03-5a28-8f53-b1dfdaea150d] [takeTime=1.04381ms] [] [2025/04/05 06:59:54.052 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=import] [subtask-id=84] [takeTime=164.656223ms] [] [2025/04/05 06:59:54.052 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=84] [step=import] [takeTime=164.800551ms] [] [2025/04/05 06:59:54.095 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:54.096 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:54.098 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:54.098 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 06:59:54.129 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 06:59:54.131 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=44] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:54.131 +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=33] [subtasks=1] [2025/04/05 06:59:54.155 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:54.162 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=44] [step=import] [2025/04/05 06:59:54.167 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:54.167 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:54.167 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:54.167 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:54.167 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:54.167 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:54.167 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:54.167 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:54.167 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:54.167 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-43] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:54.167 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:54.167 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:54.169 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:54.169 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:54.169 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:54.169 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:54.169 +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=33, Mem=16GiB]"] [takeTime=289.836566ms] [] [2025/04/05 06:59:54.171 +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=33, Mem=16GiB]"] [2025/04/05 06:59:54.178 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [2025/04/05 06:59:54.179 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 06:59:54.179 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 06:59:54.179 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [2025/04/05 06:59:54.179 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=1.871µs] [] [2025/04/05 06:59:54.179 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [groupId=-1] [size=58] [kvs=2] [checksum=6725679395568127565] [2025/04/05 06:59:54.179 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [groupId=1] [size=76] [kvs=2] [checksum=16701486629303771758] [2025/04/05 06:59:54.179 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [checksum="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/05 06:59:54.179 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [weight=30] [2025/04/05 06:59:54.179 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [concurrency=15] [2025/04/05 06:59:54.185 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=-1] [checksum=6725679395568127565] [totalKvs=2] [totalBytes=58] [2025/04/05 06:59:54.186 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=258] [physicalTableID=258] [indexID=1] [checksum=16701486629303771758] [totalKvs=2] [totalBytes=76] [2025/04/05 06:59:54.186 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:54.186 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [local="{cksum=13443790654808714275,size=134,kvs=4}"] [2025/04/05 06:59:54.186 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.530139ms] [] [2025/04/05 06:59:54.186 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=44] [step=post-process] [subtask-id=85] [takeTime=7.696895ms] [] [2025/04/05 06:59:54.186 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=44] [task-type=ImportInto] [server-id=:4000] [subtaskID=85] [step=post-process] [takeTime=7.837755ms] [] [2025/04/05 06:59:54.212 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:54.294 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=44] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:54.294 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=44] [step=post-process] [state=running] [] [2025/04/05 06:59:54.297 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=44] [2025/04/05 06:59:54.324 +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=33, Mem=16GiB]"] [takeTime=152.52435ms] [] [2025/04/05 06:59:54.324 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=44] [type=ImportInto] [2025/04/05 06:59:54.389 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=44] [2025/04/05 06:59:54.395 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:54.395 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=44] [2025/04/05 06:59:54.417 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:54.590 +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.987499892\n# Parse_time: 0.000078231\n# Compile_time: 0.000550419\n# Rewrite_time: 0.000165237\n# Optimize_time: 0.00027412\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni42bXMsIG9wZW46NjIzbnMsIGNsb3NlOjc4OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni42bXMsIG9wZW46NjIzbnMsIGNsb3NlOjc4OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse import_into;\nIMPORT INTO `import_into`.`child` FROM 'gs://foreign-key-test/child.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestImportIntoWithFK (1.34s) === NAME TestImportInto === RUN TestImportInto/TestImportMode [2025/04/05 06:59:54.606 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:54.606 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 06:59:54.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:queueing, SchemaState:public, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.822069ms] [gotSchemaVersion=181] [phyTblIDs="[242]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:54.634 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=181] [2025/04/05 06:59:54.636 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=9.173115ms] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.645 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:write only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.658 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=143.413µs] [gotSchemaVersion=182] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:54.662 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=182] [2025/04/05 06:59:54.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=182] ["take time"=7.285749ms] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.672 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:running, SchemaState:delete only, SchemaID:236, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.677 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 06:59:54.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=136.092µs] [gotSchemaVersion=183] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 06:59:54.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=260] [version=183] [2025/04/05 06:59:54.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=183] ["take time"=7.609229ms] [job="ID:260, Type:drop schema, State:done, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.701 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=260] [tableIDs="[242]"] [comment="drop schema: table IDs"] [2025/04/05 06:59:54.706 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=260] [jobType="drop schema"] [2025/04/05 06:59:54.708 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=260] [conn=2] [job="ID:260, Type:drop schema, State:synced, SchemaState:none, SchemaID:236, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.554 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.724 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=260] [2025/04/05 06:59:54.725 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=183] [cur_db=import_into] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 06:59:54.736 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:54.737 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 06:59:54.740 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:queueing, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=698.941µs] [gotSchemaVersion=184] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:59:54.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=184] [2025/04/05 06:59:54.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=184] ["take time"=7.94989ms] [job="ID:262, Type:create schema, State:done, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=262] [conn=2] [job="ID:262, Type:create schema, State:synced, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.779 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/05 06:59:54.780 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=184] [cur_db=import_into] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 06:59:54.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:54.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [2025/04/05 06:59:54.798 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.804 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 263, Table Name: import_mode)"] [2025/04/05 06:59:54.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.882111ms] [gotSchemaVersion=185] [phyTblIDs="[263]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:54.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=264] [version=185] [2025/04/05 06:59:54.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=185] ["take time"=8.98859ms] [job="ID:264, Type:create table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:54.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=264] [conn=2] [job="ID:264, Type:create table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:54.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:54.848 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=264] [2025/04/05 06:59:54.848 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=185] [cur_db=import_into] [sql="CREATE TABLE load_data.import_mode (a INT, b INT, c int);"] [user=root@%] [2025/04/05 06:59:54.855 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:54.903 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:54.923 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=45] [task-id=45] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:54.937 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=45] [2025/04/05 06:59:54.937 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:55.039 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:55.040 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:55.042 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [2025/04/05 06:59:55.049 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:55.051 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 06:59:55.051 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 06:59:55.051 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=41.671µs] [2025/04/05 06:59:55.052 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=144.316µs] [] [2025/04/05 06:59:55.052 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:55.052 +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=33] [subtasks=1] [2025/04/05 06:59:55.085 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=45] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:55.105 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/05 06:59:55.105 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:55.113 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:55.113 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:55.113 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:55.113 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:55.114 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:55.114 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:55.114 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:55.114 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:55.114 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:55.114 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:55.127 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:55.128 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:55.128 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=752.3GB] [2025/04/05 06:59:55.128 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=45] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:55.128 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=45] [disk-quota=700.7GiB] [2025/04/05 06:59:55.129 +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=33, Mem=16GiB]"] [2025/04/05 06:59:55.136 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [2025/04/05 06:59:55.136 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [2025/04/05 06:59:55.140 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.143 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.144 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=263] [2025/04/05 06:59:55.146 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 06:59:55.152 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=45] [2025/04/05 06:59:55.157 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [2025/04/05 06:59:55.159 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=263] [key=import_mode-1.tsv:0] [readDur=1.134177ms] [encodeDur=245.808µs] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [deliverDur=234.401µs] [type=file] [takeTime=1.90119ms] [] [2025/04/05 06:59:55.160 +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/81a2112c-dca1-4a6f-9704-3b999f3166ee.sst] [firstKey=7480000000000001075F728000000000000001] [lastKey=7480000000000001075F728000000000000001] [2025/04/05 06:59:55.160 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 06:59:55.160 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 06:59:55.160 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.162 +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.998644ms] [] [2025/04/05 06:59:55.162 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 06:59:55.166 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:55.188 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 06:59:55.188 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:55.190 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001075f728000000000000001] [endOfAllRanges=7480000000000001075f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff075f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff075f728000000000ff0000020000000000fa] [2025/04/05 06:59:55.202 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 06:59:55.203 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=41.498807ms] [] [2025/04/05 06:59:55.203 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.205 +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.062664ms] [] [2025/04/05 06:59:55.205 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=45] [step=import] [engine-id=0] [2025/04/05 06:59:55.205 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.206 +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.410086ms] [] [2025/04/05 06:59:55.206 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 06:59:55.210 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.210 +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.613349ms] [] [2025/04/05 06:59:55.210 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.211 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=869.121µs] [] [2025/04/05 06:59:55.211 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=import] [subtask-id=86] [takeTime=74.831873ms] [] [2025/04/05 06:59:55.211 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=86] [step=import] [takeTime=74.989969ms] [] [2025/04/05 06:59:55.244 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:55.246 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:55.247 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:55.247 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 06:59:55.263 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 06:59:55.264 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=45] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:55.264 +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=33] [subtasks=1] [2025/04/05 06:59:55.295 +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/05 06:59:55.301 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=45] [step=import] [2025/04/05 06:59:55.304 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:55.304 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:55.304 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:55.304 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:55.304 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:55.304 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:55.304 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:55.304 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:55.304 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:55.304 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:55.304 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:55.304 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-44] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:55.307 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:55.307 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:55.307 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:55.307 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:55.307 +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=33, Mem=16GiB]"] [takeTime=178.19538ms] [] [2025/04/05 06:59:55.308 +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=33, Mem=16GiB]"] [2025/04/05 06:59:55.316 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=post-process] [2025/04/05 06:59:55.316 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 06:59:55.316 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 06:59:55.316 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [2025/04/05 06:59:55.322 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=6.078971ms] [] [2025/04/05 06:59:55.322 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [groupId=-1] [size=37] [kvs=1] [checksum=15861435141353566364] [2025/04/05 06:59:55.322 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [checksum="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/05 06:59:55.322 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [weight=30] [2025/04/05 06:59:55.322 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [concurrency=15] [2025/04/05 06:59:55.324 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=263] [physicalTableID=263] [indexID=-1] [checksum=15861435141353566364] [totalKvs=1] [totalBytes=37] [2025/04/05 06:59:55.324 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 06:59:55.324 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [local="{cksum=15861435141353566364,size=37,kvs=1}"] [2025/04/05 06:59:55.325 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.802808ms] [] [2025/04/05 06:59:55.325 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=45] [step=post-process] [subtask-id=87] [takeTime=8.937354ms] [] [2025/04/05 06:59:55.325 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=45] [task-type=ImportInto] [server-id=:4000] [subtaskID=87] [step=post-process] [takeTime=9.095588ms] [] [2025/04/05 06:59:55.342 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 06:59:55.344 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=45] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 06:59:55.344 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=45] [step=post-process] [state=running] [] [2025/04/05 06:59:55.347 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=45] [2025/04/05 06:59:55.370 +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=33, Mem=16GiB]"] [takeTime=61.784968ms] [] [2025/04/05 06:59:55.370 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=45] [type=ImportInto] [2025/04/05 06:59:55.439 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=45] [2025/04/05 06:59:55.445 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 06:59:55.445 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=45] [2025/04/05 06:59:55.467 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 06:59:55.539 +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.690736537\n# Parse_time: 0.00009121\n# Compile_time: 0.000608133\n# Rewrite_time: 0.000183113\n# Optimize_time: 0.000342098\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS43bXMsIG9wZW46NjcwbnMsIGNsb3NlOjc5OW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS43bXMsIG9wZW46NjcwbnMsIGNsb3NlOjc5OW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/05 06:59:55.565 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 06:59:55.565 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:55.570 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:263, RowCount:0, ArgLen:0, start time: 2025-04-05 06:59:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:55.579 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 265, Table Name: import_mode, Old Table ID: 263, Old Table Name: import_mode)"] [2025/04/05 06:59:55.596 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=2.783405ms] [gotSchemaVersion=186] [phyTblIDs="[263,265]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:55.600 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=266] [version=186] [2025/04/05 06:59:55.602 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=186] ["take time"=10.877072ms] [job="ID:266, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:55.613 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=266] [tableIDs="[263]"] [comment="truncate table: table ID"] [2025/04/05 06:59:55.618 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=266] [jobType="truncate table"] [2025/04/05 06:59:55.619 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=266] [conn=2] [job="ID:266, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:263, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:55.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:55.637 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=266] [2025/04/05 06:59:55.638 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=186] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 06:59:55.644 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:55.691 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 06:59:55.711 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=46] [task-id=46] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 06:59:55.725 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=46] [2025/04/05 06:59:55.725 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 06:59:55.827 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 06:59:55.829 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:55.830 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [2025/04/05 06:59:55.838 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:55.840 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 06:59:55.840 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 06:59:55.840 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=57.76µs] [2025/04/05 06:59:55.840 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=157.46µs] [] [2025/04/05 06:59:55.841 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 06:59:55.841 +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=33] [subtasks=1] [2025/04/05 06:59:55.875 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=46] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 06:59:55.895 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/05 06:59:55.895 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 06:59:55.903 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:55.903 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 06:59:55.904 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:55.904 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:55.904 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:55.904 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:55.904 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:55.904 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:55.905 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:55.905 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:55.918 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 06:59:55.919 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 06:59:55.919 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=752.3GB] [2025/04/05 06:59:55.920 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=46] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 06:59:55.920 +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=33, Mem=16GiB]"] [2025/04/05 06:59:55.920 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=46] [disk-quota=700.7GiB] [2025/04/05 06:59:55.927 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [2025/04/05 06:59:55.927 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [2025/04/05 06:59:55.931 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.934 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 06:59:55.934 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.935 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=265] [2025/04/05 06:59:55.940 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=46] [2025/04/05 06:59:55.948 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [2025/04/05 06:59:55.950 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=265] [key=import_mode-1.tsv:0] [readDur=1.150904ms] [encodeDur=342.204µs] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [deliverDur=248.982µs] [type=file] [takeTime=2.012343ms] [] [2025/04/05 06:59:55.951 +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/8f73d68e-bdf8-4096-b53c-62c2797ebe93.sst] [firstKey=7480000000000001095F728000000000000001] [lastKey=7480000000000001095F728000000000000001] [2025/04/05 06:59:55.951 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 06:59:55.951 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 06:59:55.951 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.953 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.028795ms] [] [2025/04/05 06:59:55.953 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 06:59:55.957 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 06:59:55.979 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 06:59:55.979 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 06:59:55.981 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001095f728000000000000001] [endOfAllRanges=7480000000000001095f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff095f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff095f728000000000ff0000020000000000fa] [2025/04/05 06:59:55.992 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 06:59:55.994 +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.600841ms] [] [2025/04/05 06:59:55.994 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 06:59:55.995 +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.109584ms] [] [2025/04/05 06:59:55.995 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=46] [step=import] [engine-id=0] [2025/04/05 06:59:55.995 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:55.996 +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.394374ms] [] [2025/04/05 06:59:55.996 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 06:59:56.000 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:56.000 +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.538031ms] [] [2025/04/05 06:59:56.000 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 06:59:56.001 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=819.352µs] [] [2025/04/05 06:59:56.001 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=import] [subtask-id=88] [takeTime=73.55963ms] [] [2025/04/05 06:59:56.001 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=88] [step=import] [takeTime=73.725588ms] [] [2025/04/05 06:59:56.032 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 06:59:56.034 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 06:59:56.035 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [2025/04/05 06:59:56.035 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 06:59:56.051 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 06:59:56.052 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=46] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 06:59:56.052 +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=33] [subtasks=1] [2025/04/05 06:59:56.083 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 06:59:56.090 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=46] [step=import] [2025/04/05 06:59:56.093 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:56.093 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:56.093 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:56.093 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:56.093 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:56.093 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:56.093 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:56.093 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:56.093 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:56.093 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:56.093 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-45] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:56.093 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:56.096 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 06:59:56.096 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:56.096 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:56.096 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:56.096 +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=33, Mem=16GiB]"] [takeTime=175.971875ms] [] [2025/04/05 06:59:56.097 +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=33, Mem=16GiB]"] [2025/04/05 06:59:56.104 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=post-process] [2025/04/05 06:59:56.104 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 07:00:01.105 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 07:00:01.105 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [2025/04/05 07:00:01.112 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=6.852266ms] [] [2025/04/05 07:00:01.112 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [groupId=-1] [size=37] [kvs=1] [checksum=14356619400929386623] [2025/04/05 07:00:01.112 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [checksum="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/05 07:00:01.112 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [weight=30] [2025/04/05 07:00:01.112 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [concurrency=15] [2025/04/05 07:00:01.114 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=265] [physicalTableID=265] [indexID=-1] [checksum=14356619400929386623] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:01.115 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:01.115 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [local="{cksum=14356619400929386623,size=37,kvs=1}"] [2025/04/05 07:00:01.115 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=10.023437ms] [] [2025/04/05 07:00:01.115 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=46] [step=post-process] [subtask-id=89] [takeTime=5.010661585s] [] [2025/04/05 07:00:01.116 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=46] [task-type=ImportInto] [server-id=:4000] [subtaskID=89] [step=post-process] [takeTime=5.011639534s] [] [2025/04/05 07:00:01.130 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:01.133 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=46] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:01.133 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=46] [step=post-process] [state=running] [] [2025/04/05 07:00:01.136 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=46] [2025/04/05 07:00:01.165 +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=33, Mem=16GiB]"] [takeTime=5.067676281s] [] [2025/04/05 07:00:01.165 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=46] [type=ImportInto] [2025/04/05 07:00:01.228 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=46] [2025/04/05 07:00:01.234 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:01.234 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=46] [2025/04/05 07:00:01.256 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:01.429 +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.790412025\n# Parse_time: 0.00009521\n# Compile_time: 0.000518081\n# Rewrite_time: 0.000143911\n# Optimize_time: 0.000271995\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjUuNzlzLCBvcGVuOjYzNm5zLCBjbG9zZTo3NDFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjUuNzlzLCBvcGVuOjYzNm5zLCBjbG9zZTo3NDFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 07:00:01.446 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 07:00:01.446 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:01.452 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:265, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:01.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.461 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 267, Table Name: import_mode, Old Table ID: 265, Old Table Name: import_mode)"] [2025/04/05 07:00:01.479 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=2.058887ms] [gotSchemaVersion=187] [phyTblIDs="[265,267]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:01.483 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=268] [version=187] [2025/04/05 07:00:01.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=187] ["take time"=10.003269ms] [job="ID:268, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.497 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=268] [tableIDs="[265]"] [comment="truncate table: table ID"] [2025/04/05 07:00:01.502 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=268] [jobType="truncate table"] [2025/04/05 07:00:01.503 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=268] [conn=2] [job="ID:268, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:265, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=268] [2025/04/05 07:00:01.521 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=187] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 07:00:01.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:01.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 07:00:01.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:267, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.548 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 269, Table Name: import_mode, Old Table ID: 267, Old Table Name: import_mode)"] [2025/04/05 07:00:01.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=2.266242ms] [gotSchemaVersion=188] [phyTblIDs="[267,269]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:01.568 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=188] [2025/04/05 07:00:01.570 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=9.608253ms] [job="ID:270, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.580 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=270] [tableIDs="[267]"] [comment="truncate table: table ID"] [2025/04/05 07:00:01.585 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=270] [jobType="truncate table"] [2025/04/05 07:00:01.586 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=270] [conn=2] [job="ID:270, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:267, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:01.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:01.604 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/05 07:00:01.605 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=188] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 07:00:01.611 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:01.662 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\",\"options\":{\"disable_tikv_import_mode\":null}}"] [dist-task-enabled=true] [2025/04/05 07:00:01.682 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=47] [task-id=47] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:01.698 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=47] [2025/04/05 07:00:01.698 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:01.801 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:01.802 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:01.803 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [2025/04/05 07:00:01.811 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:01.814 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 07:00:01.814 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 07:00:01.814 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=49.425µs] [2025/04/05 07:00:01.814 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=155.764µs] [] [2025/04/05 07:00:01.814 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:01.814 +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=33] [subtasks=1] [2025/04/05 07:00:01.856 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=47] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:01.876 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/05 07:00:01.877 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:01.886 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:01.886 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:01.886 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:01.886 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:01.886 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:01.886 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:01.886 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:01.887 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:01.887 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:01.887 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:01.900 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:01.902 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:01.903 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=752.3GB] [2025/04/05 07:00:01.903 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=47] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:01.903 +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=33, Mem=16GiB]"] [2025/04/05 07:00:01.903 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=47] [disk-quota=700.7GiB] [2025/04/05 07:00:01.911 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [2025/04/05 07:00:01.911 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [2025/04/05 07:00:01.913 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=47] [2025/04/05 07:00:01.918 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:01.922 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:01.922 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=269] [2025/04/05 07:00:01.963 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [2025/04/05 07:00:01.966 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=269] [key=import_mode-1.tsv:0] [readDur=1.173875ms] [encodeDur=214.732µs] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [deliverDur=303.408µs] [type=file] [takeTime=2.041494ms] [] [2025/04/05 07:00:01.966 +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/65e14a67-f2a3-4108-b5c8-ad086331fb60.sst] [firstKey=74800000000000010D5F728000000000000001] [lastKey=74800000000000010D5F728000000000000001] [2025/04/05 07:00:01.966 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 07:00:01.966 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 07:00:01.967 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:01.969 +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.977268ms] [] [2025/04/05 07:00:01.969 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 07:00:01.973 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:01.995 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:01.995 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:01.997 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000010d5f728000000000000001] [endOfAllRanges=74800000000000010d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff0d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff0d5f728000000000ff0000020000000000fa] [2025/04/05 07:00:02.009 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:02.010 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [takeTime=41.746412ms] [] [2025/04/05 07:00:02.010 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:02.012 +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.139667ms] [] [2025/04/05 07:00:02.012 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=47] [step=import] [engine-id=0] [2025/04/05 07:00:02.012 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.013 +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.654737ms] [] [2025/04/05 07:00:02.014 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 07:00:02.017 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.017 +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.710249ms] [] [2025/04/05 07:00:02.017 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.018 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [takeTime=936.799µs] [] [2025/04/05 07:00:02.018 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=import] [subtask-id=90] [takeTime=107.664723ms] [] [2025/04/05 07:00:02.019 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=90] [step=import] [takeTime=107.823555ms] [] [2025/04/05 07:00:02.106 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:02.108 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:02.110 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:02.128 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:02.129 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=47] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:02.129 +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=33] [subtasks=1] [2025/04/05 07:00:02.158 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:02.165 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=47] [step=import] [2025/04/05 07:00:02.168 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:02.168 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:02.168 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:02.168 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:02.168 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:02.168 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:02.168 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:02.168 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:02.168 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-46] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:02.168 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:02.168 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:02.168 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:02.170 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:02.170 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:02.171 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:02.171 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:02.171 +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=33, Mem=16GiB]"] [takeTime=267.780441ms] [] [2025/04/05 07:00:02.172 +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=33, Mem=16GiB]"] [2025/04/05 07:00:02.180 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=post-process] [2025/04/05 07:00:02.180 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 07:00:02.180 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 07:00:02.180 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [2025/04/05 07:00:02.186 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=6.259379ms] [] [2025/04/05 07:00:02.186 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [groupId=-1] [size=37] [kvs=1] [checksum=14782680275667121893] [2025/04/05 07:00:02.186 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [checksum="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/05 07:00:02.186 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [weight=30] [2025/04/05 07:00:02.187 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [concurrency=15] [2025/04/05 07:00:02.189 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=269] [physicalTableID=269] [indexID=-1] [checksum=14782680275667121893] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:02.189 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:02.189 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [local="{cksum=14782680275667121893,size=37,kvs=1}"] [2025/04/05 07:00:02.189 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=9.457623ms] [] [2025/04/05 07:00:02.189 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=47] [step=post-process] [subtask-id=91] [takeTime=9.632664ms] [] [2025/04/05 07:00:02.189 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=47] [task-type=ImportInto] [server-id=:4000] [subtaskID=91] [step=post-process] [takeTime=9.767778ms] [] [2025/04/05 07:00:02.206 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=47] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:02.206 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=47] [step=post-process] [state=running] [] [2025/04/05 07:00:02.208 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=47] [2025/04/05 07:00:02.210 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:02.236 +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=33, Mem=16GiB]"] [takeTime=64.206857ms] [] [2025/04/05 07:00:02.236 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=47] [type=ImportInto] [2025/04/05 07:00:02.300 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=47] [2025/04/05 07:00:02.300 +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.695485742\n# Parse_time: 0.000144104\n# Compile_time: 0.000633694\n# Rewrite_time: 0.000199303\n# Optimize_time: 0.000326709\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NC40bXMsIG9wZW46MS4wM8K1cywgY2xvc2U6Nzk5bnMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5NC40bXMsIG9wZW46MS4wM8K1cywgY2xvc2U6Nzk5bnMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F' WITH disable_tikv_import_mode;"] [2025/04/05 07:00:02.306 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:02.307 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=47] [2025/04/05 07:00:02.318 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:02.318 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 07:00:02.323 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.330 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:02.332 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 271, Table Name: import_mode, Old Table ID: 269, Old Table Name: import_mode)"] [2025/04/05 07:00:02.349 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.958354ms] [gotSchemaVersion=189] [phyTblIDs="[269,271]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:02.352 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=189] [2025/04/05 07:00:02.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=189] ["take time"=9.497602ms] [job="ID:272, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.365 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=272] [tableIDs="[269]"] [comment="truncate table: table ID"] [2025/04/05 07:00:02.370 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=272] [jobType="truncate table"] [2025/04/05 07:00:02.371 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=2] [job="ID:272, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.390 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/05 07:00:02.390 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=189] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 07:00:02.403 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:02.403 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 07:00:02.408 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:271, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:02.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.416 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 273, Table Name: import_mode, Old Table ID: 271, Old Table Name: import_mode)"] [2025/04/05 07:00:02.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=2.025327ms] [gotSchemaVersion=190] [phyTblIDs="[271,273]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:02.437 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=190] [2025/04/05 07:00:02.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=190] ["take time"=9.793591ms] [job="ID:274, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.450 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[271]"] [comment="truncate table: table ID"] [2025/04/05 07:00:02.455 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="truncate table"] [2025/04/05 07:00:02.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=2] [job="ID:274, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:271, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:02.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:02.474 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/05 07:00:02.474 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=190] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 07:00:02.481 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:02.497 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:02.517 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=48] [task-id=48] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:02.532 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=48] [2025/04/05 07:00:02.532 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:02.634 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:02.635 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:02.637 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [2025/04/05 07:00:02.645 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:02.647 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 07:00:02.647 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 07:00:02.647 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=49.692µs] [2025/04/05 07:00:02.647 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=149.177µs] [] [2025/04/05 07:00:02.648 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:02.648 +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=33] [subtasks=1] [2025/04/05 07:00:02.685 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=48] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:02.705 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/05 07:00:02.706 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:02.714 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:02.714 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:02.715 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:02.715 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:02.715 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:02.715 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:02.715 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:02.715 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:02.716 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:02.716 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:02.729 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:02.730 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:02.730 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=752.3GB] [2025/04/05 07:00:02.731 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=48] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:02.731 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=48] [disk-quota=700.7GiB] [2025/04/05 07:00:02.731 +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=33, Mem=16GiB]"] [2025/04/05 07:00:02.738 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [2025/04/05 07:00:02.739 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [2025/04/05 07:00:02.743 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:02.746 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.747 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=48] [2025/04/05 07:00:02.747 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=273] [2025/04/05 07:00:02.788 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [2025/04/05 07:00:02.790 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=273] [key=import_mode-1.tsv:0] [readDur=1.094042ms] [encodeDur=247.004µs] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [deliverDur=312.365µs] [type=file] [takeTime=2.052209ms] [] [2025/04/05 07:00:02.791 +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/8a1a2edb-1e3b-4a22-ae0d-8b0488ae7f09.sst] [firstKey=7480000000000001115F728000000000000001] [lastKey=7480000000000001115F728000000000000001] [2025/04/05 07:00:02.791 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 07:00:02.791 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 07:00:02.791 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:02.793 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [takeTime=2.059264ms] [] [2025/04/05 07:00:02.793 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [retryCnt=0] [2025/04/05 07:00:02.798 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:02.819 +00:00] [INFO] [local.go:1354] ["switch import mode of ranges"] [category=ddl-ingest] [startKey=7480000000000001115f728000000000000001] [endKey=7480000000000001115f728000000000000002] [2025/04/05 07:00:02.819 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:02.819 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Import] [2025/04/05 07:00:02.820 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:02.822 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001115f728000000000000001] [endOfAllRanges=7480000000000001115f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff115f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff115f728000000000ff0000020000000000fa] [2025/04/05 07:00:02.835 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1ccc2128-36af-5780-96ac-757ded6634c4] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:02.835 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [category=ddl-ingest] [mode=Normal] [2025/04/05 07:00:02.850 +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=56.659354ms] [] [2025/04/05 07:00:02.850 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:02.851 +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.124651ms] [] [2025/04/05 07:00:02.851 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=48] [step=import] [engine-id=0] [2025/04/05 07:00:02.851 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.853 +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.581968ms] [] [2025/04/05 07:00:02.853 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [retryCnt=0] [2025/04/05 07:00:02.857 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.857 +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.853357ms] [] [2025/04/05 07:00:02.857 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:02.858 +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.003803ms] [] [2025/04/05 07:00:02.858 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=import] [subtask-id=92] [takeTime=119.437333ms] [] [2025/04/05 07:00:02.858 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=92] [step=import] [takeTime=119.598278ms] [] [2025/04/05 07:00:02.940 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:02.941 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:02.942 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:02.960 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:02.962 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=48] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:02.962 +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=33] [subtasks=1] [2025/04/05 07:00:03.002 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:03.008 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=48] [step=import] [2025/04/05 07:00:03.012 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:03.012 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:03.012 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:03.012 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:03.012 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:03.012 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:03.012 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:03.012 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:03.012 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:03.012 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:03.012 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-47] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:03.012 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:03.014 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:03.014 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:03.014 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:03.015 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:03.015 +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=33, Mem=16GiB]"] [takeTime=283.900724ms] [] [2025/04/05 07:00:03.016 +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=33, Mem=16GiB]"] [2025/04/05 07:00:03.024 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=post-process] [2025/04/05 07:00:03.024 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 07:00:03.024 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 07:00:03.024 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [2025/04/05 07:00:03.030 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=6.19687ms] [] [2025/04/05 07:00:03.030 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [groupId=-1] [size=37] [kvs=1] [checksum=18113774150194779939] [2025/04/05 07:00:03.030 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [checksum="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/05 07:00:03.030 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [weight=30] [2025/04/05 07:00:03.031 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [concurrency=15] [2025/04/05 07:00:03.033 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=273] [physicalTableID=273] [indexID=-1] [checksum=18113774150194779939] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:03.033 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:03.033 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [local="{cksum=18113774150194779939,size=37,kvs=1}"] [2025/04/05 07:00:03.033 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=8.981301ms] [] [2025/04/05 07:00:03.033 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=48] [step=post-process] [subtask-id=93] [takeTime=9.143078ms] [] [2025/04/05 07:00:03.033 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=48] [task-type=ImportInto] [server-id=:4000] [subtaskID=93] [step=post-process] [takeTime=9.280049ms] [] [2025/04/05 07:00:03.059 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:03.140 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=48] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:03.140 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=48] [step=post-process] [state=running] [] [2025/04/05 07:00:03.143 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=48] [2025/04/05 07:00:03.172 +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=33, Mem=16GiB]"] [takeTime=156.376838ms] [] [2025/04/05 07:00:03.173 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=48] [type=ImportInto] [2025/04/05 07:00:03.234 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=48] [2025/04/05 07:00:03.241 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:03.241 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=48] [2025/04/05 07:00:03.264 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:03.435 +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.960079667\n# Parse_time: 0.000101559\n# Compile_time: 0.000635646\n# Rewrite_time: 0.000223622\n# Optimize_time: 0.00028368\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk1OW1zLCBvcGVuOjc0Mm5zLCBjbG9zZTo4MTJucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk1OW1zLCBvcGVuOjc0Mm5zLCBjbG9zZTo4MTJucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`import_mode` FROM 'gs://test-load/import_mode-*.tsv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 07:00:03.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:03.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.import_mode;"] [2025/04/05 07:00:03.457 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:queueing, SchemaState:none, SchemaID:261, TableID:273, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:03.465 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 275, Table Name: import_mode, Old Table ID: 273, Old Table Name: import_mode)"] [2025/04/05 07:00:03.483 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=2.050665ms] [gotSchemaVersion=191] [phyTblIDs="[273,275]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:03.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=276] [version=191] [2025/04/05 07:00:03.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=191] ["take time"=9.846676ms] [job="ID:276, Type:truncate table, State:done, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:03.499 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=276] [tableIDs="[273]"] [comment="truncate table: table ID"] [2025/04/05 07:00:03.504 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=276] [jobType="truncate table"] [2025/04/05 07:00:03.504 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=276] [conn=2] [job="ID:276, Type:truncate table, State:synced, SchemaState:public, SchemaID:261, TableID:273, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:03.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:03.523 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=276] [2025/04/05 07:00:03.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=191] [cur_db=import_into] [sql="truncate table load_data.import_mode;"] [user=root@%] [2025/04/05 07:00:03.530 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:03.577 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/import_mode-*.tsv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:03.598 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=49] [task-id=49] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:03.613 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=49] [2025/04/05 07:00:03.613 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:03.716 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:03.718 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:03.719 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [2025/04/05 07:00:03.727 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:03.730 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=import_mode] [2025/04/05 07:00:03.730 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=import_mode] [before=536870912000] [after=8] [2025/04/05 07:00:03.730 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=import_mode] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=51.35µs] [2025/04/05 07:00:03.730 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=import_mode] [takeTime=137.641µs] [] [2025/04/05 07:00:03.730 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=49] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:03.730 +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=33] [subtasks=1] [2025/04/05 07:00:03.764 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=49] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:03.785 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/05 07:00:03.785 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:03.794 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:03.794 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:03.794 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:03.794 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:03.794 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:03.794 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:03.795 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:03.795 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:03.795 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:03.795 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:03.808 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:03.810 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:03.810 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=import_mode] [quota=752.3GB] [2025/04/05 07:00:03.810 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=49] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:03.810 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=import_mode] [import-id=49] [disk-quota=700.7GiB] [2025/04/05 07:00:03.811 +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=33, Mem=16GiB]"] [2025/04/05 07:00:03.818 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=import] [2025/04/05 07:00:03.818 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [2025/04/05 07:00:03.822 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:0] [engineUUID=1ccc2128-36af-5780-96ac-757ded6634c4] [2025/04/05 07:00:03.822 +00:00] [INFO] [import_into_test.go:850] [ToImportMode] [2025/04/05 07:00:03.826 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`import_mode`:-1] [engineUUID=86c1a897-a1cd-5c05-8035-3b378e34349a] [2025/04/05 07:00:03.827 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=275] [2025/04/05 07:00:03.828 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=49] [2025/04/05 07:00:03.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:03.835 +00:00] [INFO] [cache.go:406] ["GC compact old schema version"] ["current version"=191] ["oldest version"=1] [deleted=0] [total=932] [takes=1.329051ms] [2025/04/05 07:00:05.800 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:06.827 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=49] [step=import] [subtask-id=94] [takeTime=3.008562409s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:06.827 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [subtaskID=94] [step=import] [takeTime=3.008966809s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:06.827 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:06.835 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=49] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:06.925 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=49] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 07:00:06.945 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=49] [step=import] [2025/04/05 07:00:06.950 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:06.950 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:06.950 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:06.950 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:06.950 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:06.950 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:06.950 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:06.950 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:06.950 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:06.950 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-48] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:06.950 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:06.950 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:06.953 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:06.953 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:06.954 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:06.954 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:06.954 +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=33, Mem=16GiB]"] [takeTime=3.143059935s] [] [2025/04/05 07:00:06.954 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=49] [type=ImportInto] [2025/04/05 07:00:07.023 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=49] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 07:00:07.024 +00:00] [INFO] [import_into_test.go:855] [ToNormalMode] [2025/04/05 07:00:07.026 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=49] [2025/04/05 07:00:07.116 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=49] [2025/04/05 07:00:07.123 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:07.123 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=49] [2025/04/05 07:00:07.147 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:07.214 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=49] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestImportMode\n\ttests/realtikvtest/importintotest/import_into_test.go:937\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:07.215 +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.691095859\n# Parse_time: 0.000078728\n# Compile_time: 0.000655079\n# Rewrite_time: 0.000213079\n# Optimize_time: 0.000400466\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjY5Mm5zLCBjbG9zZTo3OTJucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo2OTJucywgY2xvc2U6NzkybnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.63s) === NAME TestImportInto === RUN TestImportInto/TestInputCountMisMatchAndDefault [2025/04/05 07:00:07.242 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:07.241 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 07:00:07.248 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:queueing, SchemaState:public, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.268 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=2.103884ms] [gotSchemaVersion=192] [phyTblIDs="[275]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:07.272 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=192] [2025/04/05 07:00:07.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=192] ["take time"=10.868401ms] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:write only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.299 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=131.921µs] [gotSchemaVersion=193] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:07.303 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=193] [2025/04/05 07:00:07.305 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=193] ["take time"=7.764552ms] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.314 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:running, SchemaState:delete only, SchemaID:261, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.320 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:07.331 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=142.219µs] [gotSchemaVersion=194] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:07.335 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=194] [2025/04/05 07:00:07.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=194] ["take time"=7.968942ms] [job="ID:277, Type:drop schema, State:done, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.346 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=277] [tableIDs="[275]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:07.351 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=277] [jobType="drop schema"] [2025/04/05 07:00:07.352 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:drop schema, State:synced, SchemaState:none, SchemaID:261, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.370 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/05 07:00:07.371 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=194] [cur_db=import_into] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 07:00:07.383 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:07.384 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 07:00:07.389 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:queueing, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.404 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=770.199µs] [gotSchemaVersion=195] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:07.408 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=279] [version=195] [2025/04/05 07:00:07.410 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=195] ["take time"=8.357836ms] [job="ID:279, Type:create schema, State:done, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.421 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=279] [conn=2] [job="ID:279, Type:create schema, State:synced, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.431 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=279] [2025/04/05 07:00:07.432 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=import_into] [sql="create database load_data"] [user=root@%] [2025/04/05 07:00:07.434 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=195] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:07.448 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:07.448 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 07:00:07.454 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.459 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 280, Table Name: t)"] [2025/04/05 07:00:07.476 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=2.002674ms] [gotSchemaVersion=196] [phyTblIDs="[280]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:07.479 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=196] [2025/04/05 07:00:07.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=196] ["take time"=9.385999ms] [job="ID:281, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:07.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.495 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=2] [job="ID:281, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:07.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:07.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/05 07:00:07.508 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=196] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:07.515 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:07.567 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:07.588 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=50] [task-id=50] [data-size=24B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:07.603 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=50] [2025/04/05 07:00:07.603 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:07.706 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:07.708 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:07.709 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [2025/04/05 07:00:07.717 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:07.720 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:07.720 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 07:00:07.720 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=66.241µs] [2025/04/05 07:00:07.720 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=172.344µs] [] [2025/04/05 07:00:07.720 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:07.720 +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=33] [subtasks=1] [2025/04/05 07:00:07.756 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=50] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:07.776 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/05 07:00:07.777 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:07.785 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:07.785 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:07.786 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:07.786 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:07.786 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:07.786 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:07.786 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:07.786 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:07.786 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:07.787 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:07.800 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:07.803 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:07.803 +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/05 07:00:07.803 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=50] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:07.803 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=50] [disk-quota=700.7GiB] [2025/04/05 07:00:07.803 +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=33, Mem=16GiB]"] [2025/04/05 07:00:07.812 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [2025/04/05 07:00:07.812 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [2025/04/05 07:00:07.816 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=50] [mode=Import] [2025/04/05 07:00:07.817 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:07.822 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:07.822 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=280] [2025/04/05 07:00:07.836 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [2025/04/05 07:00:07.837 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=50] [2025/04/05 07:00:07.839 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=280] [key=input-cnt-mismatch.csv:0] [readDur=1.308687ms] [encodeDur=1.465136ms] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [deliverDur=281.046µs] [type=file] [takeTime=3.370113ms] [] [2025/04/05 07:00:07.840 +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/63959949-0b6a-49ee-9a4a-749960c37e9f.sst] [firstKey=7480000000000001185F728000000000000001] [lastKey=7480000000000001185F728000000000000002] [2025/04/05 07:00:07.840 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 07:00:07.840 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 07:00:07.840 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:07.843 +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.682176ms] [] [2025/04/05 07:00:07.843 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:07.847 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:07.870 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=78] [2025/04/05 07:00:07.870 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:07.872 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001185f728000000000000001] [endOfAllRanges=7480000000000001185f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff185f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff185f728000000000ff0000030000000000fa] [2025/04/05 07:00:07.885 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=78] [kvs=2] [importedSize=78] [importedCount=2] [2025/04/05 07:00:07.887 +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.041966ms] [] [2025/04/05 07:00:07.887 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:07.888 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.207797ms] [] [2025/04/05 07:00:07.889 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=50] [step=import] [engine-id=0] [2025/04/05 07:00:07.889 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:07.890 +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.72842ms] [] [2025/04/05 07:00:07.890 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:07.894 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:07.894 +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.706798ms] [] [2025/04/05 07:00:07.894 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:07.895 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=957.905µs] [] [2025/04/05 07:00:07.895 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=import] [subtask-id=95] [takeTime=82.856826ms] [] [2025/04/05 07:00:07.895 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=95] [step=import] [takeTime=83.00814ms] [] [2025/04/05 07:00:07.911 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:07.913 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:07.914 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:07.914 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:07.943 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:07.945 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=50] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:07.945 +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=33] [subtasks=1] [2025/04/05 07:00:07.979 +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/05 07:00:07.986 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=50] [step=import] [2025/04/05 07:00:07.989 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:07.989 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:07.989 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:07.989 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:07.989 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:07.989 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:07.989 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:07.989 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:07.989 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:07.989 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-49] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:07.989 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:07.989 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:07.992 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:07.992 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:07.992 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:07.992 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:07.992 +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=33, Mem=16GiB]"] [takeTime=189.057885ms] [] [2025/04/05 07:00:07.993 +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=33, Mem=16GiB]"] [2025/04/05 07:00:08.001 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=post-process] [2025/04/05 07:00:08.001 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 07:00:08.001 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 07:00:08.001 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [2025/04/05 07:00:08.007 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=5.645669ms] [] [2025/04/05 07:00:08.007 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [groupId=-1] [size=78] [kvs=2] [checksum=4834883050368624781] [2025/04/05 07:00:08.007 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [checksum="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/05 07:00:08.007 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [weight=30] [2025/04/05 07:00:08.007 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [concurrency=15] [2025/04/05 07:00:08.009 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=280] [physicalTableID=280] [indexID=-1] [checksum=4834883050368624781] [totalKvs=2] [totalBytes=78] [2025/04/05 07:00:08.009 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:08.009 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [local="{cksum=4834883050368624781,size=78,kvs=2}"] [2025/04/05 07:00:08.009 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.295501ms] [] [2025/04/05 07:00:08.009 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=50] [step=post-process] [subtask-id=96] [takeTime=8.46266ms] [] [2025/04/05 07:00:08.010 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=50] [task-type=ImportInto] [server-id=:4000] [subtaskID=96] [step=post-process] [takeTime=8.606051ms] [] [2025/04/05 07:00:08.037 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:08.111 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=50] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:08.111 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=50] [step=post-process] [state=running] [] [2025/04/05 07:00:08.113 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=50] [2025/04/05 07:00:08.130 +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=33, Mem=16GiB]"] [takeTime=136.904291ms] [] [2025/04/05 07:00:08.130 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=50] [type=ImportInto] [2025/04/05 07:00:08.205 +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.69654138\n# Parse_time: 0.000077849\n# Compile_time: 0.000600238\n# Rewrite_time: 0.000184717\n# Optimize_time: 0.000400466\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS42bXMsIG9wZW46Njc4bnMsIGNsb3NlOjkyMW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NS42bXMsIG9wZW46Njc4bnMsIGNsb3NlOjkyMW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:08.206 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=50] [2025/04/05 07:00:08.212 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:08.212 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=50] [2025/04/05 07:00:08.222 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:08.222 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 07:00:08.228 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.234 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:08.246 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=2.427686ms] [gotSchemaVersion=197] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:08.250 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=197] [2025/04/05 07:00:08.251 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=197] ["take time"=9.954265ms] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.261 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.279 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=2.456071ms] [gotSchemaVersion=198] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:08.282 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=198] [2025/04/05 07:00:08.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=198] ["take time"=9.929795ms] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.293 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:280, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.299 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 280, Old Table Name: t)"] [2025/04/05 07:00:08.314 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=1.187515ms] [gotSchemaVersion=199] [phyTblIDs="[280]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:08.317 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=282] [version=199] [2025/04/05 07:00:08.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=199] ["take time"=8.92057ms] [job="ID:282, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.329 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=282] [tableIDs="[280]"] [comment="drop table: table ID"] [2025/04/05 07:00:08.334 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=282] [jobType="drop table"] [2025/04/05 07:00:08.335 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=282] [conn=2] [job="ID:282, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:280, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.352 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=282] [2025/04/05 07:00:08.353 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=199] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:08.367 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:08.367 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int default 100);"] [2025/04/05 07:00:08.373 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:08.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.378 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 283, Table Name: t)"] [2025/04/05 07:00:08.395 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=2.000691ms] [gotSchemaVersion=200] [phyTblIDs="[283]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:08.399 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=200] [2025/04/05 07:00:08.401 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=9.921178ms] [job="ID:284, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:08.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.413 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=2] [job="ID:284, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:08.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:08.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/05 07:00:08.425 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=200] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int default 100);"] [user=root@%] [2025/04/05 07:00:08.432 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:08.481 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:08.501 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=51] [task-id=51] [data-size=24B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:08.516 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=51] [2025/04/05 07:00:08.516 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:08.618 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:08.619 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:08.620 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [2025/04/05 07:00:08.628 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:08.631 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:08.631 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 07:00:08.631 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=46.947µs] [2025/04/05 07:00:08.631 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.759µs] [] [2025/04/05 07:00:08.631 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:08.631 +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=33] [subtasks=1] [2025/04/05 07:00:08.665 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=51] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:08.685 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/05 07:00:08.685 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:08.693 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:08.694 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:08.694 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:08.694 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:08.694 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:08.694 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:08.694 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:08.695 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:08.695 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:08.695 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:08.708 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:08.709 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:08.709 +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/05 07:00:08.710 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=51] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:08.710 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=51] [disk-quota=700.7GiB] [2025/04/05 07:00:08.710 +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=33, Mem=16GiB]"] [2025/04/05 07:00:08.717 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [2025/04/05 07:00:08.717 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [2025/04/05 07:00:08.722 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:08.725 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=51] [mode=Import] [2025/04/05 07:00:08.725 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:08.726 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=283] [2025/04/05 07:00:08.744 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=51] [2025/04/05 07:00:08.747 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [2025/04/05 07:00:08.749 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=283] [key=input-cnt-mismatch.csv:0] [readDur=1.080487ms] [encodeDur=523.823µs] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [deliverDur=291.064µs] [type=file] [takeTime=2.183235ms] [] [2025/04/05 07:00:08.750 +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/9c76cddd-d690-40e4-9f24-2e672df39a02.sst] [firstKey=74800000000000011B5F728000000000000001] [lastKey=74800000000000011B5F728000000000000002] [2025/04/05 07:00:08.750 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 07:00:08.750 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 07:00:08.750 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:08.753 +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.657306ms] [] [2025/04/05 07:00:08.753 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:08.757 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:08.779 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=79] [2025/04/05 07:00:08.779 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:08.781 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011b5f728000000000000001] [endOfAllRanges=74800000000000011b5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1b5f728000000000ff0000030000000000fa] [2025/04/05 07:00:08.793 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=79] [kvs=2] [importedSize=79] [importedCount=2] [2025/04/05 07:00:08.795 +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.206977ms] [] [2025/04/05 07:00:08.795 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:08.797 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.200792ms] [] [2025/04/05 07:00:08.797 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=51] [step=import] [engine-id=0] [2025/04/05 07:00:08.797 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:08.798 +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.667226ms] [] [2025/04/05 07:00:08.798 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:08.802 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:08.802 +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.719659ms] [] [2025/04/05 07:00:08.802 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:08.803 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=964.126µs] [] [2025/04/05 07:00:08.803 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=import] [subtask-id=97] [takeTime=86.201513ms] [] [2025/04/05 07:00:08.804 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=97] [step=import] [takeTime=86.390191ms] [] [2025/04/05 07:00:08.823 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:08.824 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:08.826 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:08.826 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:08.858 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:08.859 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=51] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:08.859 +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=33] [subtasks=1] [2025/04/05 07:00:08.888 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:08.895 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=51] [step=import] [2025/04/05 07:00:08.898 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:08.898 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:08.898 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:08.898 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:08.898 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:08.898 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:08.898 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:08.898 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:08.898 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:08.898 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-50] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:08.898 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:08.898 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:08.900 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:08.900 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:08.900 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:08.900 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:08.900 +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=33, Mem=16GiB]"] [takeTime=190.735561ms] [] [2025/04/05 07:00:08.902 +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=33, Mem=16GiB]"] [2025/04/05 07:00:08.909 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=post-process] [2025/04/05 07:00:08.909 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 07:00:08.910 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 07:00:08.910 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [2025/04/05 07:00:08.916 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=6.327843ms] [] [2025/04/05 07:00:08.916 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [groupId=-1] [size=79] [kvs=2] [checksum=14192221556862743119] [2025/04/05 07:00:08.916 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [checksum="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/05 07:00:08.916 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [weight=30] [2025/04/05 07:00:08.916 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [concurrency=15] [2025/04/05 07:00:08.918 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=283] [physicalTableID=283] [indexID=-1] [checksum=14192221556862743119] [totalKvs=2] [totalBytes=79] [2025/04/05 07:00:08.918 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:08.918 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [local="{cksum=14192221556862743119,size=79,kvs=2}"] [2025/04/05 07:00:08.919 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=8.956169ms] [] [2025/04/05 07:00:08.919 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=51] [step=post-process] [subtask-id=98] [takeTime=9.110337ms] [] [2025/04/05 07:00:08.919 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=51] [task-type=ImportInto] [server-id=:4000] [subtaskID=98] [step=post-process] [takeTime=9.246515ms] [] [2025/04/05 07:00:08.943 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:09.023 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=51] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:09.023 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=51] [step=post-process] [state=running] [] [2025/04/05 07:00:09.026 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=51] [2025/04/05 07:00:09.058 +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=33, Mem=16GiB]"] [takeTime=156.498299ms] [] [2025/04/05 07:00:09.058 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=51] [type=ImportInto] [2025/04/05 07:00:09.119 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=51] [2025/04/05 07:00:09.119 +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.693702811\n# Parse_time: 0.000075623\n# Compile_time: 0.000569959\n# Rewrite_time: 0.000160353\n# Optimize_time: 0.000306275\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi44bXMsIG9wZW46ODEybnMsIGNsb3NlOjg5MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi44bXMsIG9wZW46ODEybnMsIGNsb3NlOjg5MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:09.126 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:09.126 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=51] [2025/04/05 07:00:09.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:09.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t;"] [2025/04/05 07:00:09.141 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:queueing, SchemaState:public, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.149 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:09.158 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=2.535681ms] [gotSchemaVersion=201] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:09.162 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=201] [2025/04/05 07:00:09.164 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=201] ["take time"=10.318361ms] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.174 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:write only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=2.441392ms] [gotSchemaVersion=202] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:09.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=202] [2025/04/05 07:00:09.195 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=202] ["take time"=9.726603ms] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.204 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:running, SchemaState:delete only, SchemaID:278, TableID:283, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.211 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 283, Old Table Name: t)"] [2025/04/05 07:00:09.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.374926ms] [gotSchemaVersion=203] [phyTblIDs="[283]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:09.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=285] [version=203] [2025/04/05 07:00:09.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=203] ["take time"=9.221397ms] [job="ID:285, Type:drop table, State:done, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.240 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=285] [tableIDs="[283]"] [comment="drop table: table ID"] [2025/04/05 07:00:09.245 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=285] [jobType="drop table"] [2025/04/05 07:00:09.247 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=285] [conn=2] [job="ID:285, Type:drop table, State:synced, SchemaState:none, SchemaID:278, TableID:283, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=285] [2025/04/05 07:00:09.265 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=203] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:09.279 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:09.279 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 07:00:09.285 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:queueing, SchemaState:none, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.291 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 286, Table Name: t)"] [2025/04/05 07:00:09.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=2.141571ms] [gotSchemaVersion=204] [phyTblIDs="[286]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:09.311 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=287] [version=204] [2025/04/05 07:00:09.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=204] ["take time"=9.507081ms] [job="ID:287, Type:create table, State:done, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.324 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=287] [conn=2] [job="ID:287, Type:create table, State:synced, SchemaState:public, SchemaID:278, TableID:286, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:09.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:09.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=287] [2025/04/05 07:00:09.337 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=204] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:09.344 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:09.392 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, `b`, @`1`)\",\"set-clause\":\"`c`=COALESCE(@`1`, 100)\",\"file-location\":\"gs://test-multi-load/input-cnt-mismatch.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:09.413 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=52] [task-id=52] [data-size=24B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:09.429 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=52] [2025/04/05 07:00:09.429 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:09.532 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:09.533 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:09.534 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [2025/04/05 07:00:09.543 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:09.545 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:09.545 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=24] [2025/04/05 07:00:09.546 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=24] [cost=47.846µs] [2025/04/05 07:00:09.546 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=139.341µs] [] [2025/04/05 07:00:09.546 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:09.546 +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=33] [subtasks=1] [2025/04/05 07:00:09.586 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=52] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:09.607 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/05 07:00:09.607 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:09.616 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:09.616 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:09.616 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:09.617 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:09.617 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:09.617 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:09.617 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:09.617 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:09.617 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:09.618 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:09.630 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:09.632 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:09.632 +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/05 07:00:09.632 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=52] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:09.632 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=52] [disk-quota=700.7GiB] [2025/04/05 07:00:09.632 +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=33, Mem=16GiB]"] [2025/04/05 07:00:09.637 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=52] [mode=Import] [2025/04/05 07:00:09.640 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [2025/04/05 07:00:09.640 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [2025/04/05 07:00:09.644 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:09.647 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:09.648 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=286] [2025/04/05 07:00:09.657 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=52] [2025/04/05 07:00:09.661 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [2025/04/05 07:00:09.664 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=286] [key=input-cnt-mismatch.csv:0] [readDur=1.033728ms] [encodeDur=918.357µs] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [deliverDur=348.651µs] [type=file] [takeTime=2.658198ms] [] [2025/04/05 07:00:09.665 +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/729ae299-f8b7-474c-b468-3441fd959d36.sst] [firstKey=74800000000000011E5F728000000000000001] [lastKey=74800000000000011E5F728000000000000002] [2025/04/05 07:00:09.665 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 07:00:09.665 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 07:00:09.665 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:09.667 +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.071441ms] [] [2025/04/05 07:00:09.667 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:09.672 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:09.694 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=82] [2025/04/05 07:00:09.694 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:09.696 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000011e5f728000000000000001] [endOfAllRanges=74800000000000011e5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff1e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff1e5f728000000000ff0000030000000000fa] [2025/04/05 07:00:09.708 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=82] [kvs=2] [importedSize=82] [importedCount=2] [2025/04/05 07:00:09.709 +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.060435ms] [] [2025/04/05 07:00:09.710 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:09.711 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.073624ms] [] [2025/04/05 07:00:09.711 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=52] [step=import] [engine-id=0] [2025/04/05 07:00:09.711 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:09.712 +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.528641ms] [] [2025/04/05 07:00:09.712 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:09.716 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:09.716 +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.693234ms] [] [2025/04/05 07:00:09.716 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:09.717 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=956.723µs] [] [2025/04/05 07:00:09.717 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=import] [subtask-id=99] [takeTime=77.117461ms] [] [2025/04/05 07:00:09.717 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=99] [step=import] [takeTime=77.270287ms] [] [2025/04/05 07:00:09.737 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:09.738 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:09.739 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:09.740 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:09.771 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:09.772 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=52] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:09.772 +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=33] [subtasks=1] [2025/04/05 07:00:09.803 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:09.810 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=52] [step=import] [2025/04/05 07:00:09.813 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:09.813 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:09.813 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:09.813 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:09.813 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:09.813 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:09.813 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:09.814 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:09.814 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:09.813 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-51] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:09.814 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:09.814 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:09.816 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:09.816 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:09.816 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:09.816 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:09.816 +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=33, Mem=16GiB]"] [takeTime=184.347824ms] [] [2025/04/05 07:00:09.819 +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=33, Mem=16GiB]"] [2025/04/05 07:00:09.827 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=post-process] [2025/04/05 07:00:09.827 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 07:00:09.827 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 07:00:09.827 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [2025/04/05 07:00:09.834 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=6.213181ms] [] [2025/04/05 07:00:09.834 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [groupId=-1] [size=82] [kvs=2] [checksum=4856294282864387256] [2025/04/05 07:00:09.834 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [checksum="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/05 07:00:09.834 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [weight=30] [2025/04/05 07:00:09.834 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [concurrency=15] [2025/04/05 07:00:09.836 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=286] [physicalTableID=286] [indexID=-1] [checksum=4856294282864387256] [totalKvs=2] [totalBytes=82] [2025/04/05 07:00:09.836 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:09.836 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [local="{cksum=4856294282864387256,size=82,kvs=2}"] [2025/04/05 07:00:09.836 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=9.016392ms] [] [2025/04/05 07:00:09.836 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=52] [step=post-process] [subtask-id=100] [takeTime=9.15934ms] [] [2025/04/05 07:00:09.836 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=52] [task-type=ImportInto] [server-id=:4000] [subtaskID=100] [step=post-process] [takeTime=9.299387ms] [] [2025/04/05 07:00:09.862 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:09.936 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=52] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:09.936 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=52] [step=post-process] [state=running] [] [2025/04/05 07:00:09.939 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=52] [2025/04/05 07:00:09.956 +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=33, Mem=16GiB]"] [takeTime=137.796858ms] [] [2025/04/05 07:00:09.957 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=52] [type=ImportInto] [2025/04/05 07:00:10.031 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=52] [2025/04/05 07:00:10.032 +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.694308741\n# Parse_time: 0.000290347\n# Compile_time: 0.000852782\n# Rewrite_time: 0.000268181\n# Optimize_time: 0.000274337\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Mi44bXMsIG9wZW46NjgzbnMsIGNsb3NlOjc2NG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5Mi44bXMsIG9wZW46NjgzbnMsIGNsb3NlOjc2NG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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 (2.81s) === NAME TestImportInto === RUN TestImportInto/TestInputNull [2025/04/05 07:00:10.038 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:10.038 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=52] [2025/04/05 07:00:10.049 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.049 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 07:00:10.055 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:queueing, SchemaState:public, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.061 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:10.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.802231ms] [gotSchemaVersion=205] [phyTblIDs="[286]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:10.077 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=205] [2025/04/05 07:00:10.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=205] ["take time"=9.748021ms] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.090 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:write only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.103 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=140.477µs] [gotSchemaVersion=206] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:10.107 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=206] [2025/04/05 07:00:10.108 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=206] ["take time"=7.574936ms] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.116 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:running, SchemaState:delete only, SchemaID:278, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.122 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:10.133 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=142.222µs] [gotSchemaVersion=207] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:10.136 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=207] [2025/04/05 07:00:10.138 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=207] ["take time"=7.445828ms] [job="ID:288, Type:drop schema, State:done, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.147 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=288] [tableIDs="[286]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:10.152 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=288] [jobType="drop schema"] [2025/04/05 07:00:10.153 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=2] [job="ID:288, Type:drop schema, State:synced, SchemaState:none, SchemaID:278, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.169 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/05 07:00:10.169 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=207] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 07:00:10.182 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.182 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 07:00:10.187 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:queueing, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.201 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=690.417µs] [gotSchemaVersion=208] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:10.205 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=208] [2025/04/05 07:00:10.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=208] ["take time"=7.536835ms] [job="ID:290, Type:create schema, State:done, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.217 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=2] [job="ID:290, Type:create schema, State:synced, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/05 07:00:10.227 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 07:00:10.229 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=208] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:10.242 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.242 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint, b varchar(100), c int);"] [2025/04/05 07:00:10.249 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.254 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 291, Table Name: t)"] [2025/04/05 07:00:10.270 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.925565ms] [gotSchemaVersion=209] [phyTblIDs="[291]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:10.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=209] [2025/04/05 07:00:10.275 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=9.691965ms] [job="ID:292, Type:create table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.287 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=2] [job="ID:292, Type:create table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:10.203 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/05 07:00:10.299 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=209] [cur_db=load_data] [sql="create table t (a bigint, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:10.305 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:10.357 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:10.379 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=53] [task-id=53] [data-size=18B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:10.396 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=53] [2025/04/05 07:00:10.396 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:10.498 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:10.499 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:10.500 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [2025/04/05 07:00:10.509 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:10.512 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:10.512 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 07:00:10.513 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=50.595µs] [2025/04/05 07:00:10.513 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=147.067µs] [] [2025/04/05 07:00:10.513 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:10.513 +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=33] [subtasks=1] [2025/04/05 07:00:10.546 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=53] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:10.566 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/05 07:00:10.566 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:10.574 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:10.574 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:10.575 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:10.575 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:10.575 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:10.575 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:10.575 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:10.575 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:10.576 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:10.576 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:10.589 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:10.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/05 07:00:10.592 +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/05 07:00:10.592 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=53] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:10.592 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=53] [disk-quota=700.7GiB] [2025/04/05 07:00:10.592 +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=33, Mem=16GiB]"] [2025/04/05 07:00:10.600 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [2025/04/05 07:00:10.600 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [2025/04/05 07:00:10.604 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:10.605 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=53] [mode=Import] [2025/04/05 07:00:10.608 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:10.609 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=291] [2025/04/05 07:00:10.626 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=53] [2025/04/05 07:00:10.626 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [2025/04/05 07:00:10.628 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=291] [key=nil-input.tsv:0] [readDur=1.044263ms] [encodeDur=273.873µs] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [deliverDur=285.565µs] [type=file] [takeTime=1.931354ms] [] [2025/04/05 07:00:10.628 +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/98ed2262-65c8-4666-8e67-842a6e43b0bd.sst] [firstKey=7480000000000001235F728000000000000001] [lastKey=7480000000000001235F728000000000000002] [2025/04/05 07:00:10.628 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 07:00:10.629 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 07:00:10.629 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:10.631 +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.970562ms] [] [2025/04/05 07:00:10.631 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:10.635 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:10.659 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=74] [2025/04/05 07:00:10.659 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:10.661 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001235f728000000000000001] [endOfAllRanges=7480000000000001235f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff235f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff235f728000000000ff0000030000000000fa] [2025/04/05 07:00:10.673 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=74] [kvs=2] [importedSize=74] [importedCount=2] [2025/04/05 07:00:10.674 +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.682448ms] [] [2025/04/05 07:00:10.674 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:10.676 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.12923ms] [] [2025/04/05 07:00:10.676 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=53] [step=import] [engine-id=0] [2025/04/05 07:00:10.676 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:10.677 +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.55581ms] [] [2025/04/05 07:00:10.677 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:10.681 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:10.681 +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.679499ms] [] [2025/04/05 07:00:10.681 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:10.682 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=869.107µs] [] [2025/04/05 07:00:10.682 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=import] [subtask-id=101] [takeTime=82.317898ms] [] [2025/04/05 07:00:10.682 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=101] [step=import] [takeTime=82.495567ms] [] [2025/04/05 07:00:10.703 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:10.704 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:10.705 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:10.705 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:10.735 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:10.736 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=53] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:10.737 +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=33] [subtasks=1] [2025/04/05 07:00:10.756 +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/05 07:00:10.763 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=53] [step=import] [2025/04/05 07:00:10.766 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:10.766 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:10.766 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:10.766 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:10.766 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:10.766 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:10.766 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:10.766 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-52] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:10.766 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:10.766 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:10.766 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:10.766 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:10.768 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:10.768 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:10.768 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:10.768 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:10.768 +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=33, Mem=16GiB]"] [takeTime=176.650301ms] [] [2025/04/05 07:00:10.770 +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=33, Mem=16GiB]"] [2025/04/05 07:00:10.777 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=post-process] [2025/04/05 07:00:10.777 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 07:00:10.777 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 07:00:10.777 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [2025/04/05 07:00:10.783 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=5.76611ms] [] [2025/04/05 07:00:10.783 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [groupId=-1] [size=74] [kvs=2] [checksum=18253638469051024344] [2025/04/05 07:00:10.783 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [checksum="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/05 07:00:10.783 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [weight=30] [2025/04/05 07:00:10.783 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [concurrency=15] [2025/04/05 07:00:10.785 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=291] [physicalTableID=291] [indexID=-1] [checksum=18253638469051024344] [totalKvs=2] [totalBytes=74] [2025/04/05 07:00:10.786 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:10.786 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [local="{cksum=18253638469051024344,size=74,kvs=2}"] [2025/04/05 07:00:10.786 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=8.58897ms] [] [2025/04/05 07:00:10.786 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=53] [step=post-process] [subtask-id=102] [takeTime=8.723602ms] [] [2025/04/05 07:00:10.786 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=53] [task-type=ImportInto] [server-id=:4000] [subtaskID=102] [step=post-process] [takeTime=8.847794ms] [] [2025/04/05 07:00:10.803 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=53] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:10.803 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=53] [step=post-process] [state=running] [] [2025/04/05 07:00:10.806 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=53] [2025/04/05 07:00:10.808 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:10.832 +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=33, Mem=16GiB]"] [takeTime=61.728489ms] [] [2025/04/05 07:00:10.832 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=53] [type=ImportInto] [2025/04/05 07:00:10.898 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=53] [2025/04/05 07:00:10.904 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:10.904 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=53] [2025/04/05 07:00:10.926 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:10.996 +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.697031018\n# Parse_time: 0.000088851\n# Compile_time: 0.000530365\n# Rewrite_time: 0.000154725\n# Optimize_time: 0.000289935\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5Ni4xbXMsIG9wZW46NTYzbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY5Ni4xbXMsIG9wZW46NTYzbnMsIGNsb3NlOjEuMDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH fields_terminated_by=_UTF8MB4' ';"] [2025/04/05 07:00:11.011 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:11.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:11.011 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:11.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 07:00:11.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:queueing, SchemaState:none, SchemaID:289, TableID:291, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:11.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:11.025 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 293, Table Name: t, Old Table ID: 291, Old Table Name: t)"] [2025/04/05 07:00:11.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.944624ms] [gotSchemaVersion=210] [phyTblIDs="[291,293]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:11.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=210] [2025/04/05 07:00:11.046 +00:00] [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.997495ms] [job="ID:294, Type:truncate table, State:done, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:11.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:11.056 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=294] [tableIDs="[291]"] [comment="truncate table: table ID"] [2025/04/05 07:00:11.061 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=294] [jobType="truncate table"] [2025/04/05 07:00:11.062 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=2] [job="ID:294, Type:truncate table, State:synced, SchemaState:public, SchemaID:289, TableID:291, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:11.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:11.079 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/05 07:00:11.080 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 07:00:11.086 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:11.135 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"columns-and-vars\":\"(`a`, @`1`, `c`)\",\"set-clause\":\"`b`=COALESCE(@`1`, _UTF8MB4'def')\",\"file-location\":\"gs://test-multi-load/nil-input.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"fields_terminated_by\":\"\\t\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:11.155 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=54] [task-id=54] [data-size=18B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:11.170 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=54] [2025/04/05 07:00:11.170 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:11.273 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:11.274 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:11.276 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [2025/04/05 07:00:11.284 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:11.287 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:11.287 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=18] [2025/04/05 07:00:11.287 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=18] [cost=81.632µs] [2025/04/05 07:00:11.287 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=189.664µs] [] [2025/04/05 07:00:11.287 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:11.287 +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=33] [subtasks=1] [2025/04/05 07:00:11.324 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:11.344 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/05 07:00:11.345 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:11.353 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:11.353 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:11.354 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:11.354 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:11.354 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:11.354 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:11.354 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:11.354 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:11.355 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:11.355 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:11.368 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:11.370 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:11.370 +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/05 07:00:11.370 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=54] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:11.370 +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=33, Mem=16GiB]"] [2025/04/05 07:00:11.370 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=54] [disk-quota=700.7GiB] [2025/04/05 07:00:11.378 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [2025/04/05 07:00:11.378 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [2025/04/05 07:00:11.380 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=54] [mode=Import] [2025/04/05 07:00:11.382 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:11.386 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:11.386 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=293] [2025/04/05 07:00:11.400 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=54] [2025/04/05 07:00:11.427 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [2025/04/05 07:00:11.429 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=293] [key=nil-input.tsv:0] [readDur=1.088661ms] [encodeDur=274.515µs] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [deliverDur=229.308µs] [type=file] [takeTime=1.866357ms] [] [2025/04/05 07:00:11.430 +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/9c2eb8af-c0c1-4c54-b03b-4b55c4acf50e.sst] [firstKey=7480000000000001255F728000000000000001] [lastKey=7480000000000001255F728000000000000002] [2025/04/05 07:00:11.430 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 07:00:11.430 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 07:00:11.430 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:11.432 +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.045862ms] [] [2025/04/05 07:00:11.432 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:11.436 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:11.458 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=2] [size=80] [2025/04/05 07:00:11.458 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:11.460 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001255f728000000000000001] [endOfAllRanges=7480000000000001255f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff255f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff255f728000000000ff0000030000000000fa] [2025/04/05 07:00:11.472 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=80] [kvs=2] [importedSize=80] [importedCount=2] [2025/04/05 07:00:11.474 +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.825962ms] [] [2025/04/05 07:00:11.474 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:11.475 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.145123ms] [] [2025/04/05 07:00:11.475 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=54] [step=import] [engine-id=0] [2025/04/05 07:00:11.475 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:11.477 +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.560125ms] [] [2025/04/05 07:00:11.477 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:11.481 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:11.481 +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.772216ms] [] [2025/04/05 07:00:11.481 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:11.482 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=891.836µs] [] [2025/04/05 07:00:11.482 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=import] [subtask-id=103] [takeTime=104.167813ms] [] [2025/04/05 07:00:11.482 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=103] [step=import] [takeTime=104.31565ms] [] [2025/04/05 07:00:11.578 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:11.579 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:11.580 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:11.581 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:11.610 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:11.612 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=54] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:11.612 +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=33] [subtasks=1] [2025/04/05 07:00:11.635 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:11.635 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=54] [step=import] [2025/04/05 07:00:11.639 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:11.639 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:11.639 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:11.639 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:11.639 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:11.639 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:11.639 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:11.639 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:11.639 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-53] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:11.639 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:11.639 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:11.639 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:11.641 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:11.641 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:11.641 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:11.641 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:11.641 +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=33, Mem=16GiB]"] [takeTime=271.391814ms] [] [2025/04/05 07:00:11.641 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/05 07:00:11.644 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=54] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:11.665 +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=33, Mem=16GiB]"] [2025/04/05 07:00:11.672 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=post-process] [2025/04/05 07:00:11.672 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 07:00:11.672 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 07:00:11.672 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [2025/04/05 07:00:11.678 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=6.141589ms] [] [2025/04/05 07:00:11.679 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [groupId=-1] [size=80] [kvs=2] [checksum=5368846511036415957] [2025/04/05 07:00:11.679 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [checksum="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/05 07:00:11.679 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [weight=30] [2025/04/05 07:00:11.679 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [concurrency=15] [2025/04/05 07:00:11.680 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=293] [physicalTableID=293] [indexID=-1] [checksum=5368846511036415957] [totalKvs=2] [totalBytes=80] [2025/04/05 07:00:11.681 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:11.681 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [local="{cksum=5368846511036415957,size=80,kvs=2}"] [2025/04/05 07:00:11.681 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=8.624697ms] [] [2025/04/05 07:00:11.681 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=54] [step=post-process] [subtask-id=104] [takeTime=8.775994ms] [] [2025/04/05 07:00:11.681 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=54] [task-type=ImportInto] [server-id=:4000] [subtaskID=104] [step=post-process] [takeTime=8.908599ms] [] [2025/04/05 07:00:11.708 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:11.777 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=54] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:11.777 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=54] [step=post-process] [state=running] [] [2025/04/05 07:00:11.780 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=54] [2025/04/05 07:00:11.800 +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=33, Mem=16GiB]"] [takeTime=135.880306ms] [] [2025/04/05 07:00:11.801 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=54] [type=ImportInto] [2025/04/05 07:00:11.873 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=54] [2025/04/05 07:00:11.879 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:11.879 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=54] [2025/04/05 07:00:11.901 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:12.072 +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.991915795\n# Parse_time: 0.000168975\n# Compile_time: 0.000573359\n# Rewrite_time: 0.000174072\n# Optimize_time: 0.000266665\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC45bXMsIG9wZW46NjMxbnMsIGNsb3NlOjEuMTXCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk5MC45bXMsIG9wZW46NjMxbnMsIGNsb3NlOjEuMTXCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.04s) === NAME TestImportInto === RUN TestImportInto/TestJobFailWhenDispatchSubtask [2025/04/05 07:00:12.077 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=210] [cur_db=load_data] [sql="drop database if exists fail_job_after_import"] [user=root@%] [2025/04/05 07:00:12.091 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database fail_job_after_import"] [2025/04/05 07:00:12.091 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:12.097 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:queueing, SchemaState:none, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=1.268354ms] [gotSchemaVersion=211] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:12.121 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=211] [2025/04/05 07:00:12.124 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=211] ["take time"=15.262799ms] [job="ID:296, Type:create schema, State:done, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=2] [job="ID:296, Type:create schema, State:synced, SchemaState:public, SchemaID:295, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.147 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/05 07:00:12.148 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=211] [cur_db=load_data] [sql="create database fail_job_after_import"] [user=root@%] [2025/04/05 07:00:12.162 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:12.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 07:00:12.168 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:queueing, SchemaState:none, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.173 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 297, Table Name: t1)"] [2025/04/05 07:00:12.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.746794ms] [gotSchemaVersion=212] [phyTblIDs="[297]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:12.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=212] [2025/04/05 07:00:12.194 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=212] ["take time"=9.429429ms] [job="ID:298, Type:create table, State:done, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.205 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=2] [job="ID:298, Type:create table, State:synced, SchemaState:public, SchemaID:295, TableID:297, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.216 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/05 07:00:12.216 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:12.223 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:12.275 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://fail_job_after_import/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:12.294 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=55] [task-id=55] [data-size=3B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:12.309 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=55] [2025/04/05 07:00:12.309 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:12.412 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:12.413 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:12.414 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [2025/04/05 07:00:12.422 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:12.424 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 07:00:12.424 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 07:00:12.424 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=45.129µs] [2025/04/05 07:00:12.424 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=138.782µs] [] [2025/04/05 07:00:12.424 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=55] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:12.424 +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=33] [subtasks=1] [2025/04/05 07:00:12.454 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=55] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:12.474 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/05 07:00:12.474 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:12.482 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:12.482 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:12.483 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:12.483 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:12.483 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:12.483 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:12.483 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:12.483 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:12.484 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:12.484 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:12.496 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:12.498 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:12.498 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=752.3GB] [2025/04/05 07:00:12.498 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=55] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:12.498 +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=33, Mem=16GiB]"] [2025/04/05 07:00:12.498 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=55] [disk-quota=700.7GiB] [2025/04/05 07:00:12.506 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [2025/04/05 07:00:12.506 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [2025/04/05 07:00:12.510 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 07:00:12.514 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 07:00:12.515 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=297] [2025/04/05 07:00:12.518 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=55] [mode=Import] [2025/04/05 07:00:12.538 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=55] [2025/04/05 07:00:12.566 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=297] [key=t.csv:0] [2025/04/05 07:00:12.568 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=297] [key=t.csv:0] [readDur=1.003259ms] [encodeDur=208.921µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=457.925µs] [type=file] [takeTime=1.961403ms] [] [2025/04/05 07:00:12.569 +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/de986a64-053a-487e-b7e0-f061b40f3542.sst] [firstKey=7480000000000001295F728000000000000001] [lastKey=7480000000000001295F728000000000000002] [2025/04/05 07:00:12.569 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 07:00:12.569 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 07:00:12.569 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 07:00:12.572 +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=2.577796ms] [] [2025/04/05 07:00:12.572 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [retryCnt=0] [2025/04/05 07:00:12.576 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:12.598 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:12.598 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:12.600 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001295f728000000000000001] [endOfAllRanges=7480000000000001295f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff295f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff295f728000000000ff0000030000000000fa] [2025/04/05 07:00:12.610 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:12.612 +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.282743ms] [] [2025/04/05 07:00:12.612 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:0] [engineUUID=3c229875-a87b-5dfa-aef9-0ffcec4d91ae] [2025/04/05 07:00:12.614 +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=1.112465ms] [] [2025/04/05 07:00:12.614 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=55] [step=import] [engine-id=0] [2025/04/05 07:00:12.614 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 07:00:12.615 +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.497989ms] [] [2025/04/05 07:00:12.615 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [retryCnt=0] [2025/04/05 07:00:12.619 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 07:00:12.619 +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.698517ms] [] [2025/04/05 07:00:12.619 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`fail_job_after_import`.`t1`:-1] [engineUUID=d169a211-a2c0-545c-894b-6412e8ed0fb5] [2025/04/05 07:00:12.620 +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=920.996µs] [] [2025/04/05 07:00:12.620 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=55] [step=import] [subtask-id=105] [takeTime=113.856682ms] [] [2025/04/05 07:00:12.620 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=55] [task-type=ImportInto] [server-id=:4000] [subtaskID=105] [step=import] [takeTime=114.018888ms] [] [2025/04/05 07:00:12.716 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:12.717 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:12.718 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:12.718 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:12.737 +00:00] [WARN] [scheduler.go:486] ["generate part of subtasks failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:12.737 +00:00] [WARN] [scheduler.go:571] ["generate plan failed"] [task-id=55] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [state=running] [2025/04/05 07:00:12.744 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=55] [step=import] [2025/04/05 07:00:12.747 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:12.747 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:12.747 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:12.747 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:12.747 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:12.747 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:12.747 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:12.747 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:12.747 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-54] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:12.747 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:12.747 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:12.747 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:12.749 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:12.749 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:12.749 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:12.749 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:12.749 +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=33, Mem=16GiB]"] [takeTime=250.796686ms] [] [2025/04/05 07:00:12.749 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=55] [type=ImportInto] [2025/04/05 07:00:12.817 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=55] [step=import] [state=reverting] [error="injected error after ImportStepImport"] [errorVerbose="injected error after ImportStepImport\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importScheduler).OnNextSubtasksBatch\n\tpkg/disttask/importinto/scheduler.go:324\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).switch2NextStep\n\tpkg/disttask/framework/scheduler/scheduler.go:484\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onRunning\n\tpkg/disttask/framework/scheduler/scheduler.go:394\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:247\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:12.817 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=55] [step=import] [mode=Normal] [2025/04/05 07:00:12.823 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=55] [2025/04/05 07:00:12.909 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=55] [error="[0]injected error after ImportStepImport"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestJobFailWhenDispatchSubtask\n\ttests/realtikvtest/importintotest/job_test.go:599\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:12.910 +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.692366366\n# Parse_time: 0.000084889\n# Compile_time: 0.000535199\n# Rewrite_time: 0.00015889\n# Optimize_time: 0.000261354\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('SfBIMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY5MS40bXMsIG9wZW46NzA1bnMsIGNsb3NlOjEuMcK1cywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YvBPCl4KDEltcG9ydEludG9fMjgBQAFSA04vQVovdGltZTo2OTEuNG1zLCBvcGVuOjcwNW5zLCBjbG9zZToxLjHCtXMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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/';"] [2025/04/05 07:00:12.912 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=55] --- PASS: TestImportInto/TestJobFailWhenDispatchSubtask (0.84s) === NAME TestImportInto === RUN TestImportInto/TestKillBeforeFinish [2025/04/05 07:00:12.918 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:12.918 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=55] [2025/04/05 07:00:12.936 +00:00] [WARN] [session.go:810] [sql] [label=internal] [error="[kv:9007]Write conflict, txnStartTS=457136252624044039, conflictStartTS=457136252624044042, conflictCommitTS=457136252624044043, key={tableID=82, tableName=mysql.tidb_global_task, indexID=1, indexValues={reverted, 55, }}, originalKey=7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000000037, primary={tableID=82, tableName=mysql.tidb_global_task, indexID=1, indexValues={reverted, 55, }}, originalPrimaryKey=7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000000037, reason=Optimistic [try again later]"] [txn="Txn{state=invalid}"] [2025/04/05 07:00:12.936 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=0] [sql=begin] [2025/04/05 07:00:12.937 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=1] [sql=" update mysql.tidb_global_task set meta= _binary'{\\\"JobID\\\":55,\\\"Plan\\\":{\\\"DBName\\\":\\\"fail_job_after_import\\\",\\\"DBID\\\":295,\\\"TableInfo\\\":{\\\"id\\\":297,\\\"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\\\":\\\"\\\",\\\"auto_inc_id\\\":0,\\\"auto_id_cache\\\":0,\\\"auto_rand_id\\\":0,\\\"max_col_id\\\":1,\\\"max_idx_id\\\":0,\\\"max(len:4231)"] [2025/04/05 07:00:12.937 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 748000fffffffffffa5f728000000000000069, primary: 7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000000037, txnStartTS: 457136252624044039, lockForUpdateTS:0, minCommitTs:457136252624044040, ttl: 3015, type: Del, UseAsyncCommit: false, txnSize: 7"] [2025/04/05 07:00:12.938 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 748000fffffffffffa5f698000000000000002013a34303030000000fc038000000000000069, primary: 7480000000000000525f698000000000000001017265766572746564ff0000000000000000f7038000000000000037, txnStartTS: 457136252624044039, lockForUpdateTS:0, minCommitTs:457136252624044040, ttl: 3015, type: Del, UseAsyncCommit: false, txnSize: 7"] [2025/04/05 07:00:12.939 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=2] [sql=" insert into mysql.tidb_global_task_history select * from mysql.tidb_global_task where id in(55)"] [2025/04/05 07:00:12.940 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=3] [sql=" delete from mysql.tidb_global_task where id in(55)"] [2025/04/05 07:00:12.942 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=4] [sql="insert into mysql.tidb_background_subtask_history select * from mysql.tidb_background_subtask where task_key = 55"] [2025/04/05 07:00:12.942 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=212] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS kill_job;"] [user=root@%] [2025/04/05 07:00:12.944 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=5] [sql="delete from mysql.tidb_background_subtask where task_key = 55"] [2025/04/05 07:00:12.946 +00:00] [WARN] [session.go:1112] [retrying] [schemaVersion=212] [retryCnt=0] [queryNum=6] [sql=commit] [2025/04/05 07:00:12.946 +00:00] [WARN] [session.go:1135] ["transaction association"] ["retrying txnStartTS"=457136252624044046] ["original txnStartTS"=457136252624044039] [2025/04/05 07:00:12.946 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:12.954 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:12.954 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE kill_job;"] [2025/04/05 07:00:12.960 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:queueing, SchemaState:none, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=771.001µs] [gotSchemaVersion=213] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:12.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=213] [2025/04/05 07:00:12.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=213] ["take time"=8.613206ms] [job="ID:300, Type:create schema, State:done, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:12.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.989 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=2] [job="ID:300, Type:create schema, State:synced, SchemaState:public, SchemaID:299, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:12.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:12.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/05 07:00:12.999 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=213] [cur_db=fail_job_after_import] [sql="CREATE DATABASE kill_job;"] [user=root@%] [2025/04/05 07:00:13.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:13.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:13.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:13.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [2025/04/05 07:00:13.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:13.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:13.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: t)"] [2025/04/05 07:00:13.039 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.763666ms] [gotSchemaVersion=214] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:13.042 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=214] [2025/04/05 07:00:13.044 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=8.855408ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:13.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:13.055 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=2] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:299, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:13.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:13.066 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/05 07:00:13.067 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=214] [cur_db=fail_job_after_import] [sql="CREATE TABLE kill_job.t (a INT, b INT, c int);"] [user=root@%] [2025/04/05 07:00:13.073 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:13.121 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:13.140 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=56] [task-id=56] [data-size=8B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:13.155 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=56] [2025/04/05 07:00:13.155 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:13.258 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:13.259 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:13.260 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [2025/04/05 07:00:13.268 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:13.270 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:13.270 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=8] [2025/04/05 07:00:13.270 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.555µs] [2025/04/05 07:00:13.270 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=142.797µs] [] [2025/04/05 07:00:13.270 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=56] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:13.270 +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=33] [subtasks=1] [2025/04/05 07:00:13.304 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=56] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:13.324 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/05 07:00:13.324 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:13.332 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:13.332 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:13.332 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:13.332 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:13.333 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:13.333 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:13.333 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:13.333 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:13.333 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:13.333 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:13.345 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:13.347 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:13.347 +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/05 07:00:13.347 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=56] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:13.348 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=56] [disk-quota=700.7GiB] [2025/04/05 07:00:13.348 +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=33, Mem=16GiB]"] [2025/04/05 07:00:13.355 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [2025/04/05 07:00:13.355 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [2025/04/05 07:00:13.359 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 07:00:13.363 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 07:00:13.363 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=301] [2025/04/05 07:00:13.363 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=56] [mode=Import] [2025/04/05 07:00:13.384 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=56] [2025/04/05 07:00:13.386 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [2025/04/05 07:00:13.388 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=301] [key=t-1.tsv:0] [readDur=1.014559ms] [encodeDur=351.835µs] [checksum="{cksum=11381722441307210293,size=37,kvs=1}"] [deliverDur=208.849µs] [type=file] [takeTime=1.874288ms] [] [2025/04/05 07:00:13.388 +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/6d5d81d9-b8c7-47d2-8d08-566b4f3f30fd.sst] [firstKey=74800000000000012D5F728000000000000001] [lastKey=74800000000000012D5F728000000000000001] [2025/04/05 07:00:13.388 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 07:00:13.388 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 07:00:13.388 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 07:00:13.390 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=2.138665ms] [] [2025/04/05 07:00:13.391 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [retryCnt=0] [2025/04/05 07:00:13.395 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:13.416 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:13.417 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:13.418 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000012d5f728000000000000001] [endOfAllRanges=74800000000000012d5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff2d5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff2d5f728000000000ff0000020000000000fa] [2025/04/05 07:00:13.430 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=64636ef9-3fe4-5434-ae74-7ab09274a71e] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:13.431 +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.751829ms] [] [2025/04/05 07:00:13.431 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [2025/04/05 07:00:13.433 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:0] [engineUUID=64636ef9-3fe4-5434-ae74-7ab09274a71e] [takeTime=1.106635ms] [] [2025/04/05 07:00:13.433 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=56] [step=import] [engine-id=0] [2025/04/05 07:00:13.433 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 07:00:13.434 +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.645464ms] [] [2025/04/05 07:00:13.434 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [retryCnt=0] [2025/04/05 07:00:13.438 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 07:00:13.438 +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.645059ms] [] [2025/04/05 07:00:13.438 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [2025/04/05 07:00:13.439 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`kill_job`.`t`:-1] [engineUUID=0c319952-7a9c-59e9-a73e-2a53414030fd] [takeTime=925.96µs] [] [2025/04/05 07:00:13.439 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=56] [step=import] [subtask-id=106] [takeTime=84.210878ms] [] [2025/04/05 07:00:13.439 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=56] [task-type=ImportInto] [server-id=:4000] [subtaskID=106] [step=import] [takeTime=84.348968ms] [] [2025/04/05 07:00:13.448 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=56] [step=import] [2025/04/05 07:00:13.451 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:13.451 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:13.451 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:13.451 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:13.451 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:13.451 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:13.451 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:13.451 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:13.451 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-55] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:13.451 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:13.451 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:13.451 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:13.453 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:13.453 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:13.453 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:13.454 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:13.454 +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=33, Mem=16GiB]"] [takeTime=105.984431ms] [] [2025/04/05 07:00:13.454 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=56] [type=ImportInto] [2025/04/05 07:00:13.457 +00:00] [INFO] [scheduler.go:152] ["task state/step changed by user or other scheduler"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [old-state=running] [new-state=cancelling] [old-step=import] [new-step=import] [2025/04/05 07:00:13.459 +00:00] [INFO] [scheduler.go:269] ["on cancelling state"] [task-id=56] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=cancelling] [step=import] [2025/04/05 07:00:13.562 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=56] [step=import] [state=reverting] [error="cancelled by user"] [errorVerbose="cancelled by user\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).onCancelling\n\tpkg/disttask/framework/scheduler/scheduler.go:272\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).scheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:199\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*BaseScheduler).ScheduleTask\n\tpkg/disttask/framework/scheduler/scheduler.go:121\ngithub.com/pingcap/tidb/pkg/disttask/framework/scheduler.(*Manager).startScheduler.func1\n\tpkg/disttask/framework/scheduler/scheduler_manager.go:357\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:13.563 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=56] [step=import] [mode=Normal] [2025/04/05 07:00:13.577 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=56] [2025/04/05 07:00:13.658 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=56] [2025/04/05 07:00:13.664 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:13.664 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=56] [2025/04/05 07:00:13.685 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:13.695 +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.62733969\n# Parse_time: 0.000280905\n# Compile_time: 0.000556515\n# Rewrite_time: 0.000145745\n# Optimize_time: 0.00004013\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjYyNi4zbXMsIG9wZW46NzI0bnMsIGNsb3NlOjgwMG5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2MjYuM21zLCBvcGVuOjcyNG5zLCBjbG9zZTo4MDBucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `kill_job`.`t` FROM 'gs://test-load/t-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestKillBeforeFinish (1.79s) === NAME TestImportInto === RUN TestImportInto/TestLoadSQLDump [2025/04/05 07:00:14.720 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:14.720 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 07:00:14.726 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:queueing, SchemaState:public, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=2.042271ms] [gotSchemaVersion=215] [phyTblIDs="[231,233]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:14.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=215] [2025/04/05 07:00:14.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=215] ["take time"=9.348588ms] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:write only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.772 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=147.653µs] [gotSchemaVersion=216] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:14.775 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=216] [2025/04/05 07:00:14.777 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=216] ["take time"=6.984079ms] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.785 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:running, SchemaState:delete only, SchemaID:229, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.791 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:14.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=138.338µs] [gotSchemaVersion=217] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:14.806 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=217] [2025/04/05 07:00:14.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=217] ["take time"=8.000624ms] [job="ID:303, Type:drop schema, State:done, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.816 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[231,233]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:14.821 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop schema"] [2025/04/05 07:00:14.822 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=2] [job="ID:303, Type:drop schema, State:synced, SchemaState:none, SchemaID:229, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/05 07:00:14.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=217] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 07:00:14.851 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:14.851 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 07:00:14.858 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:queueing, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.966 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=860.911µs] [gotSchemaVersion=218] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:14.971 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=305] [version=218] [2025/04/05 07:00:14.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=218] ["take time"=10.013965ms] [job="ID:305, Type:create schema, State:done, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.984 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=305] [conn=2] [job="ID:305, Type:create schema, State:synced, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:14.996 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=305] [2025/04/05 07:00:14.996 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=218] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 07:00:15.011 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:15.011 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [2025/04/05 07:00:15.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 306, Table Name: t)"] [2025/04/05 07:00:15.043 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.950251ms] [gotSchemaVersion=219] [phyTblIDs="[306]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:15.047 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=307] [version=219] [2025/04/05 07:00:15.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=219] ["take time"=13.990767ms] [job="ID:307, Type:create table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:14.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.061 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=307] [conn=2] [job="ID:307, Type:create table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:14.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.072 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=307] [2025/04/05 07:00:15.073 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=219] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (id INT, c VARCHAR(20));"] [user=root@%] [2025/04/05 07:00:15.081 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:15.132 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/05 07:00:15.151 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=57] [task-id=57] [data-size=42B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:15.166 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=57] [2025/04/05 07:00:15.166 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:15.268 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:15.270 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:15.270 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [2025/04/05 07:00:15.278 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:15.281 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:15.281 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/05 07:00:15.281 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=49.992µs] [2025/04/05 07:00:15.281 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=161.141µs] [] [2025/04/05 07:00:15.281 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:15.281 +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=33] [subtasks=1] [2025/04/05 07:00:15.315 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:15.335 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/05 07:00:15.336 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:15.344 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:15.344 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:15.344 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:15.344 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:15.345 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:15.345 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:15.345 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:15.345 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:15.345 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:15.345 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:15.359 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:15.361 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:15.361 +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/05 07:00:15.361 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=57] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:15.361 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=57] [disk-quota=700.7GiB] [2025/04/05 07:00:15.361 +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=33, Mem=16GiB]"] [2025/04/05 07:00:15.369 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [2025/04/05 07:00:15.369 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [2025/04/05 07:00:15.374 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:15.377 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=57] [mode=Import] [2025/04/05 07:00:15.377 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:15.378 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=306] [2025/04/05 07:00:15.408 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=57] [2025/04/05 07:00:15.421 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=306] [key=p:0] [2025/04/05 07:00:15.424 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=306] [key=p:0] [readDur=1.54523ms] [encodeDur=367.75µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=345.96µs] [type=file] [takeTime=2.604512ms] [] [2025/04/05 07:00:15.425 +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/b03ca34c-40ad-430f-9e30-fad5b8054614.sst] [firstKey=7480000000000001325F728000000000000001] [lastKey=7480000000000001325F728000000000000002] [2025/04/05 07:00:15.425 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 07:00:15.425 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 07:00:15.425 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:15.428 +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.652587ms] [] [2025/04/05 07:00:15.428 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 07:00:15.432 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:15.454 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/05 07:00:15.454 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:15.456 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001325f728000000000000001] [endOfAllRanges=7480000000000001325f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff325f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff325f728000000000ff0000030000000000fa] [2025/04/05 07:00:15.471 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 07:00:15.472 +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=44.697909ms] [] [2025/04/05 07:00:15.472 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:15.474 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.119304ms] [] [2025/04/05 07:00:15.474 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=57] [step=import] [engine-id=0] [2025/04/05 07:00:15.474 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:15.476 +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.821394ms] [] [2025/04/05 07:00:15.476 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 07:00:15.479 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:15.479 +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.595939ms] [] [2025/04/05 07:00:15.479 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:15.480 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=856.786µs] [] [2025/04/05 07:00:15.480 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=import] [subtask-id=107] [takeTime=111.100459ms] [] [2025/04/05 07:00:15.481 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=107] [step=import] [takeTime=111.650387ms] [] [2025/04/05 07:00:15.574 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:15.575 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:15.576 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:15.576 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:15.608 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:15.609 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=57] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:15.609 +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=33] [subtasks=1] [2025/04/05 07:00:15.631 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:15.631 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=57] [step=import] [2025/04/05 07:00:15.634 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:15.634 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:15.634 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:15.634 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:15.634 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:15.634 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:15.634 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:15.634 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:15.634 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-56] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.634 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:15.634 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:15.635 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:15.637 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:15.637 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:15.637 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:15.637 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:15.637 +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=33, Mem=16GiB]"] [takeTime=275.86969ms] [] [2025/04/05 07:00:15.637 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/05 07:00:15.645 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=57] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:15.665 +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=33, Mem=16GiB]"] [2025/04/05 07:00:15.673 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=post-process] [2025/04/05 07:00:15.673 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 07:00:15.673 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 07:00:15.673 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [2025/04/05 07:00:15.680 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=6.51864ms] [] [2025/04/05 07:00:15.680 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/05 07:00:15.680 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 07:00:15.680 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [weight=30] [2025/04/05 07:00:15.680 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [concurrency=15] [2025/04/05 07:00:15.682 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=306] [physicalTableID=306] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 07:00:15.682 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:15.683 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 07:00:15.683 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=9.377865ms] [] [2025/04/05 07:00:15.683 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=57] [step=post-process] [subtask-id=108] [takeTime=9.531614ms] [] [2025/04/05 07:00:15.683 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=57] [task-type=ImportInto] [server-id=:4000] [subtaskID=108] [step=post-process] [takeTime=9.672791ms] [] [2025/04/05 07:00:15.711 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:15.774 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=57] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:15.774 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=57] [step=post-process] [state=running] [] [2025/04/05 07:00:15.777 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=57] [2025/04/05 07:00:15.804 +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=33, Mem=16GiB]"] [takeTime=139.321398ms] [] [2025/04/05 07:00:15.805 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=57] [type=ImportInto] [2025/04/05 07:00:15.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:15.869 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=57] [2025/04/05 07:00:15.875 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:15.875 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=57] [2025/04/05 07:00:15.898 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:16.069 +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.995175014\n# Parse_time: 0.000116654\n# Compile_time: 0.000734438\n# Rewrite_time: 0.00022018\n# Optimize_time: 0.000044514\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NG1zLCBvcGVuOjc0Mm5zLCBjbG9zZTo2OTFucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5NG1zLCBvcGVuOjc0Mm5zLCBjbG9zZTo2OTFucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t` FROM 'gs://test-load-parquet/p?endpoint=http://127.0.0.1:4443/storage/v1/' FORMAT 'SQL';"] [2025/04/05 07:00:16.086 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:16.086 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_csv.t;"] [2025/04/05 07:00:16.090 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:queueing, SchemaState:none, SchemaID:304, TableID:306, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.098 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 308, Table Name: t, Old Table ID: 306, Old Table Name: t)"] [2025/04/05 07:00:16.114 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.926458ms] [gotSchemaVersion=220] [phyTblIDs="[306,308]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:16.118 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=309] [version=220] [2025/04/05 07:00:16.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=220] ["take time"=9.509714ms] [job="ID:309, Type:truncate table, State:done, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.131 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=309] [tableIDs="[306]"] [comment="truncate table: table ID"] [2025/04/05 07:00:16.136 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=309] [jobType="truncate table"] [2025/04/05 07:00:16.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=309] [conn=2] [job="ID:309, Type:truncate table, State:synced, SchemaState:public, SchemaID:304, TableID:306, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=309] [2025/04/05 07:00:16.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_csv.t;"] [user=root@%] [2025/04/05 07:00:16.203 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"/tmp/TestImportIntoTestLoadSQLDump756575731/001/test.sql\",\"format\":\"sql\"}"] [dist-task-enabled=true] [2025/04/05 07:00:16.204 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:16.204 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=42] [2025/04/05 07:00:16.204 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=42] [cost=44.043µs] [2025/04/05 07:00:16.204 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=143.41µs] [] [2025/04/05 07:00:16.223 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=58] [task-id=58] [data-size=42B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:16.238 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=58] [2025/04/05 07:00:16.238 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:16.340 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:16.341 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:16.343 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [2025/04/05 07:00:16.350 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:16.350 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:16.385 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=58] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:16.405 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/05 07:00:16.412 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:16.413 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:16.413 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:16.413 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:16.413 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:16.413 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:16.413 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:16.413 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:16.414 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:16.414 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:16.426 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:16.428 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:16.428 +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/05 07:00:16.428 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=58] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:16.429 +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=3.879GiB]"] [2025/04/05 07:00:16.429 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=58] [disk-quota=700.7GiB] [2025/04/05 07:00:16.436 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [2025/04/05 07:00:16.436 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [2025/04/05 07:00:16.441 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:16.444 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:16.444 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=308] [2025/04/05 07:00:16.447 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=58] [mode=Import] [2025/04/05 07:00:16.465 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=308] [key=test.sql:0] [2025/04/05 07:00:16.466 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=308] [key=test.sql:0] [readDur=60.399µs] [encodeDur=698.669µs] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [deliverDur=248.096µs] [type=file] [takeTime=1.332072ms] [] [2025/04/05 07:00:16.466 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=58] [2025/04/05 07:00:16.467 +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/cf94f343-1cae-49e3-a18a-c92f20607505.sst] [firstKey=7480000000000001345F728000000000000001] [lastKey=7480000000000001345F728000000000000002] [2025/04/05 07:00:16.467 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 07:00:16.467 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 07:00:16.467 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:16.469 +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.065588ms] [] [2025/04/05 07:00:16.469 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 07:00:16.474 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:16.496 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=66] [2025/04/05 07:00:16.496 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:16.498 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001345f728000000000000001] [endOfAllRanges=7480000000000001345f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff345f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff345f728000000000ff0000030000000000fa] [2025/04/05 07:00:16.509 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=66] [kvs=2] [importedSize=66] [importedCount=2] [2025/04/05 07:00:16.511 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=41.542839ms] [] [2025/04/05 07:00:16.511 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:16.512 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.097637ms] [] [2025/04/05 07:00:16.512 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=58] [step=import] [engine-id=0] [2025/04/05 07:00:16.512 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:16.514 +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.662968ms] [] [2025/04/05 07:00:16.514 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 07:00:16.518 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:16.519 +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=4.377158ms] [] [2025/04/05 07:00:16.519 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:16.520 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.027695ms] [] [2025/04/05 07:00:16.520 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=import] [subtask-id=109] [takeTime=83.36823ms] [] [2025/04/05 07:00:16.520 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=109] [step=import] [takeTime=83.574089ms] [] [2025/04/05 07:00:16.545 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:16.547 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:16.548 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:16.548 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:16.581 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:16.582 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=58] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:16.582 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:16.611 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:16.618 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=58] [step=import] [2025/04/05 07:00:16.621 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:16.621 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:16.621 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:16.621 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:16.621 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:16.621 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:16.621 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:16.622 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:16.622 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:16.621 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-57] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:16.622 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:16.622 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:16.624 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:16.624 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:16.624 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:16.624 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:16.624 +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=3.879GiB]"] [takeTime=195.584986ms] [] [2025/04/05 07:00:16.625 +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=3.879GiB]"] [2025/04/05 07:00:16.633 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=post-process] [2025/04/05 07:00:16.633 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 07:00:16.633 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 07:00:16.633 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [2025/04/05 07:00:16.640 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=6.341744ms] [] [2025/04/05 07:00:16.640 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [groupId=-1] [size=66] [kvs=2] [checksum=4095868306028115111] [2025/04/05 07:00:16.640 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [checksum="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 07:00:16.640 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [weight=30] [2025/04/05 07:00:16.640 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [concurrency=15] [2025/04/05 07:00:16.642 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=308] [physicalTableID=308] [indexID=-1] [checksum=4095868306028115111] [totalKvs=2] [totalBytes=66] [2025/04/05 07:00:16.642 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:16.642 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [local="{cksum=4095868306028115111,size=66,kvs=2}"] [2025/04/05 07:00:16.642 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=9.22212ms] [] [2025/04/05 07:00:16.642 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=58] [step=post-process] [subtask-id=110] [takeTime=9.370442ms] [] [2025/04/05 07:00:16.642 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=58] [task-type=ImportInto] [server-id=:4000] [subtaskID=110] [step=post-process] [takeTime=9.522261ms] [] [2025/04/05 07:00:16.670 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:16.746 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=58] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:16.746 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=58] [step=post-process] [state=running] [] [2025/04/05 07:00:16.748 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=58] [2025/04/05 07:00:16.764 +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=3.879GiB]"] [takeTime=138.637664ms] [] [2025/04/05 07:00:16.764 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=58] [type=ImportInto] [2025/04/05 07:00:16.840 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=58] [2025/04/05 07:00:16.842 +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.686892157\n# Parse_time: 0.000078014\n# Compile_time: 0.000733713\n# Rewrite_time: 0.000303127\n# Optimize_time: 0.000251235\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4NS44bXMsIG9wZW46Njk2bnMsIGNsb3NlOjk3MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4NS44bXMsIG9wZW46Njk2bnMsIGNsb3NlOjk3MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_csv`.`t` FROM '/tmp/TestImportIntoTestLoadSQLDump756575731/001/test.sql' FORMAT 'SQL';"] --- PASS: TestImportInto/TestLoadSQLDump (2.14s) === NAME TestImportInto === RUN TestImportInto/TestMaxWriteSpeed [2025/04/05 07:00:16.847 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:16.847 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=58] [2025/04/05 07:00:16.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=220] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_test_write_speed;"] [user=root@%] [2025/04/05 07:00:16.860 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_test_write_speed;"] [2025/04/05 07:00:16.860 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:16.866 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:queueing, SchemaState:none, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:16.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.869 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:16.881 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=764.741µs] [gotSchemaVersion=221] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:16.885 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=311] [version=221] [2025/04/05 07:00:16.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=221] ["take time"=8.573881ms] [job="ID:311, Type:create schema, State:done, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.898 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=311] [conn=2] [job="ID:311, Type:create schema, State:synced, SchemaState:public, SchemaID:310, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:16.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.908 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=311] [2025/04/05 07:00:16.909 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=221] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_test_write_speed;"] [user=root@%] [2025/04/05 07:00:16.922 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_test_write_speed.t(a int, b int)"] [2025/04/05 07:00:16.922 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:16.928 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.933 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 312, Table Name: t)"] [2025/04/05 07:00:16.949 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.708641ms] [gotSchemaVersion=222] [phyTblIDs="[312]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:16.952 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=222] [2025/04/05 07:00:16.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=222] ["take time"=9.370513ms] [job="ID:313, Type:create table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.966 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=2] [job="ID:313, Type:create table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:16.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:16.977 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/05 07:00:16.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/05 07:00:16.988 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:17.038 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:17.057 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=59] [task-id=59] [data-size=7.598KiB] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:17.072 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=59] [2025/04/05 07:00:17.072 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:17.175 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:17.176 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:17.177 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [2025/04/05 07:00:17.184 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:17.187 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:17.187 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/05 07:00:17.187 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=45.351µs] [2025/04/05 07:00:17.187 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=142.75µs] [] [2025/04/05 07:00:17.187 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:17.187 +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=33] [subtasks=1] [2025/04/05 07:00:17.225 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=59] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:17.245 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/05 07:00:17.246 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:17.254 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:17.254 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:17.255 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:17.255 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:17.255 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:17.255 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:17.255 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:17.255 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:17.256 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:17.256 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:17.268 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:17.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/05 07:00:17.270 +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/05 07:00:17.270 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=59] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:17.270 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=59] [disk-quota=700.7GiB] [2025/04/05 07:00:17.270 +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=33, Mem=16GiB]"] [2025/04/05 07:00:17.278 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [2025/04/05 07:00:17.278 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [2025/04/05 07:00:17.280 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=59] [mode=Import] [2025/04/05 07:00:17.282 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:17.285 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:17.286 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=312] [2025/04/05 07:00:17.299 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=59] [2025/04/05 07:00:17.321 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [2025/04/05 07:00:17.349 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=312] [key=speed-test.csv:0] [readDur=5.813954ms] [encodeDur=17.785803ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.77541ms] [type=file] [takeTime=28.202725ms] [] [2025/04/05 07:00:17.350 +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/6c746abe-20e7-4623-b144-edef8259bb70.sst] [firstKey=7480000000000001385F728000000000000001] [lastKey=7480000000000001385F7280000000000003E8] [2025/04/05 07:00:17.350 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 07:00:17.350 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 07:00:17.350 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:17.352 +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.075034ms] [] [2025/04/05 07:00:17.352 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/05 07:00:17.357 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:17.378 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/05 07:00:17.379 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:17.381 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001385f728000000000000001] [endOfAllRanges=7480000000000001385f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff385f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff385f728000000000ff0003e90000000000fa] [2025/04/05 07:00:17.397 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/05 07:00:17.399 +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=46.16517ms] [] [2025/04/05 07:00:17.399 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:17.400 +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.193049ms] [] [2025/04/05 07:00:17.400 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=59] [step=import] [engine-id=0] [2025/04/05 07:00:17.400 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:17.402 +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.593531ms] [] [2025/04/05 07:00:17.402 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/05 07:00:17.405 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:17.406 +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.676624ms] [] [2025/04/05 07:00:17.406 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:17.407 +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=928.611µs] [] [2025/04/05 07:00:17.407 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=import] [subtask-id=111] [takeTime=128.648639ms] [] [2025/04/05 07:00:17.407 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=111] [step=import] [takeTime=128.817166ms] [] [2025/04/05 07:00:17.479 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:17.480 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:17.481 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:17.481 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:17.510 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/05 07:00:17.511 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=59] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:17.511 +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=33] [subtasks=1] [2025/04/05 07:00:17.544 +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/05 07:00:17.551 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=59] [step=import] [2025/04/05 07:00:17.554 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:17.554 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:17.554 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:17.554 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:17.554 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:17.554 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:17.554 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:17.554 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:17.554 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-58] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:17.554 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:17.554 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:17.554 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:17.556 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:17.556 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:17.557 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:17.557 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:17.557 +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=33, Mem=16GiB]"] [takeTime=286.411339ms] [] [2025/04/05 07:00:17.558 +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=33, Mem=16GiB]"] [2025/04/05 07:00:17.565 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=post-process] [2025/04/05 07:00:17.565 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 07:00:17.565 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 07:00:17.565 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [2025/04/05 07:00:17.572 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=6.068917ms] [] [2025/04/05 07:00:17.572 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/05 07:00:17.572 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 07:00:17.572 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [weight=30] [2025/04/05 07:00:17.572 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [concurrency=15] [2025/04/05 07:00:17.574 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=312] [physicalTableID=312] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/05 07:00:17.575 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:17.575 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 07:00:17.575 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=9.393913ms] [] [2025/04/05 07:00:17.575 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=59] [step=post-process] [subtask-id=112] [takeTime=9.548693ms] [] [2025/04/05 07:00:17.575 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=59] [task-type=ImportInto] [server-id=:4000] [subtaskID=112] [step=post-process] [takeTime=9.68037ms] [] [2025/04/05 07:00:17.592 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:17.680 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=59] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:17.680 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=59] [step=post-process] [state=running] [] [2025/04/05 07:00:17.682 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=59] [2025/04/05 07:00:17.713 +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=33, Mem=16GiB]"] [takeTime=155.205835ms] [] [2025/04/05 07:00:17.713 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=59] [type=ImportInto] [2025/04/05 07:00:17.774 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=59] [2025/04/05 07:00:17.780 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:17.780 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=59] [2025/04/05 07:00:17.801 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:17.974 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.99196957\n# Parse_time: 0.000096527\n# Compile_time: 0.00062255\n# Rewrite_time: 0.000219844\n# Optimize_time: 0.000301317\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MW1zLCBvcGVuOjY0N25zLCBjbG9zZTo4NjhucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5MW1zLCBvcGVuOjY0N25zLCBjbG9zZTo4NjhucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:17.991 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:17.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:17.991 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:17.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_test_write_speed.t;"] [2025/04/05 07:00:17.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:queueing, SchemaState:none, SchemaID:310, TableID:312, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:17.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:18.005 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 314, Table Name: t, Old Table ID: 312, Old Table Name: t)"] [2025/04/05 07:00:18.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.824978ms] [gotSchemaVersion=223] [phyTblIDs="[312,314]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:18.024 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=315] [version=223] [2025/04/05 07:00:18.026 +00:00] [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"=9.185406ms] [job="ID:315, Type:truncate table, State:done, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:17.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:18.037 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=315] [tableIDs="[312]"] [comment="truncate table: table ID"] [2025/04/05 07:00:18.041 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=315] [jobType="truncate table"] [2025/04/05 07:00:18.042 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=315] [conn=2] [job="ID:315, Type:truncate table, State:synced, SchemaState:public, SchemaID:310, TableID:312, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:17.953 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:18.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=315] [2025/04/05 07:00:18.060 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=223] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_test_write_speed.t;"] [user=root@%] [2025/04/05 07:00:18.066 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:18.114 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"max_write_speed\":\"6000\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:18.134 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=60] [task-id=60] [data-size=7.598KiB] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:18.149 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=60] [2025/04/05 07:00:18.149 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:18.252 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:18.253 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:18.254 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [2025/04/05 07:00:18.262 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:18.265 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:18.265 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=7780] [2025/04/05 07:00:18.265 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=7780] [cost=45.098µs] [2025/04/05 07:00:18.265 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=150.492µs] [] [2025/04/05 07:00:18.265 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:18.265 +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=33] [subtasks=1] [2025/04/05 07:00:18.305 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=60] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:18.326 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/05 07:00:18.326 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:18.335 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:18.335 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:18.336 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:18.336 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:18.336 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:18.336 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:18.336 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:18.336 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:18.337 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:18.337 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:18.351 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:18.352 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:18.353 +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/05 07:00:18.353 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=60] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:18.353 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=60] [disk-quota=700.7GiB] [2025/04/05 07:00:18.353 +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=33, Mem=16GiB]"] [2025/04/05 07:00:18.357 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=60] [mode=Import] [2025/04/05 07:00:18.361 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=import] [2025/04/05 07:00:18.361 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [2025/04/05 07:00:18.365 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:18.369 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:18.369 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=314] [2025/04/05 07:00:18.378 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=60] [2025/04/05 07:00:18.493 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [2025/04/05 07:00:18.521 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=314] [key=speed-test.csv:0] [readDur=6.490186ms] [encodeDur=17.178755ms] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [deliverDur=2.80073ms] [type=file] [takeTime=28.48154ms] [] [2025/04/05 07:00:18.522 +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/a6111adc-8177-41d7-9dd7-c6a67261dd9a.sst] [firstKey=74800000000000013A5F728000000000000001] [lastKey=74800000000000013A5F7280000000000003E8] [2025/04/05 07:00:18.522 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 07:00:18.522 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 07:00:18.523 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:18.525 +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.039522ms] [] [2025/04/05 07:00:18.525 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [retryCnt=0] [2025/04/05 07:00:18.529 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:18.551 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] ["region ranges"=1] [count=1000] [size=34744] [2025/04/05 07:00:18.551 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:18.553 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013a5f728000000000000001] [endOfAllRanges=74800000000000013a5f7280000000000003e9] [startKeyOfFirstRegion=7480000000000001ff3a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3a5f728000000000ff0003e90000000000fa] [2025/04/05 07:00:20.342 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:27.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:28.103 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [size=34744] [kvs=1000] [importedSize=34744] [importedCount=1000] [2025/04/05 07:00:28.105 +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.580391828s] [] [2025/04/05 07:00:28.105 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:0] [engineUUID=9b4a6271-0aef-5059-a34e-0bbb1ee21829] [2025/04/05 07:00:28.106 +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.177976ms] [] [2025/04/05 07:00:28.107 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=60] [step=import] [engine-id=0] [2025/04/05 07:00:28.107 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:28.108 +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.663277ms] [] [2025/04/05 07:00:28.108 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [retryCnt=0] [2025/04/05 07:00:28.112 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:28.112 +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.863467ms] [] [2025/04/05 07:00:28.112 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_test_write_speed`.`t`:-1] [engineUUID=44c71187-930f-542d-8bfe-d13dfaf0891c] [2025/04/05 07:00:28.113 +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=958.511µs] [] [2025/04/05 07:00:28.113 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=import] [subtask-id=113] [takeTime=9.752752082s] [] [2025/04/05 07:00:28.114 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=113] [step=import] [takeTime=9.752916463s] [] [2025/04/05 07:00:28.156 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:28.158 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:28.159 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:28.159 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:28.189 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1000}"] [2025/04/05 07:00:28.191 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=60] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:28.191 +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=33] [subtasks=1] [2025/04/05 07:00:28.227 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:28.233 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=60] [step=import] [2025/04/05 07:00:28.237 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:28.237 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:28.237 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:28.237 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:28.237 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:28.237 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:28.237 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:28.237 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:28.237 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-59] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:28.237 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:28.237 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:28.237 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:28.240 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:28.240 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:28.240 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:28.240 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:28.240 +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=33, Mem=16GiB]"] [takeTime=9.887296843s] [] [2025/04/05 07:00:28.241 +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=33, Mem=16GiB]"] [2025/04/05 07:00:28.249 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=post-process] [2025/04/05 07:00:28.249 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 07:00:28.249 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 07:00:28.249 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [2025/04/05 07:00:28.255 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=6.491845ms] [] [2025/04/05 07:00:28.255 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [groupId=-1] [size=34744] [kvs=1000] [checksum=16176383463214450733] [2025/04/05 07:00:28.256 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [checksum="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 07:00:28.256 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [weight=30] [2025/04/05 07:00:28.256 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [concurrency=15] [2025/04/05 07:00:28.258 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=314] [physicalTableID=314] [indexID=-1] [checksum=16176383463214450733] [totalKvs=1000] [totalBytes=34744] [2025/04/05 07:00:28.259 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:28.259 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [local="{cksum=16176383463214450733,size=34744,kvs=1000}"] [2025/04/05 07:00:28.259 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=9.969209ms] [] [2025/04/05 07:00:28.259 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=60] [step=post-process] [subtask-id=114] [takeTime=10.118051ms] [] [2025/04/05 07:00:28.261 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=60] [task-type=ImportInto] [server-id=:4000] [subtaskID=114] [step=post-process] [takeTime=12.237974ms] [] [2025/04/05 07:00:28.287 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:28.357 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=60] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:28.357 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=60] [step=post-process] [state=running] [] [2025/04/05 07:00:28.360 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=60] [2025/04/05 07:00:28.379 +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=33, Mem=16GiB]"] [takeTime=137.451666ms] [] [2025/04/05 07:00:28.379 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=60] [type=ImportInto] [2025/04/05 07:00:28.451 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=60] [2025/04/05 07:00:28.457 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:28.457 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=60] [2025/04/05 07:00:28.478 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:28.652 +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.592134786\n# Parse_time: 0.00010639\n# Compile_time: 0.000585347\n# Rewrite_time: 0.000175141\n# Optimize_time: 0.000539028\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEwLjZzLCBvcGVuOjY2M25zLCBjbG9zZTo3MDBucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjEwLjZzLCBvcGVuOjY2M25zLCBjbG9zZTo3MDBucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_test_write_speed`.`t` FROM 'gs://test-load/speed-test.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH max_write_speed=_UTF8MB4'6000';"] --- PASS: TestImportInto/TestMaxWriteSpeed (11.81s) === NAME TestImportInto === RUN TestImportInto/TestMultiValueIndex [2025/04/05 07:00:28.670 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:28.670 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_csv;"] [2025/04/05 07:00:28.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:queueing, SchemaState:public, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=2.147052ms] [gotSchemaVersion=224] [phyTblIDs="[308]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:28.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=224] [2025/04/05 07:00:28.701 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=224] ["take time"=10.12739ms] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:write only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.724 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=152.155µs] [gotSchemaVersion=225] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:28.728 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=225] [2025/04/05 07:00:28.730 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=225] ["take time"=7.701645ms] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:running, SchemaState:delete only, SchemaID:304, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.743 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:28.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=145.654µs] [gotSchemaVersion=226] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:28.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=226] [2025/04/05 07:00:28.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=226] ["take time"=7.409097ms] [job="ID:316, Type:drop schema, State:done, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.767 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=316] [tableIDs="[308]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:28.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=316] [jobType="drop schema"] [2025/04/05 07:00:28.773 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=2] [job="ID:316, Type:drop schema, State:synced, SchemaState:none, SchemaID:304, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.788 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/05 07:00:28.789 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=226] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_csv;"] [user=root@%] [2025/04/05 07:00:28.801 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:28.801 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_csv;"] [2025/04/05 07:00:28.806 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:queueing, SchemaState:none, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.820 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=719.618µs] [gotSchemaVersion=227] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:28.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=227] [2025/04/05 07:00:28.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=227] ["take time"=8.126158ms] [job="ID:318, Type:create schema, State:done, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=2] [job="ID:318, Type:create schema, State:synced, SchemaState:public, SchemaID:317, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.845 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/05 07:00:28.846 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=227] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_csv;"] [user=root@%] [2025/04/05 07:00:28.859 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [2025/04/05 07:00:28.859 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:28.865 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:queueing, SchemaState:none, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.870 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 319, Table Name: t)"] [2025/04/05 07:00:28.889 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=2.318225ms] [gotSchemaVersion=228] [phyTblIDs="[319]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:28.893 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=228] [2025/04/05 07:00:28.894 +00:00] [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.768551ms] [job="ID:320, Type:create table, State:done, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:28.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.906 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=2] [job="ID:320, Type:create table, State:synced, SchemaState:public, SchemaID:317, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:28.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:28.919 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/05 07:00:28.919 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=228] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_csv.t (\n\t\ti INT, j JSON,\n\t\tKEY idx ((cast(j as signed array)))\n\t\t);"] [user=root@%] [2025/04/05 07:00:28.926 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:28.976 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load-csv/1.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"skip_rows\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:28.997 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=61] [task-id=61] [data-size=27B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:29.011 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=61] [2025/04/05 07:00:29.011 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:29.114 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:29.115 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:29.117 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [2025/04/05 07:00:29.125 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:29.127 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:29.127 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=27] [2025/04/05 07:00:29.127 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=27] [cost=41.661µs] [2025/04/05 07:00:29.128 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=138.289µs] [] [2025/04/05 07:00:29.128 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:29.128 +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=33] [subtasks=1] [2025/04/05 07:00:29.165 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=61] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:29.186 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/05 07:00:29.186 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:29.195 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:29.195 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:29.195 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:29.195 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:29.195 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:29.195 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:29.195 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:29.196 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:29.196 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:29.196 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:29.209 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:29.210 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:29.210 +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/05 07:00:29.210 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=61] [step=import] [data-buf-limit=186.2MiB] [per-index-buf-limit=62.06MiB] [index-buf-block-size=16MiB] [2025/04/05 07:00:29.210 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=61] [disk-quota=700.7GiB] [2025/04/05 07:00:29.211 +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=33, Mem=16GiB]"] [2025/04/05 07:00:29.219 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [2025/04/05 07:00:29.219 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [2025/04/05 07:00:29.222 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=61] [mode=Import] [2025/04/05 07:00:29.223 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:29.226 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:29.227 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=319] [2025/04/05 07:00:29.246 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=319] [key=1.csv:0] [2025/04/05 07:00:29.247 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=61] [2025/04/05 07:00:29.248 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=319] [key=1.csv:0] [readDur=74.055µs] [encodeDur=470.073µs] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [deliverDur=451.091µs] [type=file] [takeTime=1.265505ms] [] [2025/04/05 07:00:29.249 +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/6b4825ea-c40b-4aba-98db-2c02290ecd41.sst] [firstKey=74800000000000013F5F728000000000000001] [lastKey=74800000000000013F5F728000000000000002] [2025/04/05 07:00:29.249 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 07:00:29.249 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 07:00:29.249 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:29.251 +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.121973ms] [] [2025/04/05 07:00:29.251 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [2025/04/05 07:00:29.256 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:29.278 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] ["region ranges"=1] [count=2] [size=160] [2025/04/05 07:00:29.278 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:29.280 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f728000000000000001] [endOfAllRanges=74800000000000013f5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff3f5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff3f5f728000000000ff0000030000000000fa] [2025/04/05 07:00:29.291 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=1e7b3aaf-1931-5e54-8538-256fb8e461db] [size=160] [kvs=2] [importedSize=160] [importedCount=2] [2025/04/05 07:00:29.293 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [retryCnt=0] [takeTime=41.511817ms] [] [2025/04/05 07:00:29.293 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [2025/04/05 07:00:29.294 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:0] [engineUUID=1e7b3aaf-1931-5e54-8538-256fb8e461db] [takeTime=1.033783ms] [] [2025/04/05 07:00:29.294 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=61] [step=import] [engine-id=0] [2025/04/05 07:00:29.294 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:29.294 +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/c0d22c48-82e0-4c14-bf77-5a9a0d479e7a.sst] [firstKey=74800000000000013F5F698000000000000001038000000000000001038000000000000001] [lastKey=74800000000000013F5F698000000000000001038000000000000004038000000000000002] [2025/04/05 07:00:29.297 +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.655055ms] [] [2025/04/05 07:00:29.297 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [retryCnt=0] [2025/04/05 07:00:29.301 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:29.323 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] ["region ranges"=1] [count=6] [size=228] [2025/04/05 07:00:29.323 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:29.325 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000013f5f698000000000000001038000000000000001038000000000000001] [endOfAllRanges=74800000000000013f5f69800000000000000103800000000000000403800000000000000200] [startKeyOfFirstRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000103800000ff0000000001000000fc] [endKeyOfLastRegion=7480000000000001ff3f5f698000000000ff0000010380000000ff0000000403800000ff0000000002000000fd] [2025/04/05 07:00:29.336 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=922fc444-c86f-5359-8d65-4e59ab5cb948] [size=228] [kvs=6] [importedSize=228] [importedCount=6] [2025/04/05 07:00:29.338 +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.983175ms] [] [2025/04/05 07:00:29.338 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [2025/04/05 07:00:29.339 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_csv`.`t`:-1] [engineUUID=922fc444-c86f-5359-8d65-4e59ab5cb948] [takeTime=1.023617ms] [] [2025/04/05 07:00:29.339 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=import] [subtask-id=115] [takeTime=119.803089ms] [] [2025/04/05 07:00:29.339 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=115] [step=import] [takeTime=119.953245ms] [] [2025/04/05 07:00:29.419 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:29.420 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:29.422 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:29.422 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:29.452 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:29.454 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=61] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:29.454 +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=33] [subtasks=1] [2025/04/05 07:00:29.481 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:29.488 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=61] [step=import] [2025/04/05 07:00:29.493 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:29.493 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:29.493 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:29.493 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:29.493 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:29.493 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:29.493 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:29.493 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:29.493 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:29.493 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-60] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:29.493 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:29.493 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:29.495 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:29.495 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:29.495 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:29.495 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:29.495 +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=33, Mem=16GiB]"] [takeTime=284.786469ms] [] [2025/04/05 07:00:29.497 +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=33, Mem=16GiB]"] [2025/04/05 07:00:29.504 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=post-process] [2025/04/05 07:00:29.505 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 07:00:29.505 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 07:00:29.505 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [2025/04/05 07:00:29.511 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=5.782497ms] [] [2025/04/05 07:00:29.511 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [groupId=-1] [size=160] [kvs=2] [checksum=15615775900203205091] [2025/04/05 07:00:29.511 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [groupId=1] [size=228] [kvs=6] [checksum=15150038536865480860] [2025/04/05 07:00:29.511 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [checksum="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/05 07:00:29.511 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [weight=30] [2025/04/05 07:00:29.511 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [concurrency=15] [2025/04/05 07:00:29.516 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=-1] [checksum=15615775900203205091] [totalKvs=2] [totalBytes=160] [2025/04/05 07:00:29.517 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=319] [physicalTableID=319] [indexID=1] [checksum=15150038536865480860] [totalKvs=6] [totalBytes=228] [2025/04/05 07:00:29.518 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:29.518 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [local="{cksum=759382885805277567,size=388,kvs=8}"] [2025/04/05 07:00:29.518 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=13.19567ms] [] [2025/04/05 07:00:29.518 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=61] [step=post-process] [subtask-id=116] [takeTime=13.349316ms] [] [2025/04/05 07:00:29.518 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=61] [task-type=ImportInto] [server-id=:4000] [subtaskID=116] [step=post-process] [takeTime=13.491544ms] [] [2025/04/05 07:00:29.545 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:29.619 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=61] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:29.619 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=61] [step=post-process] [state=running] [] [2025/04/05 07:00:29.622 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=61] [2025/04/05 07:00:29.639 +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=33, Mem=16GiB]"] [takeTime=142.364553ms] [] [2025/04/05 07:00:29.639 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=61] [type=ImportInto] [2025/04/05 07:00:29.714 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=61] [2025/04/05 07:00:29.720 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:29.720 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=61] [2025/04/05 07:00:29.742 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:29.914 +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.993931032\n# Parse_time: 0.000115202\n# Compile_time: 0.000805023\n# Rewrite_time: 0.000391029\n# Optimize_time: 0.000528827\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5Mi43bXMsIG9wZW46NjU2bnMsIGNsb3NlOjY3MW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5Mi43bXMsIG9wZW46NjU2bnMsIGNsb3NlOjY3MW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.26s) === NAME TestImportInto === RUN TestImportInto/TestOtherCharset [2025/04/05 07:00:29.930 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:29.930 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_charset;"] [2025/04/05 07:00:29.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:queueing, SchemaState:public, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:29.956 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=2.343319ms] [gotSchemaVersion=229] [phyTblIDs="[222,226]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:29.959 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=229] [2025/04/05 07:00:29.961 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=229] ["take time"=10.171347ms] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:29.971 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:write only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:29.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=138.446µs] [gotSchemaVersion=230] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:29.987 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=230] [2025/04/05 07:00:29.989 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=230] ["take time"=7.321037ms] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:29.998 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:running, SchemaState:delete only, SchemaID:218, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.004 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:30.015 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=163.931µs] [gotSchemaVersion=231] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:30.019 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=231] [2025/04/05 07:00:30.021 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=7.402612ms] [job="ID:321, Type:drop schema, State:done, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.031 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[222,226]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:30.036 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop schema"] [2025/04/05 07:00:30.037 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=2] [job="ID:321, Type:drop schema, State:synced, SchemaState:none, SchemaID:218, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:29.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/05 07:00:30.054 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=231] [cur_db=fail_job_after_import] [sql="DROP DATABASE IF EXISTS load_charset;"] [user=root@%] [2025/04/05 07:00:30.067 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:30.067 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_charset;"] [2025/04/05 07:00:30.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:queueing, SchemaState:none, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.090 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=715.217µs] [gotSchemaVersion=232] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:30.094 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=232] [2025/04/05 07:00:30.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=232] ["take time"=11.963021ms] [job="ID:323, Type:create schema, State:done, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.106 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=2] [job="ID:323, Type:create schema, State:synced, SchemaState:public, SchemaID:322, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.116 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/05 07:00:30.116 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=232] [cur_db=fail_job_after_import] [sql="CREATE DATABASE load_charset;"] [user=root@%] [2025/04/05 07:00:30.129 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:30.129 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [2025/04/05 07:00:30.135 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.140 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: utf8)"] [2025/04/05 07:00:30.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.633573ms] [gotSchemaVersion=233] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:30.158 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=233] [2025/04/05 07:00:30.159 +00:00] [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"=8.785633ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.170 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=2] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/05 07:00:30.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=233] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8;"] [user=root@%] [2025/04/05 07:00:30.195 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:30.195 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [2025/04/05 07:00:30.201 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.205 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 326, Table Name: utf8mb4)"] [2025/04/05 07:00:30.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.683297ms] [gotSchemaVersion=234] [phyTblIDs="[326]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:30.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=234] [2025/04/05 07:00:30.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=234] ["take time"=9.150812ms] [job="ID:327, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:30.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.238 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=2] [job="ID:327, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:30.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:30.249 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/05 07:00:30.249 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=234] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.utf8mb4 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET utf8mb4;"] [user=root@%] [2025/04/05 07:00:30.256 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:30.304 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:30.323 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=62] [task-id=62] [data-size=29B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:30.337 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=62] [2025/04/05 07:00:30.337 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:30.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:30.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:30.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [2025/04/05 07:00:30.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:30.451 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8] [2025/04/05 07:00:30.451 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8] [before=536870912000] [after=29] [2025/04/05 07:00:30.451 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=51.73µs] [2025/04/05 07:00:30.451 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8] [takeTime=142.514µs] [] [2025/04/05 07:00:30.451 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:30.451 +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=33] [subtasks=1] [2025/04/05 07:00:30.485 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=62] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:30.505 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/05 07:00:30.505 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:30.513 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:30.513 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:30.514 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:30.514 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:30.514 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:30.514 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:30.514 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:30.514 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:30.515 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:30.515 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:30.527 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:30.529 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:30.529 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8] [quota=752.3GB] [2025/04/05 07:00:30.529 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=62] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:30.529 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8] [import-id=62] [disk-quota=700.7GiB] [2025/04/05 07:00:30.529 +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=33, Mem=16GiB]"] [2025/04/05 07:00:30.537 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [2025/04/05 07:00:30.537 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [2025/04/05 07:00:30.541 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 07:00:30.544 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 07:00:30.545 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=324] [2025/04/05 07:00:30.545 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=62] [mode=Import] [2025/04/05 07:00:30.560 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [2025/04/05 07:00:30.562 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=324] [key=utf8.tsv:0] [readDur=943.453µs] [encodeDur=246.468µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=206.148µs] [type=file] [takeTime=1.654538ms] [] [2025/04/05 07:00:30.562 +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/14d8050b-c2f0-4e0d-b8c3-55b6858b3e15.sst] [firstKey=7480000000000001445F728000000000000001] [lastKey=7480000000000001445F728000000000000002] [2025/04/05 07:00:30.563 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 07:00:30.563 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 07:00:30.563 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 07:00:30.565 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=2.1227ms] [] [2025/04/05 07:00:30.565 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [retryCnt=0] [2025/04/05 07:00:30.568 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=62] [2025/04/05 07:00:30.569 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:30.591 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] ["region ranges"=1] [count=2] [size=88] [2025/04/05 07:00:30.591 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:30.592 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001445f728000000000000001] [endOfAllRanges=7480000000000001445f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff445f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff445f728000000000ff0000030000000000fa] [2025/04/05 07:00:30.604 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=11721d0c-587e-542e-9623-9a54305cb4a0] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/05 07:00:30.605 +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.333951ms] [] [2025/04/05 07:00:30.605 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [2025/04/05 07:00:30.607 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:0] [engineUUID=11721d0c-587e-542e-9623-9a54305cb4a0] [takeTime=1.115342ms] [] [2025/04/05 07:00:30.607 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=62] [step=import] [engine-id=0] [2025/04/05 07:00:30.607 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 07:00:30.608 +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.436261ms] [] [2025/04/05 07:00:30.608 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [retryCnt=0] [2025/04/05 07:00:30.612 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 07:00:30.612 +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.578148ms] [] [2025/04/05 07:00:30.612 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [2025/04/05 07:00:30.613 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8`:-1] [engineUUID=540acf73-6ec3-5b55-85b2-3744f849f236] [takeTime=842.476µs] [] [2025/04/05 07:00:30.613 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=import] [subtask-id=117] [takeTime=75.616945ms] [] [2025/04/05 07:00:30.613 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=117] [step=import] [takeTime=75.767861ms] [] [2025/04/05 07:00:30.644 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:30.645 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:30.646 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:30.646 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:30.675 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:30.676 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=62] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:30.676 +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=33] [subtasks=1] [2025/04/05 07:00:30.696 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:30.703 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=62] [step=import] [2025/04/05 07:00:30.706 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:30.706 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:30.706 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:30.706 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:30.706 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:30.706 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:30.706 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:30.706 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:30.706 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:30.706 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:30.706 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-61] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:30.706 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:30.708 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:30.708 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:30.708 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:30.708 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:30.708 +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=33, Mem=16GiB]"] [takeTime=179.074799ms] [] [2025/04/05 07:00:30.709 +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=33, Mem=16GiB]"] [2025/04/05 07:00:30.716 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=post-process] [2025/04/05 07:00:30.716 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 07:00:30.717 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 07:00:30.717 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [2025/04/05 07:00:30.722 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=5.670011ms] [] [2025/04/05 07:00:30.722 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/05 07:00:30.722 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 07:00:30.722 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [weight=30] [2025/04/05 07:00:30.723 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [concurrency=15] [2025/04/05 07:00:30.724 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=324] [physicalTableID=324] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/05 07:00:30.725 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:30.725 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 07:00:30.725 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=8.452203ms] [] [2025/04/05 07:00:30.725 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=62] [step=post-process] [subtask-id=118] [takeTime=8.579958ms] [] [2025/04/05 07:00:30.725 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=62] [task-type=ImportInto] [server-id=:4000] [subtaskID=118] [step=post-process] [takeTime=8.729407ms] [] [2025/04/05 07:00:30.745 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=62] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:30.745 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=62] [step=post-process] [state=running] [] [2025/04/05 07:00:30.747 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=62] [2025/04/05 07:00:30.751 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:30.771 +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=33, Mem=16GiB]"] [takeTime=61.112821ms] [] [2025/04/05 07:00:30.771 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=62] [type=ImportInto] [2025/04/05 07:00:30.839 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=62] [2025/04/05 07:00:30.845 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:30.845 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=62] [2025/04/05 07:00:30.866 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:30.939 +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.688645263\n# Parse_time: 0.000091994\n# Compile_time: 0.000620178\n# Rewrite_time: 0.000186936\n# Optimize_time: 0.000361933\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ny42bXMsIG9wZW46NTkwbnMsIGNsb3NlOjg1Mm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4Ny42bXMsIG9wZW46NTkwbnMsIGNsb3NlOjg1Mm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`utf8` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/05 07:00:30.947 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:30.994 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"utf8\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:31.012 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=63] [task-id=63] [data-size=29B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:31.026 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=63] [2025/04/05 07:00:31.026 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:31.128 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:31.129 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:31.130 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [2025/04/05 07:00:31.137 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:31.140 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 07:00:31.140 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=29] [2025/04/05 07:00:31.140 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=29] [cost=56.548µs] [2025/04/05 07:00:31.140 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=145.003µs] [] [2025/04/05 07:00:31.140 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:31.140 +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=33] [subtasks=1] [2025/04/05 07:00:31.175 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=63] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:31.195 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/05 07:00:31.195 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:31.204 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:31.204 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:31.204 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:31.204 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:31.205 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:31.205 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:31.205 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:31.205 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:31.205 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:31.205 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:31.218 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:31.219 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:31.219 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=752.3GB] [2025/04/05 07:00:31.219 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=63] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:31.219 +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=33, Mem=16GiB]"] [2025/04/05 07:00:31.219 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=63] [disk-quota=700.7GiB] [2025/04/05 07:00:31.227 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [2025/04/05 07:00:31.227 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [2025/04/05 07:00:31.231 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:31.234 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:31.234 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=326] [2025/04/05 07:00:31.234 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=63] [mode=Import] [2025/04/05 07:00:31.253 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=63] [2025/04/05 07:00:31.268 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [2025/04/05 07:00:31.270 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=326] [key=utf8.tsv:0] [readDur=948.285µs] [encodeDur=356.545µs] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [deliverDur=197.601µs] [type=file] [takeTime=1.713828ms] [] [2025/04/05 07:00:31.270 +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/128dede0-bead-4dc9-8e4f-d42317e508c2.sst] [firstKey=7480000000000001465F728000000000000001] [lastKey=7480000000000001465F728000000000000002] [2025/04/05 07:00:31.270 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 07:00:31.270 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 07:00:31.270 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:31.272 +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.802687ms] [] [2025/04/05 07:00:31.272 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 07:00:31.277 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:31.298 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=88] [2025/04/05 07:00:31.299 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:31.300 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001465f728000000000000001] [endOfAllRanges=7480000000000001465f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff465f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff465f728000000000ff0000030000000000fa] [2025/04/05 07:00:31.312 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=88] [kvs=2] [importedSize=88] [importedCount=2] [2025/04/05 07:00:31.313 +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.731264ms] [] [2025/04/05 07:00:31.313 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:31.314 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.160673ms] [] [2025/04/05 07:00:31.314 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=63] [step=import] [engine-id=0] [2025/04/05 07:00:31.315 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:31.316 +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.536599ms] [] [2025/04/05 07:00:31.316 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 07:00:31.320 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:31.320 +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.641676ms] [] [2025/04/05 07:00:31.320 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:31.321 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=944.659µs] [] [2025/04/05 07:00:31.321 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=import] [subtask-id=119] [takeTime=93.762534ms] [] [2025/04/05 07:00:31.321 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=119] [step=import] [takeTime=93.928529ms] [] [2025/04/05 07:00:31.333 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:31.334 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:31.335 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:31.335 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:31.365 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:31.366 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=63] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:31.366 +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=33] [subtasks=1] [2025/04/05 07:00:31.387 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:31.394 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=63] [step=import] [2025/04/05 07:00:31.397 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:31.397 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:31.397 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:31.397 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:31.397 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:31.397 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:31.397 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:31.397 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:31.397 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:31.397 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-62] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:31.397 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:31.397 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:31.400 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:31.400 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:31.400 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:31.400 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:31.400 +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=33, Mem=16GiB]"] [takeTime=180.280392ms] [] [2025/04/05 07:00:31.401 +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=33, Mem=16GiB]"] [2025/04/05 07:00:31.408 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=post-process] [2025/04/05 07:00:31.408 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 07:00:31.408 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 07:00:31.408 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [2025/04/05 07:00:31.415 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=6.001427ms] [] [2025/04/05 07:00:31.415 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [groupId=-1] [size=88] [kvs=2] [checksum=13472460632354338593] [2025/04/05 07:00:31.415 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [checksum="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 07:00:31.415 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [weight=30] [2025/04/05 07:00:31.415 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [concurrency=15] [2025/04/05 07:00:31.417 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=326] [physicalTableID=326] [indexID=-1] [checksum=13472460632354338593] [totalKvs=2] [totalBytes=88] [2025/04/05 07:00:31.417 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:31.417 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [local="{cksum=13472460632354338593,size=88,kvs=2}"] [2025/04/05 07:00:31.417 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=8.667519ms] [] [2025/04/05 07:00:31.417 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=63] [step=post-process] [subtask-id=120] [takeTime=8.80297ms] [] [2025/04/05 07:00:31.417 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=63] [task-type=ImportInto] [server-id=:4000] [subtaskID=120] [step=post-process] [takeTime=8.942724ms] [] [2025/04/05 07:00:31.433 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=63] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:31.433 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=63] [step=post-process] [state=running] [] [2025/04/05 07:00:31.435 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=63] [2025/04/05 07:00:31.442 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:31.463 +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=33, Mem=16GiB]"] [takeTime=61.723393ms] [] [2025/04/05 07:00:31.463 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=63] [type=ImportInto] [2025/04/05 07:00:31.528 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=63] [2025/04/05 07:00:31.645 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:31.645 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=63] [2025/04/05 07:00:31.665 +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.723235478\n# Parse_time: 0.000094069\n# Compile_time: 0.000524635\n# Rewrite_time: 0.000157125\n# Optimize_time: 0.000243212\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjcyMi4zbXMsIG9wZW46NjgwbnMsIGNsb3NlOjUxOW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjcyMi4zbXMsIG9wZW46NjgwbnMsIGNsb3NlOjUxOW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/utf8.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'utf8';"] [2025/04/05 07:00:31.671 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:31.683 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:31.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [2025/04/05 07:00:31.683 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:31.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:31.689 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:31.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:31.694 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 328, Table Name: latin1)"] [2025/04/05 07:00:31.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.843669ms] [gotSchemaVersion=235] [phyTblIDs="[328]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:31.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=235] [2025/04/05 07:00:31.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=235] ["take time"=9.875912ms] [job="ID:329, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:31.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:31.727 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=2] [job="ID:329, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:31.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:31.739 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/05 07:00:31.739 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=235] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.latin1 (\n\t\ti INT, j VARCHAR(255)\n\t\t) CHARACTER SET latin1;"] [user=root@%] [2025/04/05 07:00:31.747 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:31.798 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:31.819 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=64] [task-id=64] [data-size=13B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:31.834 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=64] [2025/04/05 07:00:31.834 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:31.937 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:31.938 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:31.939 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [2025/04/05 07:00:31.947 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:31.950 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=latin1] [2025/04/05 07:00:31.950 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=latin1] [before=536870912000] [after=13] [2025/04/05 07:00:31.950 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=latin1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=53.655µs] [2025/04/05 07:00:31.950 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=latin1] [takeTime=161.346µs] [] [2025/04/05 07:00:31.950 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:31.950 +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=33] [subtasks=1] [2025/04/05 07:00:31.985 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:32.005 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/05 07:00:32.005 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:32.014 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:32.014 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:32.015 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:32.015 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:32.015 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:32.015 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:32.015 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:32.015 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:32.016 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:32.016 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:32.029 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:32.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/05 07:00:32.031 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=latin1] [quota=752.3GB] [2025/04/05 07:00:32.031 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=64] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:32.031 +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=33, Mem=16GiB]"] [2025/04/05 07:00:32.031 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=latin1] [import-id=64] [disk-quota=700.7GiB] [2025/04/05 07:00:32.039 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [2025/04/05 07:00:32.039 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [2025/04/05 07:00:32.042 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=64] [mode=Import] [2025/04/05 07:00:32.043 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 07:00:32.046 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 07:00:32.047 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=328] [2025/04/05 07:00:32.061 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=64] [2025/04/05 07:00:32.087 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [2025/04/05 07:00:32.090 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=328] [key=latin1.tsv:0] [readDur=1.224535ms] [encodeDur=387.738µs] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [deliverDur=275.238µs] [type=file] [takeTime=2.303412ms] [] [2025/04/05 07:00:32.091 +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/211d261b-682b-4b23-bccc-6f46ab62ac94.sst] [firstKey=7480000000000001485F728000000000000001] [lastKey=7480000000000001485F728000000000000002] [2025/04/05 07:00:32.091 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 07:00:32.091 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 07:00:32.091 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 07:00:32.093 +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.118699ms] [] [2025/04/05 07:00:32.093 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [2025/04/05 07:00:32.097 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:32.119 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] ["region ranges"=1] [count=2] [size=84] [2025/04/05 07:00:32.120 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:32.121 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001485f728000000000000001] [endOfAllRanges=7480000000000001485f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff485f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff485f728000000000ff0000030000000000fa] [2025/04/05 07:00:32.133 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ece7d91b-221a-5440-8076-d026d7718798] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/05 07:00:32.135 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [retryCnt=0] [takeTime=41.796577ms] [] [2025/04/05 07:00:32.135 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [2025/04/05 07:00:32.136 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:0] [engineUUID=ece7d91b-221a-5440-8076-d026d7718798] [takeTime=1.039166ms] [] [2025/04/05 07:00:32.136 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=64] [step=import] [engine-id=0] [2025/04/05 07:00:32.136 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 07:00:32.138 +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.626168ms] [] [2025/04/05 07:00:32.138 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [retryCnt=0] [2025/04/05 07:00:32.142 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 07:00:32.142 +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.703358ms] [] [2025/04/05 07:00:32.142 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [2025/04/05 07:00:32.143 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`latin1`:-1] [engineUUID=1774e91d-7263-56a9-bdea-f7aa1943b8e4] [takeTime=909.101µs] [] [2025/04/05 07:00:32.143 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=import] [subtask-id=121] [takeTime=103.800869ms] [] [2025/04/05 07:00:32.143 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=121] [step=import] [takeTime=103.980674ms] [] [2025/04/05 07:00:32.241 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:32.243 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:32.244 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:32.244 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:32.274 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:32.275 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=64] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:32.275 +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=33] [subtasks=1] [2025/04/05 07:00:32.297 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:32.297 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=64] [step=import] [2025/04/05 07:00:32.300 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:32.300 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:32.300 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:32.300 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:32.300 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:32.300 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:32.300 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:32.300 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:32.300 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:32.300 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-63] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:32.300 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:32.300 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:32.303 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:32.303 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:32.303 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:32.303 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:32.303 +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=33, Mem=16GiB]"] [takeTime=271.655353ms] [] [2025/04/05 07:00:32.303 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/05 07:00:32.315 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=64] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:32.335 +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=33, Mem=16GiB]"] [2025/04/05 07:00:32.342 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=post-process] [2025/04/05 07:00:32.343 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 07:00:32.343 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 07:00:32.343 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [2025/04/05 07:00:32.349 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=5.864593ms] [] [2025/04/05 07:00:32.349 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [groupId=-1] [size=84] [kvs=2] [checksum=3436636415173179895] [2025/04/05 07:00:32.349 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [checksum="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/05 07:00:32.349 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [weight=30] [2025/04/05 07:00:32.349 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [concurrency=15] [2025/04/05 07:00:32.351 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=328] [physicalTableID=328] [indexID=-1] [checksum=3436636415173179895] [totalKvs=2] [totalBytes=84] [2025/04/05 07:00:32.351 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:32.351 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [local="{cksum=3436636415173179895,size=84,kvs=2}"] [2025/04/05 07:00:32.351 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.57425ms] [] [2025/04/05 07:00:32.351 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=64] [step=post-process] [subtask-id=122] [takeTime=8.731999ms] [] [2025/04/05 07:00:32.351 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=64] [task-type=ImportInto] [server-id=:4000] [subtaskID=122] [step=post-process] [takeTime=8.872112ms] [] [2025/04/05 07:00:32.382 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:32.441 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=64] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:32.441 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=64] [step=post-process] [state=running] [] [2025/04/05 07:00:32.444 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=64] [2025/04/05 07:00:32.472 +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=33, Mem=16GiB]"] [takeTime=137.456064ms] [] [2025/04/05 07:00:32.472 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=64] [type=ImportInto] [2025/04/05 07:00:32.537 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=64] [2025/04/05 07:00:32.543 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:32.543 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=64] [2025/04/05 07:00:32.563 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:32.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.996487487\n# Parse_time: 0.000097389\n# Compile_time: 0.000674839\n# Rewrite_time: 0.00021254\n# Optimize_time: 0.000320906\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NS40bXMsIG9wZW46NzIzbnMsIGNsb3NlOjgxNG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5NS40bXMsIG9wZW46NzIzbnMsIGNsb3NlOjgxNG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`latin1` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/05 07:00:32.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:32.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="TRUNCATE TABLE load_charset.utf8mb4;"] [2025/04/05 07:00:32.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:queueing, SchemaState:none, SchemaID:322, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:32.767 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 330, Table Name: utf8mb4, Old Table ID: 326, Old Table Name: utf8mb4)"] [2025/04/05 07:00:32.784 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.789619ms] [gotSchemaVersion=236] [phyTblIDs="[326,330]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:32.788 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=236] [2025/04/05 07:00:32.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=236] ["take time"=9.339481ms] [job="ID:331, Type:truncate table, State:done, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:32.800 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/05 07:00:32.805 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="truncate table"] [2025/04/05 07:00:32.806 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=2] [job="ID:331, Type:truncate table, State:synced, SchemaState:public, SchemaID:322, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:32.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:32.825 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/05 07:00:32.825 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=236] [cur_db=fail_job_after_import] [sql="TRUNCATE TABLE load_charset.utf8mb4;"] [user=root@%] [2025/04/05 07:00:32.832 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:32.883 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"latin1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:32.904 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=65] [task-id=65] [data-size=13B] [thread-cnt=33] [global-sort=false] [2025/04/05 07:00:32.922 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=65] [2025/04/05 07:00:32.922 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=33] [2025/04/05 07:00:33.025 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:33.026 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:33.027 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [2025/04/05 07:00:33.034 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:33.037 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=utf8mb4] [2025/04/05 07:00:33.037 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=utf8mb4] [before=536870912000] [after=13] [2025/04/05 07:00:33.037 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=utf8mb4] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=13] [cost=58.753µs] [2025/04/05 07:00:33.038 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=utf8mb4] [takeTime=197.097µs] [] [2025/04/05 07:00:33.038 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:33.038 +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=33] [subtasks=1] [2025/04/05 07:00:33.075 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:33.095 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/05 07:00:33.096 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:33.104 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:33.104 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:33.105 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:33.105 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:33.105 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:33.105 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:33.105 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:33.105 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:33.105 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:33.106 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:33.118 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:33.120 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:33.120 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=utf8mb4] [quota=752.3GB] [2025/04/05 07:00:33.120 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=65] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:33.120 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=utf8mb4] [import-id=65] [disk-quota=700.7GiB] [2025/04/05 07:00:33.120 +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=33, Mem=16GiB]"] [2025/04/05 07:00:33.128 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=import] [2025/04/05 07:00:33.128 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [2025/04/05 07:00:33.131 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=65] [mode=Import] [2025/04/05 07:00:33.132 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:33.135 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:33.136 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=330] [2025/04/05 07:00:33.150 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=65] [2025/04/05 07:00:33.176 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [2025/04/05 07:00:33.178 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=330] [key=latin1.tsv:0] [readDur=973.667µs] [encodeDur=346.906µs] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [deliverDur=266.23µs] [type=file] [takeTime=1.864699ms] [] [2025/04/05 07:00:33.179 +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/3430ed4d-813e-42b5-bbf7-313670558dc8.sst] [firstKey=74800000000000014A5F728000000000000001] [lastKey=74800000000000014A5F728000000000000002] [2025/04/05 07:00:33.179 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 07:00:33.179 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 07:00:33.179 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:33.181 +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.255367ms] [] [2025/04/05 07:00:33.181 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [2025/04/05 07:00:33.185 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:33.207 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] ["region ranges"=1] [count=2] [size=84] [2025/04/05 07:00:33.207 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:33.209 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014a5f728000000000000001] [endOfAllRanges=74800000000000014a5f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff4a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4a5f728000000000ff0000030000000000fa] [2025/04/05 07:00:33.221 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [size=84] [kvs=2] [importedSize=84] [importedCount=2] [2025/04/05 07:00:33.223 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [retryCnt=0] [takeTime=41.170547ms] [] [2025/04/05 07:00:33.223 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [2025/04/05 07:00:33.224 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:0] [engineUUID=26744e53-a2fb-5b15-b0f8-1a4e2c7f2f9b] [takeTime=1.128549ms] [] [2025/04/05 07:00:33.224 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=65] [step=import] [engine-id=0] [2025/04/05 07:00:33.224 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:33.225 +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.511003ms] [] [2025/04/05 07:00:33.226 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [retryCnt=0] [2025/04/05 07:00:33.230 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:33.230 +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=4.153327ms] [] [2025/04/05 07:00:33.230 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [2025/04/05 07:00:33.231 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`utf8mb4`:-1] [engineUUID=e89504af-26b5-5340-ae2e-218c1dc24988] [takeTime=1.045768ms] [] [2025/04/05 07:00:33.231 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=import] [subtask-id=123] [takeTime=102.961216ms] [] [2025/04/05 07:00:33.231 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=123] [step=import] [takeTime=103.128888ms] [] [2025/04/05 07:00:33.330 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:33.331 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:33.332 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:33.332 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:33.363 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:33.364 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=65] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:33.364 +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=33] [subtasks=1] [2025/04/05 07:00:33.386 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:33.386 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=65] [step=import] [2025/04/05 07:00:33.389 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:33.389 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:33.389 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:33.389 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:33.389 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:33.389 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:33.389 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:33.389 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:33.389 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:33.389 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:33.389 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-64] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:33.389 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:33.392 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:33.392 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:33.392 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:33.392 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:33.392 +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=33, Mem=16GiB]"] [takeTime=271.947177ms] [] [2025/04/05 07:00:33.392 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/05 07:00:33.395 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=65] [type=ImportInto] [concurrency=33] [remaining-slots=33] [2025/04/05 07:00:33.415 +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=33, Mem=16GiB]"] [2025/04/05 07:00:33.423 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=post-process] [2025/04/05 07:00:33.423 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 07:00:33.423 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 07:00:33.423 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [2025/04/05 07:00:33.429 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=6.058792ms] [] [2025/04/05 07:00:33.429 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [groupId=-1] [size=84] [kvs=2] [checksum=383903096968287332] [2025/04/05 07:00:33.429 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [checksum="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/05 07:00:33.429 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [weight=30] [2025/04/05 07:00:33.429 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [concurrency=15] [2025/04/05 07:00:33.431 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=330] [physicalTableID=330] [indexID=-1] [checksum=383903096968287332] [totalKvs=2] [totalBytes=84] [2025/04/05 07:00:33.432 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:33.432 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [local="{cksum=383903096968287332,size=84,kvs=2}"] [2025/04/05 07:00:33.432 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.695308ms] [] [2025/04/05 07:00:33.432 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=65] [step=post-process] [subtask-id=124] [takeTime=8.837853ms] [] [2025/04/05 07:00:33.432 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=65] [task-type=ImportInto] [server-id=:4000] [subtaskID=124] [step=post-process] [takeTime=8.977046ms] [] [2025/04/05 07:00:33.462 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:33.529 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=65] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:33.529 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=65] [step=post-process] [state=running] [] [2025/04/05 07:00:33.532 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=65] [2025/04/05 07:00:33.552 +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=33, Mem=16GiB]"] [takeTime=136.28604ms] [] [2025/04/05 07:00:33.552 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=65] [type=ImportInto] [2025/04/05 07:00:33.624 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=65] [2025/04/05 07:00:33.630 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:33.630 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=65] [2025/04/05 07:00:33.652 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:33.822 +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.99609177\n# Parse_time: 0.000096722\n# Compile_time: 0.000719417\n# Rewrite_time: 0.000263646\n# Optimize_time: 0.000266243\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('RvBFMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5NW1zLCBvcGVuOjg4NG5zLCBjbG9zZTo4NTVucywgbG9vcHM6MglOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWix0aW1lOjk5NW1zLCBvcGVuOjg4NG5zLCBjbG9zZTo4NTVucywgbG9vcHM6MnD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`utf8mb4` FROM 'gs://test-load/latin1.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'latin1';"] [2025/04/05 07:00:33.839 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:33.839 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [2025/04/05 07:00:33.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.850 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: ascii)"] [2025/04/05 07:00:33.865 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.792488ms] [gotSchemaVersion=237] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:33.869 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=237] [2025/04/05 07:00:33.871 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=237] ["take time"=9.777053ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.884 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=2] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:33.803 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.892 +00:00] [INFO] [slots.go:207] ["update slot capacity"] [old=66] [new=16] [2025/04/05 07:00:33.896 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/05 07:00:33.896 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=237] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.ascii (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET ascii;"] [user=root@%] [2025/04/05 07:00:33.909 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:33.909 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [2025/04/05 07:00:33.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:queueing, SchemaState:none, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.920 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 334, Table Name: binary)"] [2025/04/05 07:00:33.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=1.573751ms] [gotSchemaVersion=238] [phyTblIDs="[334]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:33.938 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=238] [2025/04/05 07:00:33.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=238] ["take time"=9.120975ms] [job="ID:335, Type:create table, State:done, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.951 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=2] [job="ID:335, Type:create table, State:synced, SchemaState:public, SchemaID:322, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:33.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:33.962 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/05 07:00:33.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=238] [cur_db=fail_job_after_import] [sql="CREATE TABLE load_charset.binary (\n\t\tj VARCHAR(255)\n\t\t) CHARACTER SET binary;"] [user=root@%] [2025/04/05 07:00:33.969 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:34.016 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"ascii\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:34.035 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=66] [task-id=66] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:34.049 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=66] [2025/04/05 07:00:34.049 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:34.151 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:34.152 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:34.153 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [2025/04/05 07:00:34.160 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:34.163 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=ascii] [2025/04/05 07:00:34.163 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=ascii] [before=536870912000] [after=8] [2025/04/05 07:00:34.163 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=ascii] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=42.898µs] [2025/04/05 07:00:34.163 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=ascii] [takeTime=137.654µs] [] [2025/04/05 07:00:34.163 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:34.163 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:34.195 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:34.215 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/05 07:00:34.215 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:34.224 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:34.224 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:34.224 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:34.224 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:34.224 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:34.224 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:34.224 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:34.225 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:34.225 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:34.225 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:34.238 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:34.240 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:34.240 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=ascii] [quota=752.3GB] [2025/04/05 07:00:34.240 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=66] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:34.240 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:34.240 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=ascii] [import-id=66] [disk-quota=700.7GiB] [2025/04/05 07:00:34.248 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=import] [2025/04/05 07:00:34.248 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [2025/04/05 07:00:34.251 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 07:00:34.255 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 07:00:34.255 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=332] [2025/04/05 07:00:34.259 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=66] [mode=Import] [2025/04/05 07:00:34.278 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=66] [2025/04/05 07:00:34.295 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [2025/04/05 07:00:34.297 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=332] [key=ascii.tsv:0] [readDur=1.010891ms] [encodeDur=364.849µs] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [deliverDur=286.601µs] [type=file] [takeTime=1.965005ms] [] [2025/04/05 07:00:34.298 +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/1225638a-baa8-4e0d-aff4-21ffa41ed0d5.sst] [firstKey=74800000000000014C5F728000000000000001] [lastKey=74800000000000014C5F728000000000000001] [2025/04/05 07:00:34.298 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 07:00:34.298 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 07:00:34.298 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 07:00:34.300 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.937307ms] [] [2025/04/05 07:00:34.300 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [2025/04/05 07:00:34.304 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:34.325 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] ["region ranges"=1] [count=1] [size=36] [2025/04/05 07:00:34.326 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:34.327 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014c5f728000000000000001] [endOfAllRanges=74800000000000014c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4c5f728000000000ff0000020000000000fa] [2025/04/05 07:00:34.339 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 07:00:34.340 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [retryCnt=0] [takeTime=40.528094ms] [] [2025/04/05 07:00:34.340 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [2025/04/05 07:00:34.342 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:0] [engineUUID=61de7867-b9cf-5cd3-9fcf-c962f48b2a45] [takeTime=1.023272ms] [] [2025/04/05 07:00:34.342 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=66] [step=import] [engine-id=0] [2025/04/05 07:00:34.342 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 07:00:34.343 +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.523248ms] [] [2025/04/05 07:00:34.343 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [retryCnt=0] [2025/04/05 07:00:34.347 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 07:00:34.347 +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.560147ms] [] [2025/04/05 07:00:34.347 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [2025/04/05 07:00:34.348 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`ascii`:-1] [engineUUID=1d3da499-4436-588e-b459-bd258b3acd6f] [takeTime=868.277µs] [] [2025/04/05 07:00:34.348 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=import] [subtask-id=125] [takeTime=100.241435ms] [] [2025/04/05 07:00:34.349 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=125] [step=import] [takeTime=101.554777ms] [] [2025/04/05 07:00:34.457 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:34.457 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:34.458 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:34.458 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:34.488 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:34.489 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=66] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:34.489 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:34.496 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:34.496 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=66] [step=import] [2025/04/05 07:00:34.499 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:34.499 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:34.499 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:34.499 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:34.499 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:34.499 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:34.499 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:34.500 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:34.499 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-65] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:34.500 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:34.500 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:34.500 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:34.502 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:34.502 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:34.502 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:34.502 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:34.502 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=261.838199ms] [] [2025/04/05 07:00:34.502 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/05 07:00:34.526 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=66] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:34.545 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:34.553 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=post-process] [2025/04/05 07:00:34.553 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 07:00:34.553 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 07:00:34.553 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [2025/04/05 07:00:34.559 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=6.195583ms] [] [2025/04/05 07:00:34.559 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [groupId=-1] [size=36] [kvs=1] [checksum=14561097866271024819] [2025/04/05 07:00:34.559 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [checksum="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/05 07:00:34.559 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [weight=30] [2025/04/05 07:00:34.559 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [concurrency=15] [2025/04/05 07:00:34.561 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=332] [physicalTableID=332] [indexID=-1] [checksum=14561097866271024819] [totalKvs=1] [totalBytes=36] [2025/04/05 07:00:34.562 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:34.562 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [local="{cksum=14561097866271024819,size=36,kvs=1}"] [2025/04/05 07:00:34.562 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=9.045067ms] [] [2025/04/05 07:00:34.562 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=66] [step=post-process] [subtask-id=126] [takeTime=9.201719ms] [] [2025/04/05 07:00:34.562 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [subtaskID=126] [step=post-process] [takeTime=9.354755ms] [] [2025/04/05 07:00:34.587 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:34.656 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=66] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:34.656 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=66] [step=post-process] [state=running] [] [2025/04/05 07:00:34.659 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=66] [2025/04/05 07:00:34.680 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=66] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=134.981713ms] [] [2025/04/05 07:00:34.680 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=66] [type=ImportInto] [2025/04/05 07:00:34.751 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=66] [2025/04/05 07:00:34.757 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:34.757 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=66] [2025/04/05 07:00:34.777 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:34.953 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# User@Host: root[root] @ localhost [localhost]\n# Conn_ID: 2\n# Query_time: 0.989878651\n# Parse_time: 0.000089234\n# Compile_time: 0.000546543\n# Rewrite_time: 0.000155164\n# Optimize_time: 0.000258524\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4OW1zLCBvcGVuOjY0NG5zLCBjbG9zZToxLjEzwrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4OW1zLCBvcGVuOjY0NG5zLCBjbG9zZToxLjEzwrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_charset`.`ascii` FROM 'gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH character_set=_UTF8MB4'ascii';"] [2025/04/05 07:00:34.965 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:35.018 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/ascii.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"character_set\":\"binary\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:35.038 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=67] [task-id=67] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:35.053 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=67] [2025/04/05 07:00:35.053 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:35.155 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:35.156 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:35.158 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [2025/04/05 07:00:35.166 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:35.169 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=binary] [2025/04/05 07:00:35.169 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=binary] [before=536870912000] [after=8] [2025/04/05 07:00:35.169 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=binary] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=45.511µs] [2025/04/05 07:00:35.169 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=binary] [takeTime=141.8µs] [] [2025/04/05 07:00:35.169 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:35.169 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:35.206 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=67] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:35.225 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/05 07:00:35.226 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:35.234 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:35.234 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:35.234 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:35.234 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:35.235 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:35.235 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:35.235 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:35.235 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:35.235 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:35.235 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:35.249 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:35.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/05 07:00:35.250 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=binary] [quota=752.3GB] [2025/04/05 07:00:35.250 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=67] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:35.251 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:35.251 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=binary] [import-id=67] [disk-quota=700.7GiB] [2025/04/05 07:00:35.259 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [2025/04/05 07:00:35.259 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [2025/04/05 07:00:35.262 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=67] [mode=Import] [2025/04/05 07:00:35.262 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 07:00:35.266 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 07:00:35.266 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=334] [2025/04/05 07:00:35.281 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=67] [2025/04/05 07:00:35.289 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [2025/04/05 07:00:35.292 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=334] [key=ascii.tsv:0] [readDur=1.095506ms] [encodeDur=422.702µs] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [deliverDur=290.316µs] [type=file] [takeTime=2.19147ms] [] [2025/04/05 07:00:35.292 +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/78d22124-a1d9-4fc6-b04c-bac48b131d4d.sst] [firstKey=74800000000000014E5F728000000000000001] [lastKey=74800000000000014E5F728000000000000001] [2025/04/05 07:00:35.292 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 07:00:35.292 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 07:00:35.293 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 07:00:35.295 +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.112887ms] [] [2025/04/05 07:00:35.295 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [retryCnt=0] [2025/04/05 07:00:35.299 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:35.321 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] ["region ranges"=1] [count=1] [size=36] [2025/04/05 07:00:35.321 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:35.323 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000014e5f728000000000000001] [endOfAllRanges=74800000000000014e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff4e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff4e5f728000000000ff0000020000000000fa] [2025/04/05 07:00:35.334 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 07:00:35.336 +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=41.244075ms] [] [2025/04/05 07:00:35.336 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [2025/04/05 07:00:35.337 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:0] [engineUUID=e8c1bd97-5d12-591a-8a3b-5cf4944c05d0] [takeTime=1.050706ms] [] [2025/04/05 07:00:35.337 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=67] [step=import] [engine-id=0] [2025/04/05 07:00:35.337 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 07:00:35.339 +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.586819ms] [] [2025/04/05 07:00:35.339 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [retryCnt=0] [2025/04/05 07:00:35.343 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 07:00:35.343 +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.985007ms] [] [2025/04/05 07:00:35.343 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [2025/04/05 07:00:35.344 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_charset`.`binary`:-1] [engineUUID=c21efbc9-e882-5dfc-a7f3-0ea273c2903c] [takeTime=980.229µs] [] [2025/04/05 07:00:35.344 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=import] [subtask-id=127] [takeTime=85.548594ms] [] [2025/04/05 07:00:35.344 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=127] [step=import] [takeTime=85.685285ms] [] [2025/04/05 07:00:35.360 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:35.361 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:35.362 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:35.362 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:35.395 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:35.396 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=67] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:35.396 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:35.431 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:35.438 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=67] [step=import] [2025/04/05 07:00:35.440 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:35.440 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:35.440 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:35.440 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:35.440 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:35.440 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:35.440 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:35.441 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:35.441 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:35.440 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-66] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:35.441 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:35.441 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:35.443 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:35.443 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:35.443 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:35.443 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:35.443 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=192.861893ms] [] [2025/04/05 07:00:35.444 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:35.452 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [2025/04/05 07:00:35.452 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 07:00:35.453 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 07:00:35.453 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [2025/04/05 07:00:35.460 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=7.026148ms] [] [2025/04/05 07:00:35.460 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [groupId=-1] [size=36] [kvs=1] [checksum=12243767325807307949] [2025/04/05 07:00:35.460 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [checksum="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/05 07:00:35.460 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [weight=30] [2025/04/05 07:00:35.460 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [concurrency=15] [2025/04/05 07:00:35.462 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=334] [physicalTableID=334] [indexID=-1] [checksum=12243767325807307949] [totalKvs=1] [totalBytes=36] [2025/04/05 07:00:35.462 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:35.462 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [local="{cksum=12243767325807307949,size=36,kvs=1}"] [2025/04/05 07:00:35.463 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=9.950498ms] [] [2025/04/05 07:00:35.463 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=67] [step=post-process] [subtask-id=128] [takeTime=10.096344ms] [] [2025/04/05 07:00:35.464 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [subtaskID=128] [step=post-process] [takeTime=11.679618ms] [] [2025/04/05 07:00:35.490 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:35.560 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=67] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:35.560 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=67] [step=post-process] [state=running] [] [2025/04/05 07:00:35.562 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=67] [2025/04/05 07:00:35.587 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=67] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=142.580485ms] [] [2025/04/05 07:00:35.587 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=67] [type=ImportInto] [2025/04/05 07:00:35.654 +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.696892266\n# Parse_time: 0.000421295\n# Compile_time: 0.000745197\n# Rewrite_time: 0.000201045\n# Optimize_time: 0.000270158\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5NS40bXMsIG9wZW46ODEzbnMsIGNsb3NlOjYxNW5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5NS40bXMsIG9wZW46ODEzbnMsIGNsb3NlOjYxNW5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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';"] [2025/04/05 07:00:35.655 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=67] --- PASS: TestImportInto/TestOtherCharset (5.74s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckCDCPiTRTasks [2025/04/05 07:00:35.661 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:35.661 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=67] [2025/04/05 07:00:35.671 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:35.671 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 07:00:35.676 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:queueing, SchemaState:public, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.682 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:35.695 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=1.854437ms] [gotSchemaVersion=239] [phyTblIDs="[293]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:35.698 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=239] [2025/04/05 07:00:35.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=239] ["take time"=9.621171ms] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.711 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:write only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.724 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=155.688µs] [gotSchemaVersion=240] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:35.727 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=240] [2025/04/05 07:00:35.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=240] ["take time"=7.717896ms] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.737 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:running, SchemaState:delete only, SchemaID:289, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.743 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:35.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=152.504µs] [gotSchemaVersion=241] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:35.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=336] [version=241] [2025/04/05 07:00:35.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=241] ["take time"=7.417024ms] [job="ID:336, Type:drop schema, State:done, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.767 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=336] [tableIDs="[293]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:35.772 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=336] [jobType="drop schema"] [2025/04/05 07:00:35.773 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=336] [conn=2] [job="ID:336, Type:drop schema, State:synced, SchemaState:none, SchemaID:289, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.792 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=336] [2025/04/05 07:00:35.792 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=241] [cur_db=fail_job_after_import] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 07:00:35.804 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:35.804 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 07:00:35.809 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:queueing, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.824 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=736.603µs] [gotSchemaVersion=242] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:35.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=242] [2025/04/05 07:00:35.829 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=242] ["take time"=8.428352ms] [job="ID:338, Type:create schema, State:done, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.840 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=2] [job="ID:338, Type:create schema, State:synced, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.753 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.850 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/05 07:00:35.850 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=fail_job_after_import] [sql="create database load_data"] [user=root@%] [2025/04/05 07:00:35.852 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=242] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:35.865 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 07:00:35.865 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:35.871 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.875 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t)"] [2025/04/05 07:00:35.892 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=1.983481ms] [gotSchemaVersion=243] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:35.895 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=243] [2025/04/05 07:00:35.897 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=243] ["take time"=9.58833ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.909 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=2] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/05 07:00:35.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=243] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:35.935 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:35.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table dst (a bigint primary key, b varchar(100), c int);"] [2025/04/05 07:00:35.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.945 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: dst)"] [2025/04/05 07:00:35.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.761868ms] [gotSchemaVersion=244] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:35.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=244] [2025/04/05 07:00:35.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=244] ["take time"=8.835322ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.978 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=2] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:337, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/05 07:00:35.990 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=load_data] [sql="create table dst (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:35.997 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Add(dummy-task)] [2025/04/05 07:00:35.997 +00:00] [INFO] [db.go:135] ["inc log backup task"] [count=1] [2025/04/05 07:00:35.997 +00:00] [INFO] [advancer.go:430] ["get global checkpoint"] [checkpoint=0] [2025/04/05 07:00:36.000 +00:00] [INFO] [advancer.go:436] ["added event"] [task="name:\"dummy-task\" "] [ranges={}] [current-checkpoint=18446744073709551615] [2025/04/05 07:00:36.000 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 07:00:36.001 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:36.002 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 07:00:36.003 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Pause(dummy-task)] [2025/04/05 07:00:36.017 +00:00] [ERROR] [precheck_test.go:103] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:103\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:36.023 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:36.068 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"disable_precheck\":null}}"] [dist-task-enabled=true] [2025/04/05 07:00:36.088 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=68] [task-id=68] [data-size=10B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:36.102 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=68] [2025/04/05 07:00:36.102 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:36.204 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:36.206 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:36.207 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [2025/04/05 07:00:36.215 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:36.218 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t] [2025/04/05 07:00:36.218 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t] [before=536870912000] [after=10] [2025/04/05 07:00:36.218 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=10] [cost=46.85µs] [2025/04/05 07:00:36.218 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t] [takeTime=146.945µs] [] [2025/04/05 07:00:36.218 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:36.218 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:36.255 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=68] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:36.275 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/05 07:00:36.275 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:36.283 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:36.283 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:36.284 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:36.284 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:36.284 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:36.284 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:36.284 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:36.284 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:36.284 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:36.285 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:36.297 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:36.299 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:36.299 +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/05 07:00:36.299 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=68] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:36.299 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t] [import-id=68] [disk-quota=700.7GiB] [2025/04/05 07:00:36.299 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:36.307 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [2025/04/05 07:00:36.307 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [2025/04/05 07:00:36.311 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:36.311 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=68] [mode=Import] [2025/04/05 07:00:36.314 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:36.315 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=339] [2025/04/05 07:00:36.341 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=68] [2025/04/05 07:00:36.341 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=339] [key=file.csv:0] [2025/04/05 07:00:36.344 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=339] [key=file.csv:0] [readDur=1.046656ms] [encodeDur=347.294µs] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [deliverDur=440.74µs] [type=file] [takeTime=2.151189ms] [] [2025/04/05 07:00:36.344 +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/b805cdd6-2e44-4053-a1d6-501c4401e675.sst] [firstKey=7480000000000001535F728000000000000001] [lastKey=7480000000000001535F728000000000000001] [2025/04/05 07:00:36.345 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 07:00:36.345 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 07:00:36.345 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:36.347 +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.909697ms] [] [2025/04/05 07:00:36.347 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [retryCnt=0] [2025/04/05 07:00:36.351 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:36.373 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:36.373 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:36.375 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001535f728000000000000001] [endOfAllRanges=7480000000000001535f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff535f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff535f728000000000ff0000020000000000fa] [2025/04/05 07:00:36.386 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=67ea3590-7c4f-5a31-ade6-de9a31136e82] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:36.388 +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.151395ms] [] [2025/04/05 07:00:36.388 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [2025/04/05 07:00:36.389 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:0] [engineUUID=67ea3590-7c4f-5a31-ade6-de9a31136e82] [takeTime=1.066557ms] [] [2025/04/05 07:00:36.389 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=68] [step=import] [engine-id=0] [2025/04/05 07:00:36.389 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:36.391 +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.487959ms] [] [2025/04/05 07:00:36.391 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [retryCnt=0] [2025/04/05 07:00:36.395 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:36.395 +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.727832ms] [] [2025/04/05 07:00:36.395 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [2025/04/05 07:00:36.396 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`t`:-1] [engineUUID=4c983745-cf08-5412-9f4a-17b9f1b1e2e3] [takeTime=861.173µs] [] [2025/04/05 07:00:36.396 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=import] [subtask-id=129] [takeTime=88.56863ms] [] [2025/04/05 07:00:36.396 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=129] [step=import] [takeTime=88.696374ms] [] [2025/04/05 07:00:36.409 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:36.410 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:36.411 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:36.412 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:36.441 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:36.443 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=68] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:36.443 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:36.481 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:36.487 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=68] [step=import] [2025/04/05 07:00:36.491 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:36.491 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:36.491 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:36.491 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:36.491 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:36.491 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:36.491 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:36.491 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:36.491 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:36.491 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:36.491 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-67] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:36.491 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:36.493 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:36.494 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:36.494 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:36.494 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:36.494 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=194.209614ms] [] [2025/04/05 07:00:36.495 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:36.502 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [2025/04/05 07:00:36.502 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 07:00:36.503 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 07:00:36.503 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [2025/04/05 07:00:36.503 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.096µs] [] [2025/04/05 07:00:36.503 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [groupId=-1] [size=37] [kvs=1] [checksum=13354276772020868135] [2025/04/05 07:00:36.503 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [checksum="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/05 07:00:36.503 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [weight=30] [2025/04/05 07:00:36.503 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [concurrency=15] [2025/04/05 07:00:36.505 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=339] [physicalTableID=339] [indexID=-1] [checksum=13354276772020868135] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:36.505 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:36.505 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [local="{cksum=13354276772020868135,size=37,kvs=1}"] [2025/04/05 07:00:36.505 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.78203ms] [] [2025/04/05 07:00:36.505 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=68] [step=post-process] [subtask-id=130] [takeTime=2.917796ms] [] [2025/04/05 07:00:36.506 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [subtaskID=130] [step=post-process] [takeTime=3.067755ms] [] [2025/04/05 07:00:36.533 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:36.610 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=68] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:36.610 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=68] [step=post-process] [state=running] [] [2025/04/05 07:00:36.613 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=68] [2025/04/05 07:00:36.627 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=68] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=132.226288ms] [] [2025/04/05 07:00:36.627 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=68] [type=ImportInto] [2025/04/05 07:00:36.704 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=68] [2025/04/05 07:00:36.704 +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.687192056\n# Parse_time: 0.00009721\n# Compile_time: 0.000554789\n# Rewrite_time: 0.000164534\n# Optimize_time: 0.000271968\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4Ni4zbXMsIG9wZW46NTczbnMsIGNsb3NlOjEuNDPCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjY4Ni4zbXMsIG9wZW46NTczbnMsIGNsb3NlOjEuNDPCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse load_data;\nIMPORT INTO `load_data`.`t` FROM 'gs://precheck-cdc-pitr/file.csv?endpoint=http://127.0.0.1:4443/storage/v1/' WITH disable_precheck;"] [2025/04/05 07:00:36.710 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:36.710 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=68] [2025/04/05 07:00:36.719 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:00:36.720 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=244] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [session="{\n \"currDBName\": \"load_data\",\n \"id\": 2,\n \"status\": 2,\n \"strictMode\": false,\n \"user\": {\n \"Username\": \"root\",\n \"Hostname\": \"localhost\",\n \"CurrentUser\": false,\n \"AuthUsername\": \"root\",\n \"AuthHostname\": \"%\",\n \"AuthPlugin\": \"\"\n }\n}"] [2025/04/05 07:00:36.720 +00:00] [ERROR] [precheck_test.go:112] [error] [error="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],"] [errorVerbose="[executor:8173]PreCheck failed: found PiTR log streaming task(s): [dummy-task],\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:443\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecToErr\n\tpkg/testkit/testkit.go:475\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:111\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="tests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestPreCheckCDCPiTRTasks\n\ttests/realtikvtest/importintotest/precheck_test.go:112\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:36.733 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:36.760 +00:00] [INFO] [import_into.go:266] ["importing data from select statement"] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [concurrency=2] [target-table=`load_data`.`dst`] [target-table-id=341] [2025/04/05 07:00:36.767 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:36.767 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:36.768 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:36.768 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:36.768 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:36.768 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:36.768 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:36.768 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:36.769 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:36.769 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:36.781 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:36.783 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:36.783 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=dst] [quota=752.3GB] [2025/04/05 07:00:36.787 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 07:00:36.790 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 07:00:36.827 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [key=import-from-select] [2025/04/05 07:00:36.828 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [key=import-from-select] [readDur=11.182µs] [encodeDur=368.642µs] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [deliverDur=285.928µs] [type=query] [takeTime=898.93µs] [] [2025/04/05 07:00:36.829 +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/5ee7d7d8-f5c7-4163-86d9-ceef99edbf86/aae7ed10-3950-5c5f-b1f6-563a3ef43f6a.sst/51b1b4bc-6d2a-440d-a562-7cf26a93c390.sst] [firstKey=7480000000000001555F728000000000000001] [lastKey=7480000000000001555F728000000000000001] [2025/04/05 07:00:36.830 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [key=import-from-select] [2025/04/05 07:00:36.830 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [key=import-from-select] [readDur=0s] [encodeDur=0s] [checksum="{cksum=0,size=0,kvs=0}"] [deliverDur=0s] [type=query] [takeTime=97.621µs] [] [2025/04/05 07:00:36.830 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 07:00:36.831 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=1.326607ms] [] [2025/04/05 07:00:36.831 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [retryCnt=0] [2025/04/05 07:00:36.836 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:36.858 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:36.858 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:36.859 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001555f728000000000000001] [endOfAllRanges=7480000000000001555f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff555f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff555f728000000000ff0000020000000000fa] [2025/04/05 07:00:36.870 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:36.871 +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.945869ms] [] [2025/04/05 07:00:36.871 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 07:00:36.873 +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.322189ms] [] [2025/04/05 07:00:36.873 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [retryCnt=0] [2025/04/05 07:00:36.876 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 07:00:36.877 +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.711819ms] [] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:761] ["post process start"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [takeTime=2.409µs] [] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:835] ["local checksum"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [checksum="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [weight=30] [2025/04/05 07:00:36.877 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [concurrency=15] [2025/04/05 07:00:36.879 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=341] [physicalTableID=341] [indexID=-1] [checksum=13133787126228658672] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:36.879 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:36.880 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [local="{cksum=13133787126228658672,size=37,kvs=1}"] [2025/04/05 07:00:36.880 +00:00] [INFO] [table_import.go:763] ["post process completed"] [table=dst] [import-id=5ee7d7d8-f5c7-4163-86d9-ceef99edbf86] [checksum="{\"id=-1\"=\"{cksum=13133787126228658672,size=37,kvs=1}\"}"] [takeTime=2.919833ms] [] [2025/04/05 07:00:36.880 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 07:00:36.880 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=15.553µs] [] [2025/04/05 07:00:36.880 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [2025/04/05 07:00:36.881 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:1] [engineUUID=aae7ed10-3950-5c5f-b1f6-563a3ef43f6a] [takeTime=1.040027ms] [] [2025/04/05 07:00:36.881 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 07:00:36.881 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=8.004µs] [] [2025/04/05 07:00:36.881 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [2025/04/05 07:00:36.882 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`dst`:-1] [engineUUID=95cbf67f-8845-5ed1-ab67-d03ce00676ee] [takeTime=901.698µs] [] [2025/04/05 07:00:36.885 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:36.885 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:36.885 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:36.885 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:36.885 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:36.885 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:36.885 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:36.886 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:36.886 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:36.885 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-68] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:36.886 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:36.886 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:36.888 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:36.888 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:36.888 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:36.888 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:36.895 +00:00] [INFO] [advancer.go:392] ["Meet task event"] [category="log backup advancer"] [event=Del(dummy-task)] [2025/04/05 07:00:36.895 +00:00] [INFO] [db.go:141] ["dec log backup task"] [count=0] [2025/04/05 07:00:36.895 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 07:00:36.907 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:36.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:36.907 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:36.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table t"] [2025/04/05 07:00:36.912 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:337, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:36.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:36.920 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: t, Old Table ID: 339, Old Table Name: t)"] [2025/04/05 07:00:36.936 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.894177ms] [gotSchemaVersion=245] [phyTblIDs="[339,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:36.939 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=245] [2025/04/05 07:00:36.941 +00:00] [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.006399ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:36.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:36.952 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[339]"] [comment="truncate table: table ID"] [2025/04/05 07:00:36.956 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/05 07:00:36.957 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=2] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:337, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:36.854 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:36.975 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/05 07:00:36.975 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=245] [cur_db=load_data] [sql="truncate table t"] [user=root@%] [2025/04/05 07:00:36.980 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:36.997 +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.34s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTableNotEmpty [2025/04/05 07:00:37.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 07:00:37.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.017 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:queueing, SchemaState:public, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.034 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=2.307552ms] [gotSchemaVersion=246] [phyTblIDs="[341,343]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=246] [2025/04/05 07:00:37.039 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=246] ["take time"=9.434333ms] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.049 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:write only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.062 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=151.177µs] [gotSchemaVersion=247] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=247] [2025/04/05 07:00:37.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=247] ["take time"=7.14651ms] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.075 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:running, SchemaState:delete only, SchemaID:337, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.081 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:37.092 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=152.663µs] [gotSchemaVersion=248] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.095 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=345] [version=248] [2025/04/05 07:00:37.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=248] ["take time"=7.06963ms] [job="ID:345, Type:drop schema, State:done, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.105 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=345] [tableIDs="[341,343]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:37.110 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=345] [jobType="drop schema"] [2025/04/05 07:00:37.111 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=345] [conn=2] [job="ID:345, Type:drop schema, State:synced, SchemaState:none, SchemaID:337, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.127 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=345] [2025/04/05 07:00:37.128 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=248] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 07:00:37.139 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.139 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 07:00:37.144 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:queueing, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.157 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=754.767µs] [gotSchemaVersion=249] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:37.161 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=249] [2025/04/05 07:00:37.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=249] ["take time"=7.937606ms] [job="ID:347, Type:create schema, State:done, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.172 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=2] [job="ID:347, Type:create schema, State:synced, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/05 07:00:37.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 07:00:37.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=249] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:37.198 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.198 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 07:00:37.203 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:queueing, SchemaState:none, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.208 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 348, Table Name: t)"] [2025/04/05 07:00:37.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.927303ms] [gotSchemaVersion=250] [phyTblIDs="[348]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:37.228 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=349] [version=250] [2025/04/05 07:00:37.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=250] ["take time"=9.335218ms] [job="ID:349, Type:create table, State:done, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.241 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=349] [conn=2] [job="ID:349, Type:create table, State:synced, SchemaState:public, SchemaID:346, TableID:348, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.253 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=349] [2025/04/05 07:00:37.253 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=250] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:37.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136259007250433] [2025/04/05 07:00:37.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTableNotEmpty (0.27s) === NAME TestImportInto === RUN TestImportInto/TestPreCheckTotalFileSize0 [2025/04/05 07:00:37.288 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.288 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop database if exists load_data"] [2025/04/05 07:00:37.294 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:queueing, SchemaState:public, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.712271ms] [gotSchemaVersion=251] [phyTblIDs="[348]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.315 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=251] [2025/04/05 07:00:37.317 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=9.026428ms] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.326 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:write only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.339 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=134.935µs] [gotSchemaVersion=252] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.342 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=252] [2025/04/05 07:00:37.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=252] ["take time"=7.433334ms] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.352 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:running, SchemaState:delete only, SchemaID:346, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.358 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:37.368 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=154.921µs] [gotSchemaVersion=253] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.371 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=253] [2025/04/05 07:00:37.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=253] ["take time"=7.139358ms] [job="ID:350, Type:drop schema, State:done, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.382 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=350] [tableIDs="[348]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:37.387 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=350] [jobType="drop schema"] [2025/04/05 07:00:37.388 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=2] [job="ID:350, Type:drop schema, State:synced, SchemaState:none, SchemaID:346, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.253 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/05 07:00:37.404 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=253] [cur_db=] [sql="drop database if exists load_data"] [user=root@%] [2025/04/05 07:00:37.415 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.415 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database load_data"] [2025/04/05 07:00:37.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:queueing, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.433 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=699.712µs] [gotSchemaVersion=254] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:37.436 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=254] [2025/04/05 07:00:37.438 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=7.597573ms] [job="ID:352, Type:create schema, State:done, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.448 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=2] [job="ID:352, Type:create schema, State:synced, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.458 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/05 07:00:37.458 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=] [sql="create database load_data"] [user=root@%] [2025/04/05 07:00:37.460 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=254] [cur_db=load_data] [sql="drop table if exists t;"] [user=root@%] [2025/04/05 07:00:37.473 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.473 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a bigint primary key, b varchar(100), c int);"] [2025/04/05 07:00:37.478 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:queueing, SchemaState:none, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.483 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 353, Table Name: t)"] [2025/04/05 07:00:37.499 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.85684ms] [gotSchemaVersion=255] [phyTblIDs="[353]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:37.502 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=255] [2025/04/05 07:00:37.504 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=255] ["take time"=8.694574ms] [job="ID:354, Type:create table, State:done, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.515 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=2] [job="ID:354, Type:create table, State:synced, SchemaState:public, SchemaID:351, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.528 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/05 07:00:37.528 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=255] [cur_db=load_data] [sql="create table t (a bigint primary key, b varchar(100), c int);"] [user=root@%] [2025/04/05 07:00:37.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136259072786442] [2025/04/05 07:00:37.538 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:37.552 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] --- PASS: TestImportInto/TestPreCheckTotalFileSize0 (0.29s) === NAME TestImportInto === RUN TestImportInto/TestRegisterTask [2025/04/05 07:00:37.572 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.572 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS load_data;"] [2025/04/05 07:00:37.577 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:queueing, SchemaState:public, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.594 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.825925ms] [gotSchemaVersion=256] [phyTblIDs="[353]"] [actionTypes="[2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.598 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=256] [2025/04/05 07:00:37.599 +00:00] [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.883565ms] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.608 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:write only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.620 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=121.971µs] [gotSchemaVersion=257] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.624 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=257] [2025/04/05 07:00:37.626 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=7.134469ms] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.634 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:running, SchemaState:delete only, SchemaID:351, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.639 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:37.649 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=151.898µs] [gotSchemaVersion=258] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:37.652 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=258] [2025/04/05 07:00:37.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=258] ["take time"=7.375022ms] [job="ID:355, Type:drop schema, State:done, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.663 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:37.667 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop schema"] [2025/04/05 07:00:37.668 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=2] [job="ID:355, Type:drop schema, State:synced, SchemaState:none, SchemaID:351, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/05 07:00:37.685 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=258] [cur_db=] [sql="DROP DATABASE IF EXISTS load_data;"] [user=root@%] [2025/04/05 07:00:37.696 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.696 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE load_data;"] [2025/04/05 07:00:37.701 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:queueing, SchemaState:none, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=723.597µs] [gotSchemaVersion=259] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:37.718 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=259] [2025/04/05 07:00:37.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=259] ["take time"=7.870118ms] [job="ID:357, Type:create schema, State:done, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.731 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=2] [job="ID:357, Type:create schema, State:synced, SchemaState:public, SchemaID:356, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.740 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/05 07:00:37.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=259] [cur_db=] [sql="CREATE DATABASE load_data;"] [user=root@%] [2025/04/05 07:00:37.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:37.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [2025/04/05 07:00:37.758 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.763 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: register_task)"] [2025/04/05 07:00:37.779 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.755841ms] [gotSchemaVersion=260] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:37.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=260] [2025/04/05 07:00:37.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=260] ["take time"=8.439822ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:37.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.794 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=2] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:37.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:37.806 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/05 07:00:37.806 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=260] [cur_db=] [sql="CREATE TABLE load_data.register_task (a INT, b INT, c int);"] [user=root@%] [2025/04/05 07:00:37.812 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:37.859 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:37.879 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=69] [task-id=69] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:37.893 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=69] [2025/04/05 07:00:37.893 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:37.995 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:37.996 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:37.998 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [2025/04/05 07:00:38.005 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:38.007 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 07:00:38.007 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 07:00:38.008 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=49.417µs] [2025/04/05 07:00:38.008 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=132.789µs] [] [2025/04/05 07:00:38.008 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:38.008 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:38.045 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=69] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:38.065 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/05 07:00:38.065 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:38.073 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:38.073 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:38.073 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:38.073 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:38.074 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:38.074 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:38.074 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:38.074 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:38.074 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:38.074 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:38.086 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:38.088 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:38.088 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=752.3GB] [2025/04/05 07:00:38.088 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=69] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:38.088 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:38.088 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=69] [disk-quota=700.7GiB] [2025/04/05 07:00:38.096 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [2025/04/05 07:00:38.096 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [2025/04/05 07:00:38.100 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:38.101 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=69] [mode=Import] [2025/04/05 07:00:38.103 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:38.103 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=358] [2025/04/05 07:00:38.116 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [2025/04/05 07:00:38.116 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=69] [2025/04/05 07:00:38.116 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=69] [2025/04/05 07:00:38.118 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=358] [key=register_task-1.tsv:0] [readDur=973.625µs] [encodeDur=209.924µs] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [deliverDur=191.413µs] [type=file] [takeTime=1.613151ms] [] [2025/04/05 07:00:38.118 +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/a31f20f8-e582-459a-a35a-01e98cd85d5f.sst] [firstKey=7480000000000001665F728000000000000001] [lastKey=7480000000000001665F728000000000000001] [2025/04/05 07:00:38.118 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 07:00:38.119 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 07:00:38.119 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:38.120 +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.828409ms] [] [2025/04/05 07:00:38.120 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/05 07:00:38.125 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:38.146 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:38.147 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:38.148 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001665f728000000000000001] [endOfAllRanges=7480000000000001665f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff665f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff665f728000000000ff0000020000000000fa] [2025/04/05 07:00:38.159 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:38.160 +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.795141ms] [] [2025/04/05 07:00:38.160 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:38.162 +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.107048ms] [] [2025/04/05 07:00:38.162 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=69] [step=import] [engine-id=0] [2025/04/05 07:00:38.162 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:38.163 +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.345928ms] [] [2025/04/05 07:00:38.163 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/05 07:00:38.167 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:38.167 +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.544601ms] [] [2025/04/05 07:00:38.167 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:38.168 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=937.83µs] [] [2025/04/05 07:00:38.168 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=import] [subtask-id=131] [takeTime=71.879475ms] [] [2025/04/05 07:00:38.168 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=131] [step=import] [takeTime=72.150145ms] [] [2025/04/05 07:00:38.200 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:38.202 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:38.203 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:38.203 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:38.231 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:38.232 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=69] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:38.232 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:38.268 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:38.276 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=69] [step=import] [2025/04/05 07:00:38.279 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:38.279 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:38.279 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:38.279 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:38.279 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:38.279 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:38.279 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:38.279 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:38.279 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-69] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:38.279 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:38.279 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:38.279 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:38.281 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:38.281 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:38.281 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:38.281 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:38.281 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=193.17319ms] [] [2025/04/05 07:00:38.283 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:38.290 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [2025/04/05 07:00:38.290 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 07:00:38.290 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 07:00:38.290 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [2025/04/05 07:00:38.296 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=6.01987ms] [] [2025/04/05 07:00:38.296 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [groupId=-1] [size=37] [kvs=1] [checksum=16609841413703989000] [2025/04/05 07:00:38.296 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [checksum="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/05 07:00:38.296 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [weight=30] [2025/04/05 07:00:38.296 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [concurrency=15] [2025/04/05 07:00:38.298 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=358] [physicalTableID=358] [indexID=-1] [checksum=16609841413703989000] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:38.299 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:38.299 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [local="{cksum=16609841413703989000,size=37,kvs=1}"] [2025/04/05 07:00:38.299 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=8.823048ms] [] [2025/04/05 07:00:38.299 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=69] [step=post-process] [subtask-id=132] [takeTime=8.966227ms] [] [2025/04/05 07:00:38.299 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [subtaskID=132] [step=post-process] [takeTime=9.101136ms] [] [2025/04/05 07:00:38.325 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:38.400 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=69] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:38.401 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=69] [step=post-process] [state=running] [] [2025/04/05 07:00:38.402 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=69] [2025/04/05 07:00:38.402 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=69] [2025/04/05 07:00:38.417 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=69] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=134.629165ms] [] [2025/04/05 07:00:38.417 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=69] [type=ImportInto] [2025/04/05 07:00:38.495 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=69] [2025/04/05 07:00:38.497 +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.690584978\n# Parse_time: 0.000079379\n# Compile_time: 0.000563092\n# Rewrite_time: 0.000151359\n# Optimize_time: 0.000251313\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY4OS43bXMsIG9wZW46NjE5bnMsIGNsb3NlOjkyOG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY4OS43bXMsIG9wZW46NjE5bnMsIGNsb3NlOjkyOG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse ;\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:38.501 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:38.501 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=69] [2025/04/05 07:00:38.514 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:38.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:38.514 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:38.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table load_data.register_task;"] [2025/04/05 07:00:38.519 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:356, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:38.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:38.523 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:38.528 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: register_task, Old Table ID: 358, Old Table Name: register_task)"] [2025/04/05 07:00:38.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=1.975884ms] [gotSchemaVersion=261] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:38.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=261] [2025/04/05 07:00:38.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=261] ["take time"=9.325252ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:38.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:38.560 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/05 07:00:38.564 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/05 07:00:38.565 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=2] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:356, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:38.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:38.583 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/05 07:00:38.584 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="truncate table load_data.register_task;"] [user=root@%] [2025/04/05 07:00:38.590 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:38.637 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:38.657 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=70] [task-id=70] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:38.671 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=70] [2025/04/05 07:00:38.671 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:38.774 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:38.775 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:38.776 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [2025/04/05 07:00:38.784 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:38.786 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 07:00:38.786 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 07:00:38.786 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.993µs] [2025/04/05 07:00:38.786 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=152.74µs] [] [2025/04/05 07:00:38.786 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=70] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:38.786 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:38.824 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=70] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:38.845 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/05 07:00:38.845 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:38.853 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:38.853 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:38.853 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:38.853 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:38.854 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:38.854 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:38.854 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:38.854 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:38.854 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:38.855 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:38.866 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:38.868 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:38.868 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=752.3GB] [2025/04/05 07:00:38.868 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=70] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:38.868 +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=3.879GiB]"] [2025/04/05 07:00:38.868 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=70] [disk-quota=700.7GiB] [2025/04/05 07:00:38.876 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [2025/04/05 07:00:38.876 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [2025/04/05 07:00:38.880 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:38.880 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=70] [mode=Import] [2025/04/05 07:00:38.883 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:38.883 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] [2025/04/05 07:00:38.897 +00:00] [INFO] [import_into_test.go:951] ["register task"] [task_id=70] [2025/04/05 07:00:38.898 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=70] [2025/04/05 07:00:39.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:40.859 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:41.884 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=70] [step=import] [subtask-id=133] [takeTime=3.00823392s] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:41.884 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [subtaskID=133] [step=import] [takeTime=3.008580393s] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:41.885 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:41.892 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=70] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:41.985 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=70] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 07:00:41.999 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=70] [step=import] [2025/04/05 07:00:42.002 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:42.002 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:42.002 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:42.002 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:42.002 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:42.002 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:42.003 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:42.003 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:42.003 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:42.003 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:42.003 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-70] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:42.003 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:42.006 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:42.006 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:42.006 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:42.006 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:42.006 +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=3.879GiB]"] [takeTime=3.137898819s] [] [2025/04/05 07:00:42.006 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=70] [type=ImportInto] [2025/04/05 07:00:42.079 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=70] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 07:00:42.080 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=70] [step=import] [mode=Normal] [2025/04/05 07:00:42.095 +00:00] [INFO] [import_into_test.go:956] ["unregister task"] [task_id=70] [2025/04/05 07:00:42.095 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=70] [2025/04/05 07:00:42.174 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=70] [2025/04/05 07:00:42.180 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:42.180 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=70] [2025/04/05 07:00:42.202 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:42.272 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=70] [error="[0]occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestRegisterTask\n\ttests/realtikvtest/importintotest/import_into_test.go:994\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:42.272 +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.688017106\n# Parse_time: 0.000078166\n# Compile_time: 0.000582881\n# Rewrite_time: 0.00016677\n# Optimize_time: 0.000297098\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('RvBFMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjMuNjlzLCBvcGVuOjg4M25zLCBjbG9zZTo4NTFucywgbG9vcHM6MQlOL0EJTi9BCg==')\n# Binary_plan: tidb_decode_binary_plan('X/BMClsKDEltcG9ydEludG9fMjgBQAFSA04vQVosdGltZTozLjY5cywgb3Blbjo4ODNucywgY2xvc2U6ODUxbnMsIGxvb3BzOjFw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:42.281 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:42.341 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:42.364 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=71] [task-id=71] [data-size=8B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:42.380 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=71] [2025/04/05 07:00:42.381 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:42.484 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:42.485 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:42.486 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [2025/04/05 07:00:42.496 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:42.498 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=register_task] [2025/04/05 07:00:42.498 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=register_task] [before=536870912000] [after=8] [2025/04/05 07:00:42.498 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=register_task] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=8] [cost=53.348µs] [2025/04/05 07:00:42.498 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=register_task] [takeTime=192.542µs] [] [2025/04/05 07:00:42.499 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:42.499 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:42.536 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=71] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:42.557 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/05 07:00:42.557 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:42.566 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:42.566 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:42.566 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:42.566 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:42.566 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:42.566 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:42.567 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:42.567 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:42.567 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:42.567 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:42.581 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:42.583 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:42.583 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=register_task] [quota=752.3GB] [2025/04/05 07:00:42.584 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=71] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:42.584 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=register_task] [import-id=71] [disk-quota=700.7GiB] [2025/04/05 07:00:42.584 +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=3.879GiB]"] [2025/04/05 07:00:42.591 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=71] [mode=Import] [2025/04/05 07:00:42.593 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [2025/04/05 07:00:42.593 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [2025/04/05 07:00:42.597 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:42.601 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:42.601 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=360] testkit.go:123: RefreshSession rand seed: 1743836442601869164 [2025/04/05 07:00:42.610 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=71] [2025/04/05 07:00:42.630 +00:00] [INFO] [set.go:172] ["set global var"] [conn=3] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:00:42.638 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:42.943 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=261] ["elapsed time"=109.198052ms] [2025/04/05 07:00:42.943 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 07:00:42.943 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:42.973 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [2025/04/05 07:00:42.975 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=360] [key=register_task-1.tsv:0] [readDur=1.210912ms] [encodeDur=251.687µs] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [deliverDur=311.343µs] [type=file] [takeTime=2.160071ms] [] [2025/04/05 07:00:42.976 +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/22210ff6-5abe-4c4e-9c50-62ba39858169.sst] [firstKey=7480000000000001685F728000000000000001] [lastKey=7480000000000001685F728000000000000001] [2025/04/05 07:00:42.976 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 07:00:42.976 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 07:00:42.976 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:42.979 +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.423142ms] [] [2025/04/05 07:00:42.979 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [retryCnt=0] [2025/04/05 07:00:42.983 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:43.005 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] ["region ranges"=1] [count=1] [size=37] [2025/04/05 07:00:43.005 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:43.007 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001685f728000000000000001] [endOfAllRanges=7480000000000001685f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff685f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff685f728000000000ff0000020000000000fa] [2025/04/05 07:00:43.019 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [size=37] [kvs=1] [importedSize=37] [importedCount=1] [2025/04/05 07:00:43.020 +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=41.632277ms] [] [2025/04/05 07:00:43.020 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:0] [engineUUID=51a7a24d-77bd-5aff-aeb3-117ab334dd31] [2025/04/05 07:00:43.022 +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.11175ms] [] [2025/04/05 07:00:43.022 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=71] [step=import] [engine-id=0] [2025/04/05 07:00:43.022 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:43.023 +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.498522ms] [] [2025/04/05 07:00:43.023 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [retryCnt=0] [2025/04/05 07:00:43.027 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:43.027 +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.598434ms] [] [2025/04/05 07:00:43.027 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [2025/04/05 07:00:43.028 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`load_data`.`register_task`:-1] [engineUUID=098f296f-4ab3-5292-9ccf-55f0a7a4e5d8] [takeTime=1.044584ms] [] [2025/04/05 07:00:43.028 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=import] [subtask-id=134] [takeTime=435.402212ms] [] [2025/04/05 07:00:43.028 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=134] [step=import] [takeTime=435.546446ms] [] [2025/04/05 07:00:43.088 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:43.090 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:43.091 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:43.091 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:43.121 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:43.123 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=71] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:43.123 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:43.151 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:43.158 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=71] [step=import] [2025/04/05 07:00:43.161 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:43.161 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:43.161 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:43.161 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:43.161 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:43.161 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:43.162 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:43.162 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:43.162 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:43.162 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-71] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:43.162 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:43.162 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:43.164 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:43.164 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:43.164 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:43.164 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:43.164 +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=3.879GiB]"] [takeTime=580.559736ms] [] [2025/04/05 07:00:43.166 +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=3.879GiB]"] [2025/04/05 07:00:43.173 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=30001] [step=post-process] [2025/04/05 07:00:43.174 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [2025/04/05 07:00:43.174 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [2025/04/05 07:00:43.174 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [2025/04/05 07:00:43.180 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [takeTime=6.270195ms] [] [2025/04/05 07:00:43.180 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [groupId=-1] [size=37] [kvs=1] [checksum=18276122673824376811] [2025/04/05 07:00:43.180 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [checksum="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/05 07:00:43.180 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [weight=30] [2025/04/05 07:00:43.180 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [concurrency=15] [2025/04/05 07:00:43.182 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=360] [physicalTableID=360] [indexID=-1] [checksum=18276122673824376811] [totalKvs=1] [totalBytes=37] [2025/04/05 07:00:43.183 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:43.183 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [local="{cksum=18276122673824376811,size=37,kvs=1}"] [2025/04/05 07:00:43.183 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [takeTime=9.046463ms] [] [2025/04/05 07:00:43.183 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=71] [step=post-process] [subtask-id=30001] [takeTime=9.225066ms] [] [2025/04/05 07:00:43.183 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=71] [task-type=ImportInto] [server-id=:4000] [subtaskID=30001] [step=post-process] [takeTime=9.370193ms] [] [2025/04/05 07:00:43.209 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:43.288 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=71] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:43.289 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=71] [step=post-process] [state=running] [] [2025/04/05 07:00:43.291 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=71] [2025/04/05 07:00:43.309 +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=3.879GiB]"] [takeTime=142.868425ms] [] [2025/04/05 07:00:43.309 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=71] [type=ImportInto] [2025/04/05 07:00:43.383 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=71] [2025/04/05 07:00:43.389 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:43.389 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=71] [2025/04/05 07:00:43.419 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:43.581 +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.306123156\n# Parse_time: 0.000286442\n# Compile_time: 0.000692921\n# Rewrite_time: 0.000179107\n# Optimize_time: 0.000297098\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjEuM3MsIG9wZW46ODc2bnMsIGNsb3NlOjkyM25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjEuM3MsIG9wZW46ODc2bnMsIGNsb3NlOjkyM25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `load_data`.`register_task` FROM 'gs://test-load/register_task-*.tsv?endpoint=http://127.0.0.1:4443/storage/v1/';"] --- PASS: TestImportInto/TestRegisterTask (6.03s) === NAME TestImportInto === RUN TestImportInto/TestSameBehaviourDetachedOrNot [2025/04/05 07:00:43.589 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=261] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/05 07:00:43.602 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:43.602 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/05 07:00:43.608 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:queueing, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.622 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=794.883µs] [gotSchemaVersion=262] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:43.626 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=262] [2025/04/05 07:00:43.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=262] ["take time"=8.28175ms] [job="ID:363, Type:create schema, State:done, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.639 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=2] [job="ID:363, Type:create schema, State:synced, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/05 07:00:43.649 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=262] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/05 07:00:43.662 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:43.662 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [2025/04/05 07:00:43.668 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.672 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 364, Table Name: t1)"] [2025/04/05 07:00:43.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.556786ms] [gotSchemaVersion=263] [phyTblIDs="[364]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:43.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=263] [2025/04/05 07:00:43.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=263] ["take time"=8.820139ms] [job="ID:365, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.704 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=2] [job="ID:365, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:364, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.653 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.716 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/05 07:00:43.716 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=263] [cur_db=] [sql="CREATE TABLE test_detached.t1 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/05 07:00:43.729 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:43.729 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [2025/04/05 07:00:43.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.739 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: t2)"] [2025/04/05 07:00:43.754 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.556775ms] [gotSchemaVersion=264] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:43.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=264] [2025/04/05 07:00:43.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=264] ["take time"=8.711192ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:43.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.770 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=2] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:362, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:43.703 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:43.781 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/05 07:00:43.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=264] [cur_db=] [sql="CREATE TABLE test_detached.t2 (dt DATETIME, ts TIMESTAMP);"] [user=root@%] [2025/04/05 07:00:43.788 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:43.842 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:43.870 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30001] [task-id=30001] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/05 07:00:43.886 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30001] [2025/04/05 07:00:43.886 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 07:00:43.989 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:43.990 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:43.991 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30001] [curr-step=init] [next-step=import] [2025/04/05 07:00:43.999 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:44.002 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 07:00:44.002 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=39] [2025/04/05 07:00:44.002 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=103.068µs] [2025/04/05 07:00:44.002 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=208.806µs] [] [2025/04/05 07:00:44.003 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30001] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:44.003 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 07:00:44.035 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30001] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:44.057 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30001] [step=import] [2025/04/05 07:00:44.057 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:44.066 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:44.066 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:44.066 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:44.066 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:44.067 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:44.067 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:44.067 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:44.067 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:44.067 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:44.067 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:44.081 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:44.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/05 07:00:44.083 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=752.3GB] [2025/04/05 07:00:44.083 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30001] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:44.083 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30001] [disk-quota=700.7GiB] [2025/04/05 07:00:44.083 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:44.091 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30002] [step=import] [2025/04/05 07:00:44.092 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30001] [step=import] [subtask-id=30002] [2025/04/05 07:00:44.096 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:44.096 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30001] [mode=Import] [2025/04/05 07:00:44.100 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:44.100 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=364] [2025/04/05 07:00:44.116 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30001] [2025/04/05 07:00:44.141 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=364] [key=1.txt:0] [2025/04/05 07:00:44.143 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=364] [key=1.txt:0] [readDur=948.352µs] [encodeDur=524.636µs] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [deliverDur=273.875µs] [type=file] [takeTime=2.148989ms] [] [2025/04/05 07:00:44.144 +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/30001/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/360e3fff-e68d-459a-b92a-2c2a5ac9d173.sst] [firstKey=74800000000000016C5F728000000000000001] [lastKey=74800000000000016C5F728000000000000001] [2025/04/05 07:00:44.144 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30001] [step=import] [engine-id=0] [2025/04/05 07:00:44.144 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30001] [step=import] [engine-id=0] [2025/04/05 07:00:44.144 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:44.147 +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.883265ms] [] [2025/04/05 07:00:44.147 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/05 07:00:44.151 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:44.173 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=47] [2025/04/05 07:00:44.173 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:44.174 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016c5f728000000000000001] [endOfAllRanges=74800000000000016c5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6c5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6c5f728000000000ff0000020000000000fa] [2025/04/05 07:00:44.187 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/05 07:00:44.188 +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=41.429828ms] [] [2025/04/05 07:00:44.188 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:44.190 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.110952ms] [] [2025/04/05 07:00:44.190 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30001] [step=import] [engine-id=0] [2025/04/05 07:00:44.190 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:44.192 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=2.065551ms] [] [2025/04/05 07:00:44.192 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/05 07:00:44.196 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:44.196 +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.876179ms] [] [2025/04/05 07:00:44.196 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:44.197 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=1.003244ms] [] [2025/04/05 07:00:44.197 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30001] [step=import] [subtask-id=30002] [takeTime=105.41467ms] [] [2025/04/05 07:00:44.197 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30002] [step=import] [takeTime=105.589374ms] [] [2025/04/05 07:00:44.295 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:44.296 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:44.297 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30001] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:44.297 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30001] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:44.327 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30001] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:44.328 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30001] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:44.328 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 07:00:44.351 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:44.352 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30001] [step=import] [2025/04/05 07:00:44.355 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:44.355 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:44.355 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:44.355 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:44.355 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:44.355 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:44.355 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:44.355 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-72] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:44.355 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:44.355 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:44.355 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:44.355 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:44.358 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:44.358 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:44.358 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:44.358 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:44.358 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=274.565374ms] [] [2025/04/05 07:00:44.358 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30001] [type=ImportInto] [2025/04/05 07:00:44.365 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30001] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:44.386 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:44.394 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30003] [step=post-process] [2025/04/05 07:00:44.394 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [2025/04/05 07:00:44.394 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [2025/04/05 07:00:44.394 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [2025/04/05 07:00:44.400 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [takeTime=6.323008ms] [] [2025/04/05 07:00:44.400 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [groupId=-1] [size=47] [kvs=1] [checksum=14131645107134293034] [2025/04/05 07:00:44.401 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [checksum="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/05 07:00:44.401 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [weight=30] [2025/04/05 07:00:44.401 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [concurrency=15] [2025/04/05 07:00:44.403 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=364] [physicalTableID=364] [indexID=-1] [checksum=14131645107134293034] [totalKvs=1] [totalBytes=47] [2025/04/05 07:00:44.403 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:44.403 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [local="{cksum=14131645107134293034,size=47,kvs=1}"] [2025/04/05 07:00:44.403 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [takeTime=9.357941ms] [] [2025/04/05 07:00:44.403 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30001] [step=post-process] [subtask-id=30003] [takeTime=9.50084ms] [] [2025/04/05 07:00:44.403 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [subtaskID=30003] [step=post-process] [takeTime=9.663306ms] [] [2025/04/05 07:00:44.432 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:44.495 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30001] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:44.495 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30001] [step=post-process] [state=running] [] [2025/04/05 07:00:44.497 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30001] [2025/04/05 07:00:44.527 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30001] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=141.308155ms] [] [2025/04/05 07:00:44.527 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30001] [type=ImportInto] [2025/04/05 07:00:44.588 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30001] [2025/04/05 07:00:44.595 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:44.595 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30001] [2025/04/05 07:00:44.617 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:44.788 +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.00566271\n# Parse_time: 0.000092581\n# Compile_time: 0.000541158\n# Rewrite_time: 0.000179943\n# Optimize_time: 0.0002995\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('RfBEMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjFzLCBvcGVuOjY1MW5zLCBjbG9zZToxLjQ1wrVzLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YPBMClwKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWit0aW1lOjFzLCBvcGVuOjY1MW5zLCBjbG9zZToxLjQ1wrVzLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 07:00:44.794 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:44.845 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:44.864 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30002] [task-id=30002] [data-size=39B] [thread-cnt=1] [global-sort=false] [2025/04/05 07:00:44.880 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30002] [2025/04/05 07:00:44.880 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 07:00:44.983 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:44.984 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:44.985 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30002] [curr-step=init] [next-step=import] [2025/04/05 07:00:44.994 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:44.996 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 07:00:44.996 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=39] [2025/04/05 07:00:44.996 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=39] [cost=71.465µs] [2025/04/05 07:00:44.997 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=206.056µs] [] [2025/04/05 07:00:44.997 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30002] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:44.997 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 07:00:45.035 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30002] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:45.055 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30002] [step=import] [2025/04/05 07:00:45.056 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:45.064 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:45.064 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:45.065 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:45.065 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:45.066 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:45.066 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:45.066 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:45.066 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:45.066 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:45.067 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:45.079 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:45.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/05 07:00:45.081 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=752.3GB] [2025/04/05 07:00:45.081 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30002] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:45.081 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30002] [disk-quota=700.7GiB] [2025/04/05 07:00:45.081 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:45.089 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30004] [step=import] [2025/04/05 07:00:45.090 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30002] [mode=Import] [2025/04/05 07:00:45.090 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30002] [step=import] [subtask-id=30004] [2025/04/05 07:00:45.094 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:45.098 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:45.098 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=366] [2025/04/05 07:00:45.109 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30002] [2025/04/05 07:00:45.137 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=366] [key=1.txt:0] [2025/04/05 07:00:45.139 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=366] [key=1.txt:0] [readDur=922.763µs] [encodeDur=442.14µs] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [deliverDur=270.273µs] [type=file] [takeTime=1.96789ms] [] [2025/04/05 07:00:45.140 +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/30002/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/869343de-1622-4292-8423-90999e241744.sst] [firstKey=74800000000000016E5F728000000000000001] [lastKey=74800000000000016E5F728000000000000001] [2025/04/05 07:00:45.140 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/05 07:00:45.140 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/05 07:00:45.140 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:45.142 +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.053237ms] [] [2025/04/05 07:00:45.142 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/05 07:00:45.147 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:45.168 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=47] [2025/04/05 07:00:45.168 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:45.170 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000016e5f728000000000000001] [endOfAllRanges=74800000000000016e5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff6e5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff6e5f728000000000ff0000020000000000fa] [2025/04/05 07:00:45.182 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=47] [kvs=1] [importedSize=47] [importedCount=1] [2025/04/05 07:00:45.183 +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.093406ms] [] [2025/04/05 07:00:45.183 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:45.184 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.067903ms] [] [2025/04/05 07:00:45.184 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30002] [step=import] [engine-id=0] [2025/04/05 07:00:45.184 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:45.186 +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.569057ms] [] [2025/04/05 07:00:45.186 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/05 07:00:45.190 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:45.190 +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.751921ms] [] [2025/04/05 07:00:45.190 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:45.191 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=915.212µs] [] [2025/04/05 07:00:45.191 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30002] [step=import] [subtask-id=30004] [takeTime=101.468014ms] [] [2025/04/05 07:00:45.192 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30004] [step=import] [takeTime=102.061784ms] [] [2025/04/05 07:00:45.288 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:45.289 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:45.290 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30002] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:45.290 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30002] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:45.321 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30002] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:45.322 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30002] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:45.322 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 07:00:45.338 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:45.338 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30002] [step=import] [2025/04/05 07:00:45.341 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:45.341 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:45.341 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:45.341 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:45.341 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:45.341 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:45.341 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:45.341 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:45.341 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:45.341 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:45.341 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-73] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:45.341 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:45.343 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:45.343 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:45.343 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:45.344 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:45.344 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=262.099974ms] [] [2025/04/05 07:00:45.344 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30002] [type=ImportInto] [2025/04/05 07:00:45.354 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30002] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:45.375 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:45.382 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30005] [step=post-process] [2025/04/05 07:00:45.383 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [2025/04/05 07:00:45.383 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [2025/04/05 07:00:45.383 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [2025/04/05 07:00:45.390 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [takeTime=6.943392ms] [] [2025/04/05 07:00:45.390 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [groupId=-1] [size=47] [kvs=1] [checksum=16630292482618711024] [2025/04/05 07:00:45.390 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [checksum="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/05 07:00:45.390 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [weight=30] [2025/04/05 07:00:45.390 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [concurrency=15] [2025/04/05 07:00:45.392 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=366] [physicalTableID=366] [indexID=-1] [checksum=16630292482618711024] [totalKvs=1] [totalBytes=47] [2025/04/05 07:00:45.392 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:45.392 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [local="{cksum=16630292482618711024,size=47,kvs=1}"] [2025/04/05 07:00:45.392 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [takeTime=9.732384ms] [] [2025/04/05 07:00:45.392 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30002] [step=post-process] [subtask-id=30005] [takeTime=9.890905ms] [] [2025/04/05 07:00:45.393 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [subtaskID=30005] [step=post-process] [takeTime=10.033385ms] [] [2025/04/05 07:00:45.420 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:45.488 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30002] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:45.488 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30002] [step=post-process] [state=running] [] [2025/04/05 07:00:45.491 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30002] [2025/04/05 07:00:45.514 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30002] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=139.058012ms] [] [2025/04/05 07:00:45.514 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30002] [type=ImportInto] [2025/04/05 07:00:45.583 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30002] [2025/04/05 07:00:45.589 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:45.590 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30002] [2025/04/05 07:00:45.612 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:45.897 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:45.897 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS test_detached;"] [2025/04/05 07:00:45.903 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:queueing, SchemaState:public, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=180.12µs] [gotSchemaVersion=265] [phyTblIDs="[364,366]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:45.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=265] [2025/04/05 07:00:45.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=265] ["take time"=7.480297ms] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:write only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.949 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=140.498µs] [gotSchemaVersion=266] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:45.953 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=266] [2025/04/05 07:00:45.954 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=7.387ms] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.963 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:running, SchemaState:delete only, SchemaID:362, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.969 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:45.980 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=129.621µs] [gotSchemaVersion=267] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:45.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=368] [version=267] [2025/04/05 07:00:45.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=267] ["take time"=7.277286ms] [job="ID:368, Type:drop schema, State:done, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:45.994 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=368] [tableIDs="[364,366]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:46.002 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=368] [jobType="drop schema"] [2025/04/05 07:00:46.003 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=368] [conn=2] [job="ID:368, Type:drop schema, State:synced, SchemaState:none, SchemaID:362, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:45.853 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.021 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=368] [2025/04/05 07:00:46.022 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=267] [cur_db=] [sql="DROP DATABASE IF EXISTS test_detached;"] [user=root@%] [2025/04/05 07:00:46.035 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:46.035 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE test_detached;"] [2025/04/05 07:00:46.041 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:queueing, SchemaState:none, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=703.558µs] [gotSchemaVersion=268] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:46.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=370] [version=268] [2025/04/05 07:00:46.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=268] ["take time"=8.050803ms] [job="ID:370, Type:create schema, State:done, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.071 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=370] [conn=2] [job="ID:370, Type:create schema, State:synced, SchemaState:public, SchemaID:369, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=370] [2025/04/05 07:00:46.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=268] [cur_db=] [sql="CREATE DATABASE test_detached;"] [user=root@%] [2025/04/05 07:00:46.095 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [2025/04/05 07:00:46.095 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:46.101 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.106 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 371, Table Name: t1)"] [2025/04/05 07:00:46.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=1.70935ms] [gotSchemaVersion=269] [phyTblIDs="[371]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:46.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=269] [2025/04/05 07:00:46.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=269] ["take time"=9.086842ms] [job="ID:372, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.137 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=2] [job="ID:372, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:371, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.053 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/05 07:00:46.150 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=269] [cur_db=] [sql="CREATE TABLE test_detached.t1 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/05 07:00:46.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:46.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [2025/04/05 07:00:46.169 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t2)"] [2025/04/05 07:00:46.190 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=2.044829ms] [gotSchemaVersion=270] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:46.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=270] [2025/04/05 07:00:46.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=270] ["take time"=12.556498ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:46.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.211 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=2] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:369, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:46.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:46.223 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/05 07:00:46.223 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="CREATE TABLE test_detached.t2 (c INT NOT NULL, c2 TINYINT);"] [user=root@%] [2025/04/05 07:00:46.230 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:46.284 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:46.306 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30003] [task-id=30003] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/05 07:00:46.321 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30003] [2025/04/05 07:00:46.321 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 07:00:46.423 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:46.425 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:46.426 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30003] [curr-step=init] [next-step=import] [2025/04/05 07:00:46.433 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:46.436 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 07:00:46.436 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=5] [2025/04/05 07:00:46.436 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=59.591µs] [2025/04/05 07:00:46.437 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=185.777µs] [] [2025/04/05 07:00:46.437 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30003] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:46.437 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 07:00:46.475 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30003] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:46.496 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30003] [step=import] [2025/04/05 07:00:46.497 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:46.505 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:46.505 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:46.506 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:46.506 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:46.506 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:46.506 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:46.506 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:46.506 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:46.506 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:46.507 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:46.520 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:46.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/05 07:00:46.522 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=752.3GB] [2025/04/05 07:00:46.522 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30003] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:46.522 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:46.522 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30003] [disk-quota=700.7GiB] [2025/04/05 07:00:46.530 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30003] [mode=Import] [2025/04/05 07:00:46.530 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30006] [step=import] [2025/04/05 07:00:46.530 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30003] [step=import] [subtask-id=30006] [2025/04/05 07:00:46.534 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:46.538 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:46.538 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=371] [2025/04/05 07:00:46.550 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30003] [2025/04/05 07:00:46.561 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=371] [key=1.txt:0] [2025/04/05 07:00:46.564 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=371] [key=1.txt:0] [readDur=989.786µs] [encodeDur=1.284782ms] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [deliverDur=318.9µs] [type=file] [takeTime=2.982803ms] [] [2025/04/05 07:00:46.565 +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/30003/3ae7f001-78df-5ff2-91c4-d73c344f65c1.sst/2a1bdf36-b910-4bae-b790-7d91782c1239.sst] [firstKey=7480000000000001735F728000000000000001] [lastKey=7480000000000001735F728000000000000001] [2025/04/05 07:00:46.565 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/05 07:00:46.565 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/05 07:00:46.565 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:46.568 +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.357593ms] [] [2025/04/05 07:00:46.568 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [retryCnt=0] [2025/04/05 07:00:46.572 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:46.594 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] ["region ranges"=1] [count=1] [size=33] [2025/04/05 07:00:46.594 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:46.595 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001735f728000000000000001] [endOfAllRanges=7480000000000001735f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff735f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff735f728000000000ff0000020000000000fa] [2025/04/05 07:00:46.608 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 07:00:46.610 +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=42.03751ms] [] [2025/04/05 07:00:46.610 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [2025/04/05 07:00:46.611 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:0] [engineUUID=3ae7f001-78df-5ff2-91c4-d73c344f65c1] [takeTime=1.522946ms] [] [2025/04/05 07:00:46.611 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30003] [step=import] [engine-id=0] [2025/04/05 07:00:46.612 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:46.614 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=2.342962ms] [] [2025/04/05 07:00:46.614 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [retryCnt=0] [2025/04/05 07:00:46.618 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:46.618 +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.83268ms] [] [2025/04/05 07:00:46.618 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [2025/04/05 07:00:46.619 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t1`:-1] [engineUUID=236fca0d-9ac9-528c-a14d-cb65c9505a78] [takeTime=923.6µs] [] [2025/04/05 07:00:46.619 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30003] [step=import] [subtask-id=30006] [takeTime=89.031953ms] [] [2025/04/05 07:00:46.619 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30006] [step=import] [takeTime=89.172887ms] [] [2025/04/05 07:00:46.729 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:46.730 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:46.731 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30003] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:46.731 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30003] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:46.762 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30003] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:46.763 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30003] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:46.763 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 07:00:46.766 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:46.766 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30003] [step=import] [2025/04/05 07:00:46.769 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:46.769 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:46.769 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:46.769 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:46.770 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:46.769 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:46.770 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:46.770 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:46.770 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-74] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:46.770 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:46.770 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:46.770 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:46.772 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:46.772 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:46.772 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:46.772 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:46.772 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=250.012407ms] [] [2025/04/05 07:00:46.772 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30003] [type=ImportInto] [2025/04/05 07:00:46.795 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30003] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:46.816 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:46.823 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30007] [step=post-process] [2025/04/05 07:00:46.823 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [2025/04/05 07:00:46.823 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [2025/04/05 07:00:46.823 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [2025/04/05 07:00:46.830 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [takeTime=6.284838ms] [] [2025/04/05 07:00:46.830 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [groupId=-1] [size=33] [kvs=1] [checksum=10389631808286628075] [2025/04/05 07:00:46.830 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [checksum="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/05 07:00:46.830 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [weight=30] [2025/04/05 07:00:46.830 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [concurrency=15] [2025/04/05 07:00:46.832 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=371] [physicalTableID=371] [indexID=-1] [checksum=10389631808286628075] [totalKvs=1] [totalBytes=33] [2025/04/05 07:00:46.832 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:46.833 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [local="{cksum=10389631808286628075,size=33,kvs=1}"] [2025/04/05 07:00:46.833 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [takeTime=9.263902ms] [] [2025/04/05 07:00:46.833 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30003] [step=post-process] [subtask-id=30007] [takeTime=9.426743ms] [] [2025/04/05 07:00:46.833 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [subtaskID=30007] [step=post-process] [takeTime=9.553492ms] [] [2025/04/05 07:00:46.848 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:46.930 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30003] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:46.930 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30003] [step=post-process] [state=running] [] [2025/04/05 07:00:46.933 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30003] [2025/04/05 07:00:46.955 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30003] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=139.235988ms] [] [2025/04/05 07:00:46.955 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30003] [type=ImportInto] [2025/04/05 07:00:47.024 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30003] [2025/04/05 07:00:47.030 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:47.030 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30003] [2025/04/05 07:00:47.053 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:47.224 +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.000099205\n# Parse_time: 0.000095791\n# Compile_time: 0.000527293\n# Rewrite_time: 0.000192903\n# Optimize_time: 0.000334746\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5OS4ybXMsIG9wZW46NTI1bnMsIGNsb3NlOjY4Nm5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5OS4ybXMsIG9wZW46NTI1bnMsIGNsb3NlOjY4Nm5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `test_detached`.`t1` FROM 'gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/' WITH thread=1;"] [2025/04/05 07:00:47.230 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:47.277 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-detached/1.txt?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null,\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:47.296 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30004] [task-id=30004] [data-size=5B] [thread-cnt=1] [global-sort=false] [2025/04/05 07:00:47.313 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30004] [2025/04/05 07:00:47.313 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 07:00:47.415 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:47.416 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:47.417 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30004] [curr-step=init] [next-step=import] [2025/04/05 07:00:47.425 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:47.428 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 07:00:47.428 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=5] [2025/04/05 07:00:47.428 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=5] [cost=54.764µs] [2025/04/05 07:00:47.428 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=148.383µs] [] [2025/04/05 07:00:47.428 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30004] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:47.428 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=1] [2025/04/05 07:00:47.465 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30004] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:47.485 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30004] [step=import] [2025/04/05 07:00:47.485 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:47.493 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:47.493 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:47.494 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:47.494 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:47.494 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:47.494 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:47.494 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:47.494 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:47.495 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:47.495 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:47.507 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:47.509 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:47.509 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=752.3GB] [2025/04/05 07:00:47.509 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30004] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:47.509 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30004] [disk-quota=700.7GiB] [2025/04/05 07:00:47.509 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:47.517 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30008] [step=import] [2025/04/05 07:00:47.517 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30004] [step=import] [subtask-id=30008] [2025/04/05 07:00:47.521 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:47.521 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30004] [mode=Import] [2025/04/05 07:00:47.524 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:47.524 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=373] [2025/04/05 07:00:47.538 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=373] [key=1.txt:0] [2025/04/05 07:00:47.539 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=373] [key=1.txt:0] [readDur=912.581µs] [encodeDur=208.554µs] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [deliverDur=218.861µs] [type=file] [takeTime=1.702366ms] [] [2025/04/05 07:00:47.540 +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/30004/ad22e41c-f30a-50a8-9086-89d3ea93a06e.sst/36ea95b7-0ab9-4aff-b214-77ee2716c609.sst] [firstKey=7480000000000001755F728000000000000001] [lastKey=7480000000000001755F728000000000000001] [2025/04/05 07:00:47.540 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/05 07:00:47.540 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/05 07:00:47.540 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:47.541 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30004] [2025/04/05 07:00:47.542 +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.001522ms] [] [2025/04/05 07:00:47.543 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [retryCnt=0] [2025/04/05 07:00:47.547 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:47.568 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] ["region ranges"=1] [count=1] [size=33] [2025/04/05 07:00:47.568 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:47.570 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001755f728000000000000001] [endOfAllRanges=7480000000000001755f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff755f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff755f728000000000ff0000020000000000fa] [2025/04/05 07:00:47.581 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [size=33] [kvs=1] [importedSize=33] [importedCount=1] [2025/04/05 07:00:47.582 +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.791465ms] [] [2025/04/05 07:00:47.582 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [2025/04/05 07:00:47.583 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:0] [engineUUID=ad22e41c-f30a-50a8-9086-89d3ea93a06e] [takeTime=1.02557ms] [] [2025/04/05 07:00:47.584 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30004] [step=import] [engine-id=0] [2025/04/05 07:00:47.584 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:47.585 +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.5263ms] [] [2025/04/05 07:00:47.585 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [retryCnt=0] [2025/04/05 07:00:47.589 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:47.589 +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.641946ms] [] [2025/04/05 07:00:47.589 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [2025/04/05 07:00:47.590 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_detached`.`t2`:-1] [engineUUID=964427c2-81fe-5e20-9cf8-2220d41449c0] [takeTime=971.688µs] [] [2025/04/05 07:00:47.590 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30004] [step=import] [subtask-id=30008] [takeTime=72.89372ms] [] [2025/04/05 07:00:47.590 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30008] [step=import] [takeTime=73.039424ms] [] [2025/04/05 07:00:47.620 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:47.621 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:47.622 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30004] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:47.622 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30004] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:47.652 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30004] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:47.653 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30004] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:47.653 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 07:00:47.673 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:47.680 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30004] [step=import] [2025/04/05 07:00:47.683 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:47.683 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:47.683 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:47.683 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:47.683 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:47.683 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:47.683 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:47.683 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-75] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:47.683 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:47.683 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:47.683 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:47.683 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:47.685 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:47.685 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:47.685 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:47.685 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:47.685 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=176.100704ms] [] [2025/04/05 07:00:47.686 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:47.694 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30009] [step=post-process] [2025/04/05 07:00:47.695 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [2025/04/05 07:00:47.695 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [2025/04/05 07:00:47.695 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [2025/04/05 07:00:47.700 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [takeTime=5.60145ms] [] [2025/04/05 07:00:47.700 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [groupId=-1] [size=33] [kvs=1] [checksum=5264423192021952273] [2025/04/05 07:00:47.700 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [checksum="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/05 07:00:47.700 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [weight=30] [2025/04/05 07:00:47.700 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [concurrency=15] [2025/04/05 07:00:47.702 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=373] [physicalTableID=373] [indexID=-1] [checksum=5264423192021952273] [totalKvs=1] [totalBytes=33] [2025/04/05 07:00:47.703 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:47.703 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [local="{cksum=5264423192021952273,size=33,kvs=1}"] [2025/04/05 07:00:47.703 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [takeTime=8.272579ms] [] [2025/04/05 07:00:47.703 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30004] [step=post-process] [subtask-id=30009] [takeTime=8.409069ms] [] [2025/04/05 07:00:47.703 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [subtaskID=30009] [step=post-process] [takeTime=8.539631ms] [] [2025/04/05 07:00:47.720 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30004] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:47.720 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30004] [step=post-process] [state=running] [] [2025/04/05 07:00:47.723 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30004] [2025/04/05 07:00:47.724 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:47.749 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30004] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=62.418345ms] [] [2025/04/05 07:00:47.749 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30004] [type=ImportInto] [2025/04/05 07:00:47.815 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30004] [2025/04/05 07:00:47.821 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:47.821 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30004] [2025/04/05 07:00:47.842 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] --- PASS: TestImportInto/TestSameBehaviourDetachedOrNot (4.75s) === NAME TestImportInto === RUN TestImportInto/TestShowDetachedJob [2025/04/05 07:00:48.340 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=270] [cur_db=] [sql="drop database if exists show_detached_job"] [user=root@%] [2025/04/05 07:00:48.353 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database show_detached_job"] [2025/04/05 07:00:48.354 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:48.359 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:queueing, SchemaState:none, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=693.863µs] [gotSchemaVersion=271] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:48.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=376] [version=271] [2025/04/05 07:00:48.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=271] ["take time"=9.087967ms] [job="ID:376, Type:create schema, State:done, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.392 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=376] [conn=2] [job="ID:376, Type:create schema, State:synced, SchemaState:public, SchemaID:375, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.303 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.402 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=376] [2025/04/05 07:00:48.402 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=271] [cur_db=] [sql="create database show_detached_job"] [user=root@%] [2025/04/05 07:00:48.416 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:48.416 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 07:00:48.421 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.426 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 377, Table Name: t1)"] [2025/04/05 07:00:48.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.49175ms] [gotSchemaVersion=272] [phyTblIDs="[377]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:48.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=378] [version=272] [2025/04/05 07:00:48.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=272] ["take time"=8.525809ms] [job="ID:378, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.456 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=378] [conn=2] [job="ID:378, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:377, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=378] [2025/04/05 07:00:48.467 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=272] [cur_db=show_detached_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:48.484 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:48.484 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 07:00:48.490 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.495 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 379, Table Name: t2)"] [2025/04/05 07:00:48.509 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.549015ms] [gotSchemaVersion=273] [phyTblIDs="[379]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:48.512 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=273] [2025/04/05 07:00:48.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=273] ["take time"=9.116923ms] [job="ID:380, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.526 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=2] [job="ID:380, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:379, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.453 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.536 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/05 07:00:48.537 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=273] [cur_db=show_detached_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:48.550 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:48.550 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/05 07:00:48.555 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:queueing, SchemaState:none, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.560 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 381, Table Name: t3)"] [2025/04/05 07:00:48.575 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.405192ms] [gotSchemaVersion=274] [phyTblIDs="[381]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:48.578 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=382] [version=274] [2025/04/05 07:00:48.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=274] ["take time"=8.811649ms] [job="ID:382, Type:create table, State:done, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:48.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.592 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=382] [conn=2] [job="ID:382, Type:create table, State:synced, SchemaState:public, SchemaID:375, TableID:381, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:48.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:48.603 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=382] [2025/04/05 07:00:48.604 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:48.610 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:48.661 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 07:00:48.679 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30005] [task-id=30005] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:48.694 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30005] [2025/04/05 07:00:48.695 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:48.797 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:48.798 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:48.798 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30005] [curr-step=init] [next-step=import] [2025/04/05 07:00:48.807 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:48.809 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 07:00:48.810 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 07:00:48.810 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=48.235µs] [2025/04/05 07:00:48.810 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=147.674µs] [] [2025/04/05 07:00:48.810 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30005] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:48.810 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:48.845 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30005] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:48.865 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30005] [step=import] [2025/04/05 07:00:48.865 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:48.874 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:48.874 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:48.874 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:48.875 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:48.875 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:48.875 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:48.875 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:48.875 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:48.875 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:48.876 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:48.889 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:48.892 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:48.892 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=752.3GB] [2025/04/05 07:00:48.892 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30005] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:48.892 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30005] [disk-quota=700.7GiB] [2025/04/05 07:00:48.892 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:48.900 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30010] [step=import] [2025/04/05 07:00:48.900 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30005] [step=import] [subtask-id=30010] [2025/04/05 07:00:48.903 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30005] [mode=Import] [2025/04/05 07:00:48.904 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 07:00:48.908 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 07:00:48.908 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=377] [2025/04/05 07:00:48.923 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30005] [2025/04/05 07:00:48.946 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=377] [key=t.csv:0] [2025/04/05 07:00:48.949 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=377] [key=t.csv:0] [readDur=1.138571ms] [encodeDur=549.856µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=598.497µs] [type=file] [takeTime=2.599576ms] [] [2025/04/05 07:00:48.950 +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/30005/4c8e15fc-755f-59dd-958d-7cda1975f957.sst/8130b74e-233e-4e44-925d-e31f80e8772f.sst] [firstKey=7480000000000001795F728000000000000001] [lastKey=7480000000000001795F728000000000000002] [2025/04/05 07:00:48.950 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/05 07:00:48.950 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/05 07:00:48.950 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 07:00:48.952 +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.160122ms] [] [2025/04/05 07:00:48.952 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [retryCnt=0] [2025/04/05 07:00:48.956 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:48.979 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:48.979 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:48.981 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001795f728000000000000001] [endOfAllRanges=7480000000000001795f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff795f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff795f728000000000ff0000030000000000fa] [2025/04/05 07:00:48.992 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=4c8e15fc-755f-59dd-958d-7cda1975f957] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:48.994 +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=41.709336ms] [] [2025/04/05 07:00:48.994 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:0] [engineUUID=4c8e15fc-755f-59dd-958d-7cda1975f957] [2025/04/05 07:00:48.995 +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.11835ms] [] [2025/04/05 07:00:48.995 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30005] [step=import] [engine-id=0] [2025/04/05 07:00:48.995 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 07:00:48.997 +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.514724ms] [] [2025/04/05 07:00:48.997 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [2025/04/05 07:00:49.001 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 07:00:49.001 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [retryCnt=0] [takeTime=3.857264ms] [] [2025/04/05 07:00:49.001 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [2025/04/05 07:00:49.002 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t1`:-1] [engineUUID=38e1d7a7-2ea1-56c0-bcef-2900d2787215] [takeTime=917.172µs] [] [2025/04/05 07:00:49.002 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30005] [step=import] [subtask-id=30010] [takeTime=102.174657ms] [] [2025/04/05 07:00:49.002 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30010] [step=import] [takeTime=102.327527ms] [] [2025/04/05 07:00:49.102 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:49.103 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:49.104 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30005] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:49.104 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30005] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:49.133 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30005] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:49.134 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30005] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:49.134 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:49.148 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:49.148 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30005] [step=import] [2025/04/05 07:00:49.151 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:49.151 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:49.151 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:49.151 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:49.151 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:49.151 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:49.151 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:49.151 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:49.151 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-76] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:49.151 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:49.151 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:49.151 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:49.153 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:49.153 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:49.153 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:49.153 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:49.153 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=261.529075ms] [] [2025/04/05 07:00:49.154 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30005] [type=ImportInto] [2025/04/05 07:00:49.164 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30005] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:49.188 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:49.199 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30011] [step=post-process] [2025/04/05 07:00:49.199 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [2025/04/05 07:00:49.200 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [2025/04/05 07:00:49.200 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [2025/04/05 07:00:49.200 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [takeTime=1.925µs] [] [2025/04/05 07:00:49.200 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 07:00:49.200 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:49.200 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [weight=30] [2025/04/05 07:00:49.200 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [concurrency=15] [2025/04/05 07:00:49.202 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=377] [physicalTableID=377] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 07:00:49.202 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:49.203 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:49.203 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [takeTime=3.004455ms] [] [2025/04/05 07:00:49.203 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30005] [step=post-process] [subtask-id=30011] [takeTime=3.152012ms] [] [2025/04/05 07:00:49.203 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [subtaskID=30011] [step=post-process] [takeTime=3.306195ms] [] [2025/04/05 07:00:49.229 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:49.302 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30005] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:49.302 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30005] [step=post-process] [state=running] [] [2025/04/05 07:00:49.305 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30005] [2025/04/05 07:00:49.322 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30005] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=134.1968ms] [] [2025/04/05 07:00:49.322 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30005] [type=ImportInto] [2025/04/05 07:00:49.398 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30005] [2025/04/05 07:00:49.404 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:49.405 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30005] [2025/04/05 07:00:49.427 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:49.699 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:49.748 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t2.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 07:00:49.767 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30006] [task-id=30006] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:49.782 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30006] [2025/04/05 07:00:49.782 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:49.885 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:49.886 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:49.887 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30006] [curr-step=init] [next-step=import] [2025/04/05 07:00:49.895 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:49.897 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 07:00:49.897 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 07:00:49.898 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=59.808µs] [2025/04/05 07:00:49.898 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=175.739µs] [] [2025/04/05 07:00:49.898 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30006] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:49.898 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:49.936 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30006] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:49.956 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30006] [step=import] [2025/04/05 07:00:49.956 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:49.966 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:49.966 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:49.967 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:49.967 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:49.967 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:49.967 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:49.967 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:49.967 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:49.968 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:49.968 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:49.981 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:49.984 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:49.984 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=752.3GB] [2025/04/05 07:00:49.984 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30006] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:49.984 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30006] [disk-quota=700.7GiB] [2025/04/05 07:00:49.984 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:49.991 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30006] [mode=Import] [2025/04/05 07:00:49.992 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30012] [step=import] [2025/04/05 07:00:49.992 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30006] [step=import] [subtask-id=30012] [2025/04/05 07:00:49.996 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 07:00:49.999 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 07:00:49.999 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=379] [2025/04/05 07:00:50.010 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30006] [2025/04/05 07:00:50.035 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [2025/04/05 07:00:50.038 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=379] [key=t2.csv:0] [readDur=910.373µs] [encodeDur=651.287µs] [checksum="{cksum=0,size=50,kvs=2}"] [deliverDur=446.59µs] [type=file] [takeTime=2.323948ms] [] [2025/04/05 07:00:50.038 +00:00] [WARN] [engine.go:1462] ["duplicated key found, skip write"] [category=ddl-ingest] [key=74800000000000017B5F728000000000000001] [2025/04/05 07:00:50.039 +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/30006/385b6216-6ebc-5909-bf6e-7976f99624d0.sst/545e70c4-0428-42bc-b1c1-75969928be89.sst] [firstKey=74800000000000017B5F728000000000000001] [lastKey=74800000000000017B5F728000000000000001] [2025/04/05 07:00:50.039 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/05 07:00:50.039 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/05 07:00:50.039 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 07:00:50.041 +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.051889ms] [] [2025/04/05 07:00:50.041 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [retryCnt=0] [2025/04/05 07:00:50.045 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:50.067 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] ["region ranges"=1] [count=2] [size=25] [2025/04/05 07:00:50.067 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:50.069 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000017b5f728000000000000001] [endOfAllRanges=74800000000000017b5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff7b5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff7b5f728000000000ff0000020000000000fa] [2025/04/05 07:00:50.080 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=385b6216-6ebc-5909-bf6e-7976f99624d0] [size=25] [kvs=2] [importedSize=25] [importedCount=1] [2025/04/05 07:00:50.082 +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=41.007748ms] [] [2025/04/05 07:00:50.082 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [2025/04/05 07:00:50.083 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:0] [engineUUID=385b6216-6ebc-5909-bf6e-7976f99624d0] [takeTime=1.151515ms] [] [2025/04/05 07:00:50.083 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30006] [step=import] [engine-id=0] [2025/04/05 07:00:50.083 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 07:00:50.085 +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.597411ms] [] [2025/04/05 07:00:50.085 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [retryCnt=0] [2025/04/05 07:00:50.089 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 07:00:50.089 +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.852008ms] [] [2025/04/05 07:00:50.089 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [2025/04/05 07:00:50.090 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t2`:-1] [engineUUID=e217af54-bdcc-5600-bbdb-9279f0f79710] [takeTime=987.056µs] [] [2025/04/05 07:00:50.091 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30006] [step=import] [subtask-id=30012] [takeTime=98.665031ms] [] [2025/04/05 07:00:50.091 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30012] [step=import] [takeTime=98.842058ms] [] [2025/04/05 07:00:50.190 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:50.191 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:50.192 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30006] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:50.192 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30006] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:50.223 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30006] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:50.224 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30006] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:50.224 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:50.237 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:50.237 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30006] [step=import] [2025/04/05 07:00:50.240 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:50.240 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:50.240 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:50.240 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:50.240 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:50.240 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:50.240 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:50.240 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:50.240 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:50.240 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-77] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:50.240 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:50.240 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:50.242 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:50.242 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:50.242 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:50.243 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:50.243 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=258.685605ms] [] [2025/04/05 07:00:50.243 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30006] [type=ImportInto] [2025/04/05 07:00:50.255 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30006] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:50.276 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:50.283 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30013] [step=post-process] [2025/04/05 07:00:50.284 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [2025/04/05 07:00:50.284 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [2025/04/05 07:00:50.284 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [2025/04/05 07:00:50.284 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [takeTime=2.455µs] [] [2025/04/05 07:00:50.284 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [groupId=-1] [size=50] [kvs=2] [checksum=0] [2025/04/05 07:00:50.284 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [checksum="{cksum=0,size=50,kvs=2}"] [2025/04/05 07:00:50.284 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [weight=30] [2025/04/05 07:00:50.284 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [concurrency=15] [2025/04/05 07:00:50.286 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=379] [physicalTableID=379] [indexID=-1] [checksum=5324322070113961250] [totalKvs=1] [totalBytes=25] [2025/04/05 07:00:50.287 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:50.287 +00:00] [ERROR] [subtask_executor.go:103] ["post process failed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [takeTime=2.934742ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func1\n\tpkg/disttask/importinto/subtask_executor.go:103\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:50.287 +00:00] [ERROR] [task_executor.go:544] ["run subtask failed"] [type=ImportInto] [task-id=30006] [step=post-process] [subtask-id=30013] [takeTime=3.239757ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:544\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:50.287 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [subtaskID=30013] [step=post-process] [takeTime=3.490417ms] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:50.287 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:50.294 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [errorVerbose="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.VerifyChecksum\n\tpkg/executor/importer/table_import.go:850\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess.func2\n\tpkg/disttask/importinto/subtask_executor.go:135\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/importinto.postProcess\n\tpkg/disttask/importinto/subtask_executor.go:134\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*postProcessStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:553\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:50.307 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:50.395 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30006] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)\\\"}\"]"] [2025/04/05 07:00:50.403 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30006] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=127.542825ms] [] [2025/04/05 07:00:50.403 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30006] [type=ImportInto] [2025/04/05 07:00:50.491 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30006] [step=post-process] [state=reverting] [error="[Lighting:Restore:ErrChecksumMismatch]checksum mismatched remote vs local => (checksum: 5324322070113961250 vs 0) (total_kvs: 1 vs 2) (total_bytes:25 vs 50)"] [2025/04/05 07:00:50.492 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30006] [step=post-process] [mode=Normal] [2025/04/05 07:00:50.498 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30006] [2025/04/05 07:00:50.585 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30006] [2025/04/05 07:00:50.592 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:50.592 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30006] [2025/04/05 07:00:50.614 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:50.783 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:50.837 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-detached-job/t.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\",\"options\":{\"detached\":null}}"] [dist-task-enabled=true] [2025/04/05 07:00:50.856 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30007] [task-id=30007] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:50.871 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30007] [2025/04/05 07:00:50.871 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:50.973 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:50.974 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:50.975 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30007] [curr-step=init] [next-step=import] [2025/04/05 07:00:50.982 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:50.985 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/05 07:00:50.985 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=536870912000] [after=3] [2025/04/05 07:00:50.985 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=43.112µs] [2025/04/05 07:00:50.986 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=157.199µs] [] [2025/04/05 07:00:50.986 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30007] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:50.986 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:51.025 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30007] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:51.044 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30007] [step=import] [2025/04/05 07:00:51.045 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:51.053 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:51.053 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:51.054 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:51.054 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:51.054 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:51.054 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:51.054 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:51.054 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:51.055 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:51.055 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:51.068 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:51.069 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:51.069 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=752.3GB] [2025/04/05 07:00:51.070 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30007] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:51.070 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:51.070 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=30007] [disk-quota=700.7GiB] [2025/04/05 07:00:51.077 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30014] [step=import] [2025/04/05 07:00:51.077 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30007] [step=import] [subtask-id=30014] [2025/04/05 07:00:51.079 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30007] [mode=Import] [2025/04/05 07:00:51.081 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:0] [engineUUID=1b1505a5-6ea7-513e-afb3-0c56d5f7e5e5] [2025/04/05 07:00:51.085 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`show_detached_job`.`t3`:-1] [engineUUID=61501221-9c0e-5dca-a32f-31aa40df2be4] [2025/04/05 07:00:51.086 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=381] [2025/04/05 07:00:51.086 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30007] [step=import] [subtask-id=30014] [takeTime=8.480803ms] [error="occur an error when sort chunk"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:51.086 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [subtaskID=30014] [step=import] [takeTime=8.795909ms] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:51.086 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:51.095 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [error="occur an error when sort chunk"] [errorVerbose="occur an error when sort chunk\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:59\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:51.098 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30007] [2025/04/05 07:00:51.182 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30007] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[0]occur an error when sort chunk\\\"}\"]"] [2025/04/05 07:00:51.200 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30007] [step=import] [2025/04/05 07:00:51.203 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:51.203 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:51.203 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:51.203 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:51.203 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:51.203 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:51.203 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:51.203 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-78] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:51.204 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:51.204 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:51.204 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:51.204 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:51.206 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:51.206 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:51.206 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:51.206 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:51.206 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30007] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=136.324109ms] [] [2025/04/05 07:00:51.206 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30007] [type=ImportInto] [2025/04/05 07:00:51.279 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30007] [step=import] [state=reverting] [error="[0]occur an error when sort chunk"] [2025/04/05 07:00:51.280 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30007] [step=import] [mode=Normal] [2025/04/05 07:00:51.295 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30007] --- PASS: TestImportInto/TestShowDetachedJob (3.03s) === NAME TestImportInto === RUN TestImportInto/TestShowJob [2025/04/05 07:00:51.374 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30007] [2025/04/05 07:00:51.375 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=274] [cur_db=show_detached_job] [sql="drop database if exists test_show_job"] [user=root@%] [2025/04/05 07:00:51.380 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:51.380 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30007] [2025/04/05 07:00:51.389 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:51.389 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create database test_show_job"] [2025/04/05 07:00:51.396 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:queueing, SchemaState:none, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.402 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:51.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=691.306µs] [gotSchemaVersion=275] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:51.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=384] [version=275] [2025/04/05 07:00:51.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=275] ["take time"=8.065469ms] [job="ID:384, Type:create schema, State:done, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.427 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=384] [conn=2] [job="ID:384, Type:create schema, State:synced, SchemaState:public, SchemaID:383, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.353 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.437 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=384] [2025/04/05 07:00:51.437 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=275] [cur_db=show_detached_job] [sql="create database test_show_job"] [user=root@%] [2025/04/05 07:00:51.453 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:51.453 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t1 (i INT PRIMARY KEY);"] [2025/04/05 07:00:51.458 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.463 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 385, Table Name: t1)"] [2025/04/05 07:00:51.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.527218ms] [gotSchemaVersion=276] [phyTblIDs="[385]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:51.481 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=276] [2025/04/05 07:00:51.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=276] ["take time"=8.86938ms] [job="ID:386, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.494 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=2] [job="ID:386, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:385, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.403 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.505 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/05 07:00:51.505 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=276] [cur_db=test_show_job] [sql="CREATE TABLE t1 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:51.517 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t2 (i INT PRIMARY KEY);"] [2025/04/05 07:00:51.517 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:51.522 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.527 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 387, Table Name: t2)"] [2025/04/05 07:00:51.540 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.465192ms] [gotSchemaVersion=277] [phyTblIDs="[387]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:51.543 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=388] [version=277] [2025/04/05 07:00:51.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=277] ["take time"=8.538403ms] [job="ID:388, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.556 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=388] [conn=2] [job="ID:388, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:387, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.503 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.567 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=388] [2025/04/05 07:00:51.567 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=277] [cur_db=test_show_job] [sql="CREATE TABLE t2 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:51.579 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:51.579 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE t3 (i INT PRIMARY KEY);"] [2025/04/05 07:00:51.585 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:queueing, SchemaState:none, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.590 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 389, Table Name: t3)"] [2025/04/05 07:00:51.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.472562ms] [gotSchemaVersion=278] [phyTblIDs="[389]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:51.607 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=390] [version=278] [2025/04/05 07:00:51.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=278] ["take time"=8.940531ms] [job="ID:390, Type:create table, State:done, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:51.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.620 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=390] [conn=2] [job="ID:390, Type:create table, State:synced, SchemaState:public, SchemaID:383, TableID:389, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:51.553 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:51.631 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=390] [2025/04/05 07:00:51.631 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="CREATE TABLE t3 (i INT PRIMARY KEY);"] [user=root@%] [2025/04/05 07:00:51.694 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job1'@'localhost';"] [user=root@%] [2025/04/05 07:00:51.741 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job1@localhost"] [user=root@%] [2025/04/05 07:00:51.793 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job1'@'localhost'"] [user=root@%] [2025/04/05 07:00:51.833 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:51.854 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] [cur_db=test_show_job] [sql="DROP USER IF EXISTS 'test_show_job2'@'localhost';"] [user=root@%] [2025/04/05 07:00:51.896 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="create user test_show_job2@localhost"] [user=root@%] [2025/04/05 07:00:51.944 +00:00] [INFO] [session.go:4118] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=278] ["secure text"="GRANT SELECT,UPDATE,INSERT,DELETE,ALTER on test_show_job.* to 'test_show_job2'@'localhost'"] [user=root@%] [2025/04/05 07:00:51.954 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:52.005 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:52.023 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30008] [task-id=30008] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:52.038 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30008] [2025/04/05 07:00:52.038 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:52.141 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:52.142 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:52.143 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30008] [curr-step=init] [next-step=import] [2025/04/05 07:00:52.150 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:52.153 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t1] [2025/04/05 07:00:52.153 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t1] [before=536870912000] [after=3] [2025/04/05 07:00:52.153 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t1] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=73.914µs] [2025/04/05 07:00:52.153 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t1] [takeTime=182.801µs] [] [2025/04/05 07:00:52.153 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30008] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:52.153 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:52.185 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30008] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:52.205 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30008] [step=import] [2025/04/05 07:00:52.206 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:52.214 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:52.214 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:52.215 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:52.215 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:52.215 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:52.215 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:52.215 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:52.215 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:52.216 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:52.216 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:52.228 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:52.230 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:52.230 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t1] [quota=752.3GB] [2025/04/05 07:00:52.231 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30008] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:52.231 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:52.231 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t1] [import-id=30008] [disk-quota=700.7GiB] [2025/04/05 07:00:52.238 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30015] [step=import] [2025/04/05 07:00:52.238 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30008] [step=import] [subtask-id=30015] [2025/04/05 07:00:52.242 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 07:00:52.246 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 07:00:52.246 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=385] [2025/04/05 07:00:52.247 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30008] [mode=Import] [2025/04/05 07:00:52.268 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30008] [2025/04/05 07:00:52.293 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=385] [key=t.csv:0] [2025/04/05 07:00:52.295 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=385] [key=t.csv:0] [readDur=886.298µs] [encodeDur=336.43µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=26.143µs] [type=file] [takeTime=1.576357ms] [] [2025/04/05 07:00:52.296 +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/30008/14a064c0-6566-52c4-87f4-e5885586fbff.sst/629d8f5b-f16e-4dd5-88fd-3edea7641e3f.sst] [firstKey=7480000000000001815F728000000000000001] [lastKey=7480000000000001815F728000000000000002] [2025/04/05 07:00:52.296 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/05 07:00:52.296 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/05 07:00:52.296 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 07:00:52.298 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [takeTime=2.198803ms] [] [2025/04/05 07:00:52.299 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [retryCnt=0] [2025/04/05 07:00:52.303 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:52.325 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:52.325 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:52.328 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001815f728000000000000001] [endOfAllRanges=7480000000000001815f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff815f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff815f728000000000ff0000030000000000fa] [2025/04/05 07:00:52.339 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=14a064c0-6566-52c4-87f4-e5885586fbff] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:52.341 +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=42.02677ms] [] [2025/04/05 07:00:52.341 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [2025/04/05 07:00:52.342 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:0] [engineUUID=14a064c0-6566-52c4-87f4-e5885586fbff] [takeTime=1.007208ms] [] [2025/04/05 07:00:52.342 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30008] [step=import] [engine-id=0] [2025/04/05 07:00:52.342 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 07:00:52.343 +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.4357ms] [] [2025/04/05 07:00:52.343 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [retryCnt=0] [2025/04/05 07:00:52.347 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 07:00:52.347 +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.774408ms] [] [2025/04/05 07:00:52.347 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [2025/04/05 07:00:52.348 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t1`:-1] [engineUUID=5da1c55c-c599-568c-8a3f-c54dc2a6d064] [takeTime=966.581µs] [] [2025/04/05 07:00:52.348 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30008] [step=import] [subtask-id=30015] [takeTime=110.22164ms] [] [2025/04/05 07:00:52.350 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30015] [step=import] [takeTime=111.528362ms] [] [2025/04/05 07:00:52.445 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:52.446 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:52.447 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30008] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:52.447 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30008] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:52.480 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30008] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:52.481 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30008] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:52.481 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:52.502 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:52.503 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30008] [step=import] [2025/04/05 07:00:52.506 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:52.506 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:52.506 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:52.506 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:52.506 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:52.506 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:52.506 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:52.506 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:52.506 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:52.506 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-79] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:52.506 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:52.506 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:52.508 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:52.508 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:52.508 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:52.509 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:52.509 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=277.900074ms] [] [2025/04/05 07:00:52.509 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30008] [type=ImportInto] [2025/04/05 07:00:52.515 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30008] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:52.535 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:52.542 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30016] [step=post-process] [2025/04/05 07:00:52.542 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [2025/04/05 07:00:52.542 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [2025/04/05 07:00:52.542 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [2025/04/05 07:00:52.542 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [takeTime=1.823µs] [] [2025/04/05 07:00:52.542 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 07:00:52.542 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:52.543 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [weight=30] [2025/04/05 07:00:52.543 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [concurrency=15] [2025/04/05 07:00:52.544 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=385] [physicalTableID=385] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 07:00:52.545 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:52.545 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:52.545 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [takeTime=2.599836ms] [] [2025/04/05 07:00:52.545 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30008] [step=post-process] [subtask-id=30016] [takeTime=2.733282ms] [] [2025/04/05 07:00:52.545 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [subtaskID=30016] [step=post-process] [takeTime=2.878631ms] [] [2025/04/05 07:00:52.571 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:52.646 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30008] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:52.646 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30008] [step=post-process] [state=running] [] [2025/04/05 07:00:52.649 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30008] [2025/04/05 07:00:52.662 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30008] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=127.125232ms] [] [2025/04/05 07:00:52.662 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30008] [type=ImportInto] [2025/04/05 07:00:52.740 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30008] [2025/04/05 07:00:52.746 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:52.747 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30008] [2025/04/05 07:00:52.766 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:52.939 +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.9912973\n# Parse_time: 0.00009068\n# Compile_time: 0.000499341\n# Rewrite_time: 0.000142731\n# Optimize_time: 0.000044683\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk5MC40bXMsIG9wZW46NTk2bnMsIGNsb3NlOjU5OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk5MC40bXMsIG9wZW46NTk2bnMsIGNsb3NlOjU5OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nuse test_show_job;\nIMPORT INTO `test_show_job`.`t1` FROM 'gs://test-show-job/t.csv?access-key=xxxxxx&endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F&secret-access-key=xxxxxx';"] [2025/04/05 07:00:52.952 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:53.000 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:53.018 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30009] [task-id=30009] [data-size=3B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:53.032 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30009] [2025/04/05 07:00:53.033 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:53.135 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:53.136 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:53.136 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30009] [curr-step=init] [next-step=import] [2025/04/05 07:00:53.144 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:53.146 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t2] [2025/04/05 07:00:53.147 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t2] [before=536870912000] [after=3] [2025/04/05 07:00:53.147 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t2] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=3] [cost=47.811µs] [2025/04/05 07:00:53.147 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t2] [takeTime=157.611µs] [] [2025/04/05 07:00:53.147 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30009] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:53.147 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:53.184 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30009] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:53.204 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30009] [step=import] [2025/04/05 07:00:53.204 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:53.212 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:53.212 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:53.213 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:53.213 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:53.213 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:53.213 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:53.213 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:53.213 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:53.214 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:53.214 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:53.227 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:53.228 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:53.228 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t2] [quota=752.3GB] [2025/04/05 07:00:53.228 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30009] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:53.229 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:53.229 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t2] [import-id=30009] [disk-quota=700.7GiB] [2025/04/05 07:00:53.236 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30017] [step=import] [2025/04/05 07:00:53.236 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30009] [step=import] [subtask-id=30017] [2025/04/05 07:00:53.240 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 07:00:53.241 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30009] [mode=Import] [2025/04/05 07:00:53.244 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 07:00:53.244 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=387] [2025/04/05 07:00:53.261 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30009] [2025/04/05 07:00:53.277 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=387] [key=t.csv:0] [2025/04/05 07:00:53.279 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=387] [key=t.csv:0] [readDur=991.093µs] [encodeDur=353.659µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=27.185µs] [type=file] [takeTime=1.648262ms] [] [2025/04/05 07:00:53.280 +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/30009/e31f885e-858e-52f9-8c22-abc4981608ce.sst/cd7e78bd-c6c9-45b8-b8f0-2b5f5f30f64e.sst] [firstKey=7480000000000001835F728000000000000001] [lastKey=7480000000000001835F728000000000000002] [2025/04/05 07:00:53.280 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/05 07:00:53.280 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/05 07:00:53.280 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 07:00:53.282 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=2.158303ms] [] [2025/04/05 07:00:53.282 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [retryCnt=0] [2025/04/05 07:00:53.288 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:53.310 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:53.310 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:53.312 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001835f728000000000000001] [endOfAllRanges=7480000000000001835f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff835f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff835f728000000000ff0000030000000000fa] [2025/04/05 07:00:53.323 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e31f885e-858e-52f9-8c22-abc4981608ce] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:53.325 +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=42.721841ms] [] [2025/04/05 07:00:53.325 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [2025/04/05 07:00:53.326 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:0] [engineUUID=e31f885e-858e-52f9-8c22-abc4981608ce] [takeTime=1.046013ms] [] [2025/04/05 07:00:53.326 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30009] [step=import] [engine-id=0] [2025/04/05 07:00:53.326 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 07:00:53.328 +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.482995ms] [] [2025/04/05 07:00:53.328 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [retryCnt=0] [2025/04/05 07:00:53.332 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 07:00:53.332 +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.773351ms] [] [2025/04/05 07:00:53.332 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [2025/04/05 07:00:53.333 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t2`:-1] [engineUUID=5351dc1f-6e44-5275-b96f-39fd5c794418] [takeTime=869.966µs] [] [2025/04/05 07:00:53.333 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30009] [step=import] [subtask-id=30017] [takeTime=96.25702ms] [] [2025/04/05 07:00:53.333 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30017] [step=import] [takeTime=96.444266ms] [] [2025/04/05 07:00:53.440 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:53.441 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:53.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30009] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:53.441 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30009] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:53.471 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30009] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":2}"] [2025/04/05 07:00:53.472 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30009] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:53.472 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:53.479 +00:00] [INFO] [task_executor.go:313] ["no subtask to run for a while, exit"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [2025/04/05 07:00:53.479 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30009] [step=import] [2025/04/05 07:00:53.482 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:53.482 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:53.482 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:53.482 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:53.482 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:53.482 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:53.482 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:53.482 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:53.482 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-80] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:53.482 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:53.483 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:53.483 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:53.485 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:53.485 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:53.485 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:53.485 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:53.485 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=256.532112ms] [] [2025/04/05 07:00:53.485 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30009] [type=ImportInto] [2025/04/05 07:00:53.505 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30009] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:53.524 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:53.532 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30018] [step=post-process] [2025/04/05 07:00:53.532 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [2025/04/05 07:00:53.532 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [2025/04/05 07:00:53.532 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [2025/04/05 07:00:53.532 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [takeTime=1.54µs] [] [2025/04/05 07:00:53.532 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [groupId=-1] [size=50] [kvs=2] [checksum=7435750759411199284] [2025/04/05 07:00:53.532 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:53.532 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [weight=30] [2025/04/05 07:00:53.532 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [concurrency=15] [2025/04/05 07:00:53.534 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=387] [physicalTableID=387] [indexID=-1] [checksum=7435750759411199284] [totalKvs=2] [totalBytes=50] [2025/04/05 07:00:53.534 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:53.534 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [local="{cksum=7435750759411199284,size=50,kvs=2}"] [2025/04/05 07:00:53.534 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [takeTime=2.604754ms] [] [2025/04/05 07:00:53.534 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30009] [step=post-process] [subtask-id=30018] [takeTime=2.73756ms] [] [2025/04/05 07:00:53.534 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [subtaskID=30018] [step=post-process] [takeTime=2.895262ms] [] [2025/04/05 07:00:53.562 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:53.640 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30009] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:53.640 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30009] [step=post-process] [state=running] [] [2025/04/05 07:00:53.642 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30009] [2025/04/05 07:00:53.672 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30009] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=147.315308ms] [] [2025/04/05 07:00:53.672 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30009] [type=ImportInto] [2025/04/05 07:00:53.735 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30009] [2025/04/05 07:00:53.741 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:53.741 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30009] [2025/04/05 07:00:53.763 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:53.934 +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.987481148\n# Parse_time: 0.000153314\n# Compile_time: 0.000452442\n# Rewrite_time: 0.000137676\n# Optimize_time: 0.000043976\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ni42bXMsIG9wZW46Njc2bnMsIGNsb3NlOjg0OG5zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjk4Ni42bXMsIG9wZW46Njc2bnMsIGNsb3NlOjg0OG5zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `test_show_job`.`t2` FROM 'gs://test-show-job/t.csv?endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F';"] [2025/04/05 07:00:53.992 +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: 1743836453997134313 [2025/04/05 07:00:54.011 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:00:54.018 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:54.068 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-show-job/t*.csv?access-key=xxxxxx\\u0026endpoint=http%3A%2F%2F127.0.0.1%3A4443%2Fstorage%2Fv1%2F\\u0026secret-access-key=xxxxxx\",\"format\":\"csv\",\"options\":{\"__max_engine_size\":\"1\",\"thread\":\"1\"}}"] [dist-task-enabled=true] [2025/04/05 07:00:54.086 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30010] [task-id=30010] [data-size=6B] [thread-cnt=1] [global-sort=false] [2025/04/05 07:00:54.099 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30010] [2025/04/05 07:00:54.100 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=1] [2025/04/05 07:00:54.203 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:54.203 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:54.204 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30010] [curr-step=init] [next-step=import] [2025/04/05 07:00:54.212 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:54.214 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=t3] [2025/04/05 07:00:54.214 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=t3] [before=1] [after=1] [2025/04/05 07:00:54.215 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=t3] [filesCount=2] [MaxChunkSize=268435456] [RegionsCount=2] [BatchSize=1] [cost=66.679µs] [2025/04/05 07:00:54.215 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=t3] [takeTime=197.993µs] [] [2025/04/05 07:00:54.215 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30010] [curr-step=init] [next-step=import] [subtask-count=2] [2025/04/05 07:00:54.215 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=1] [subtasks=2] [2025/04/05 07:00:54.244 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30010] [type=ImportInto] [concurrency=1] [remaining-slots=65] [2025/04/05 07:00:54.263 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30010] [step=import] [2025/04/05 07:00:54.263 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:54.271 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:54.271 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:54.272 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:54.272 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:54.272 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:54.272 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:54.272 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:54.272 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:54.272 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:54.273 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:54.284 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:54.286 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:54.286 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=t3] [quota=752.3GB] [2025/04/05 07:00:54.286 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30010] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:54.286 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=t3] [import-id=30010] [disk-quota=700.7GiB] [2025/04/05 07:00:54.286 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:54.294 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30019] [step=import] [2025/04/05 07:00:54.294 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30019] [2025/04/05 07:00:54.297 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 07:00:54.300 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 07:00:54.301 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/05 07:00:54.307 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30010] [mode=Import] [2025/04/05 07:00:54.326 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30010] [2025/04/05 07:00:54.377 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t.csv:0] [2025/04/05 07:00:54.378 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t.csv:0] [readDur=1.000019ms] [encodeDur=223.92µs] [checksum="{cksum=7435750759411199284,size=50,kvs=2}"] [deliverDur=65.946µs] [type=file] [takeTime=1.599032ms] [] [2025/04/05 07:00:54.379 +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/30010/e21dc392-0c66-5341-82f7-424a895bc139.sst/c4d6e499-bc58-428f-81f6-fb5bbca52d0e.sst] [firstKey=7480000000000001855F728000000000000001] [lastKey=7480000000000001855F728000000000000002] [2025/04/05 07:00:54.379 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/05 07:00:54.379 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/05 07:00:54.379 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 07:00:54.381 +00:00] [INFO] [backend.go:353] ["engine close completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [takeTime=1.96676ms] [] [2025/04/05 07:00:54.382 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [2025/04/05 07:00:54.386 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:54.408 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:54.408 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:54.409 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000001] [endOfAllRanges=7480000000000001855f728000000000000003] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [2025/04/05 07:00:54.420 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=e21dc392-0c66-5341-82f7-424a895bc139] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:54.422 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [retryCnt=0] [takeTime=40.016098ms] [] [2025/04/05 07:00:54.422 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:0] [engineUUID=e21dc392-0c66-5341-82f7-424a895bc139] [2025/04/05 07:00:54.423 +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.046895ms] [] [2025/04/05 07:00:54.423 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=0] [2025/04/05 07:00:54.423 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 07:00:54.424 +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.455529ms] [] [2025/04/05 07:00:54.424 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [retryCnt=0] [2025/04/05 07:00:54.428 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 07:00:54.428 +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.619639ms] [] [2025/04/05 07:00:54.428 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [2025/04/05 07:00:54.429 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-1] [engineUUID=7c9eb6eb-07de-5197-8ee5-9111ca7fb945] [takeTime=971.38µs] [] [2025/04/05 07:00:54.429 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30019] [takeTime=135.314736ms] [] [2025/04/05 07:00:54.429 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30019] [step=import] [takeTime=135.4636ms] [] [2025/04/05 07:00:54.474 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30020] [step=import] [2025/04/05 07:00:54.474 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30020] [2025/04/05 07:00:54.478 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 07:00:54.481 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 07:00:54.481 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=389] [2025/04/05 07:00:54.558 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [2025/04/05 07:00:54.559 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=389] [key=t2.csv:0] [readDur=866.174µs] [encodeDur=216.714µs] [checksum="{cksum=17045318164640841348,size=50,kvs=2}"] [deliverDur=25.733µs] [type=file] [takeTime=1.323693ms] [] [2025/04/05 07:00:54.560 +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/30010/69537677-8c9a-533f-9f7f-fb34aa20f14c.sst/61b204c8-3bcf-41f6-86dc-e43d64c1d545.sst] [firstKey=7480000000000001855F728000000000000003] [lastKey=7480000000000001855F728000000000000004] [2025/04/05 07:00:54.560 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=1] [2025/04/05 07:00:54.560 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=1] [2025/04/05 07:00:54.560 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 07:00:54.562 +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=1.807667ms] [] [2025/04/05 07:00:54.562 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [2025/04/05 07:00:54.566 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:54.588 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] ["region ranges"=1] [count=2] [size=50] [2025/04/05 07:00:54.588 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:54.590 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=7480000000000001855f728000000000000003] [endOfAllRanges=7480000000000001855f728000000000000005] [startKeyOfFirstRegion=7480000000000001ff855f728000000000ff0000030000000000fa] [endKeyOfLastRegion=7480000000000001ff855f728000000000ff0000050000000000fa] [2025/04/05 07:00:54.601 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=69537677-8c9a-533f-9f7f-fb34aa20f14c] [size=50] [kvs=2] [importedSize=50] [importedCount=2] [2025/04/05 07:00:54.602 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [retryCnt=0] [takeTime=40.031603ms] [] [2025/04/05 07:00:54.602 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [2025/04/05 07:00:54.603 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:1] [engineUUID=69537677-8c9a-533f-9f7f-fb34aa20f14c] [takeTime=970.686µs] [] [2025/04/05 07:00:54.603 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30010] [step=import] [engine-id=1] [2025/04/05 07:00:54.603 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 07:00:54.605 +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.388879ms] [] [2025/04/05 07:00:54.605 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [retryCnt=0] [2025/04/05 07:00:54.608 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 07:00:54.608 +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.476531ms] [] [2025/04/05 07:00:54.609 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [2025/04/05 07:00:54.609 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`test_show_job`.`t3`:-2] [engineUUID=6a110035-0122-50d7-a258-9acbba47ee50] [takeTime=903.904µs] [] [2025/04/05 07:00:54.610 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30010] [step=import] [subtask-id=30020] [takeTime=135.303269ms] [] [2025/04/05 07:00:54.610 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30020] [step=import] [takeTime=135.453857ms] [] [2025/04/05 07:00:54.707 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:54.708 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:54.709 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30010] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:54.709 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30010] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:54.739 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30010] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":4}"] [2025/04/05 07:00:54.740 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30010] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:54.740 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=1] [subtasks=1] [2025/04/05 07:00:54.768 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:54.774 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30010] [step=import] [2025/04/05 07:00:54.779 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:54.779 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:54.779 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:54.779 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:54.779 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:54.779 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:54.779 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:54.779 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-81] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:54.779 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:54.779 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:54.779 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:54.779 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:54.781 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:54.781 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:54.781 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:54.781 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:54.781 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=494.853874ms] [] [2025/04/05 07:00:54.782 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [2025/04/05 07:00:54.789 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30021] [step=post-process] [2025/04/05 07:00:54.790 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [2025/04/05 07:00:54.790 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [2025/04/05 07:00:54.790 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [2025/04/05 07:00:54.790 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [takeTime=1.617µs] [] [2025/04/05 07:00:54.790 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [groupId=-1] [size=100] [kvs=4] [checksum=10068981574061626288] [2025/04/05 07:00:54.790 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [checksum="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/05 07:00:54.790 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [weight=30] [2025/04/05 07:00:54.790 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [concurrency=15] [2025/04/05 07:00:54.792 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=389] [physicalTableID=389] [indexID=-1] [checksum=10068981574061626288] [totalKvs=4] [totalBytes=100] [2025/04/05 07:00:54.792 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:54.792 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [local="{cksum=10068981574061626288,size=100,kvs=4}"] [2025/04/05 07:00:54.792 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [takeTime=2.512017ms] [] [2025/04/05 07:00:54.792 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30010] [step=post-process] [subtask-id=30021] [takeTime=2.641764ms] [] [2025/04/05 07:00:54.792 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [subtaskID=30021] [step=post-process] [takeTime=2.775526ms] [] [2025/04/05 07:00:54.806 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30010] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:54.807 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30010] [step=post-process] [state=running] [] [2025/04/05 07:00:54.809 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30010] [2025/04/05 07:00:54.810 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:54.837 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30010] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=1, Mem=496.5MiB]"] [takeTime=54.762161ms] [] [2025/04/05 07:00:54.837 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30010] [type=ImportInto] [2025/04/05 07:00:54.902 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30010] [2025/04/05 07:00:54.907 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:54.908 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30010] [2025/04/05 07:00:54.927 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:55.001 +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.988497705\n# Parse_time: 0.000138034\n# Compile_time: 0.000503762\n# Rewrite_time: 0.000138605\n# Optimize_time: 0.000043729\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('SvBJMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjk4Ny42bXMsIG9wZW46Njg1bnMsIGNsb3NlOjEuMDnCtXMsIGxvb3BzOjIJTi9BCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('ZfBSCmEKDEltcG9ydEludG9fMjABOAFAAVIDTi9BWjB0aW1lOjk4Ny42bXMsIG9wZW46Njg1bnMsIGNsb3NlOjEuMDnCtXMsIGxvb3BzOjJw//////8BAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.64s) === NAME TestImportInto === RUN TestImportInto/TestZeroDateTime [2025/04/05 07:00:55.020 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:55.020 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="DROP DATABASE IF EXISTS import_into;"] [2025/04/05 07:00:55.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:queueing, SchemaState:public, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.041 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=190.244µs] [gotSchemaVersion=279] [phyTblIDs="[256,258]"] [actionTypes="[2,2]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:55.044 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=279] [2025/04/05 07:00:55.046 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=279] ["take time"=7.097673ms] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.055 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:write only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.068 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=139.14µs] [gotSchemaVersion=280] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:55.071 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=280] [2025/04/05 07:00:55.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=280] ["take time"=6.948245ms] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:running, SchemaState:delete only, SchemaID:254, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.087 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop schema)"] [2025/04/05 07:00:55.097 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=132.967µs] [gotSchemaVersion=281] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"drop schema\"]"] [2025/04/05 07:00:55.100 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=281] [2025/04/05 07:00:55.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"=6.902959ms] [job="ID:391, Type:drop schema, State:done, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.110 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=391] [tableIDs="[256,258]"] [comment="drop schema: table IDs"] [2025/04/05 07:00:55.115 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=391] [jobType="drop schema"] [2025/04/05 07:00:55.116 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=2] [job="ID:391, Type:drop schema, State:synced, SchemaState:none, SchemaID:254, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.003 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.131 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/05 07:00:55.132 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=281] [cur_db=test_show_job] [sql="DROP DATABASE IF EXISTS import_into;"] [user=root@%] [2025/04/05 07:00:55.143 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:55.143 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE import_into;"] [2025/04/05 07:00:55.148 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:queueing, SchemaState:none, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.161 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=640.082µs] [gotSchemaVersion=282] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 07:00:55.164 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=282] [2025/04/05 07:00:55.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=282] ["take time"=7.405874ms] [job="ID:393, Type:create schema, State:done, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.176 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=2] [job="ID:393, Type:create schema, State:synced, SchemaState:public, SchemaID:392, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.103 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/05 07:00:55.185 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=282] [cur_db=test_show_job] [sql="CREATE DATABASE import_into;"] [user=root@%] [2025/04/05 07:00:55.198 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:55.198 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table import_into.zero_time_table(t datetime)"] [2025/04/05 07:00:55.203 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.207 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: zero_time_table)"] [2025/04/05 07:00:55.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.436638ms] [gotSchemaVersion=283] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:55.224 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=283] [2025/04/05 07:00:55.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=283] ["take time"=8.145561ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.236 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=2] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.153 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/05 07:00:55.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=283] [cur_db=test_show_job] [sql="create table import_into.zero_time_table(t datetime)"] [user=root@%] [2025/04/05 07:00:55.254 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:55.303 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:55.322 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30011] [task-id=30011] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:55.337 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30011] [2025/04/05 07:00:55.337 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:55.439 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:55.440 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:55.441 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30011] [curr-step=init] [next-step=import] [2025/04/05 07:00:55.448 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:55.451 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/05 07:00:55.452 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/05 07:00:55.452 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=44.835µs] [2025/04/05 07:00:55.452 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=149.308µs] [] [2025/04/05 07:00:55.452 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30011] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:55.452 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:55.485 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30011] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:55.504 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30011] [step=import] [2025/04/05 07:00:55.504 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:55.513 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:55.513 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:55.513 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:55.514 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:55.514 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:55.514 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:55.514 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:55.514 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:55.514 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:55.515 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:55.528 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:55.530 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:55.530 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=752.3GB] [2025/04/05 07:00:55.530 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30011] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:55.530 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=30011] [disk-quota=700.7GiB] [2025/04/05 07:00:55.530 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:55.537 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30022] [step=import] [2025/04/05 07:00:55.537 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30011] [step=import] [subtask-id=30022] [2025/04/05 07:00:55.541 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 07:00:55.545 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 07:00:55.545 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=394] [2025/04/05 07:00:55.546 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30011] [mode=Import] [2025/04/05 07:00:55.548 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [2025/04/05 07:00:55.550 +00:00] [INFO] [chunk_process.go:334] ["process chunk completed"] [type=ImportInto] [table-id=394] [key=zero_time.csv:0] [readDur=1.074766ms] [encodeDur=550.784µs] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [deliverDur=215.602µs] [type=file] [takeTime=2.170536ms] [] [2025/04/05 07:00:55.551 +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/30011/b03a8272-790c-5766-99b7-2cad67f1945e.sst/b8127fb6-fa31-4879-8379-1b82ccce9b88.sst] [firstKey=74800000000000018A5F728000000000000001] [lastKey=74800000000000018A5F728000000000000001] [2025/04/05 07:00:55.551 +00:00] [INFO] [task_executor.go:217] ["on subtask finished"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/05 07:00:55.551 +00:00] [INFO] [task_executor.go:231] ["import data engine"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/05 07:00:55.551 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 07:00:55.553 +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.89781ms] [] [2025/04/05 07:00:55.553 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [2025/04/05 07:00:55.557 +00:00] [INFO] [local.go:1332] ["pause pd scheduler of table scope"] [category=ddl-ingest] [2025/04/05 07:00:55.565 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30011] [2025/04/05 07:00:55.579 +00:00] [INFO] [local.go:1370] ["start import engine"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] ["region ranges"=1] [count=1] [size=36] [2025/04/05 07:00:55.579 +00:00] [INFO] [local.go:905] ["import engine ranges"] [category=ddl-ingest] [len(regionSplitKeyCnt)=2] [2025/04/05 07:00:55.581 +00:00] [INFO] [local.go:1087] ["generate region jobs"] [category=ddl-ingest] [len(jobs)=1] [startOfAllRanges=74800000000000018a5f728000000000000001] [endOfAllRanges=74800000000000018a5f728000000000000002] [startKeyOfFirstRegion=7480000000000001ff8a5f728000000000ff0000010000000000fa] [endKeyOfLastRegion=7480000000000001ff8a5f728000000000ff0000020000000000fa] [2025/04/05 07:00:55.592 +00:00] [INFO] [local.go:1381] ["import engine success"] [category=ddl-ingest] [uuid=b03a8272-790c-5766-99b7-2cad67f1945e] [size=36] [kvs=1] [importedSize=36] [importedCount=1] [2025/04/05 07:00:55.594 +00:00] [INFO] [backend.go:399] ["import completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [retryCnt=0] [takeTime=40.731487ms] [] [2025/04/05 07:00:55.594 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 07:00:55.595 +00:00] [INFO] [backend.go:414] ["cleanup completed"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [takeTime=1.223064ms] [] [2025/04/05 07:00:55.595 +00:00] [INFO] [task_executor.go:242] ["import index engine"] [type=ImportInto] [task-id=30011] [step=import] [engine-id=0] [2025/04/05 07:00:55.595 +00:00] [INFO] [backend.go:351] ["engine close start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 07:00:55.597 +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.446466ms] [] [2025/04/05 07:00:55.597 +00:00] [INFO] [backend.go:393] ["import start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [retryCnt=0] [2025/04/05 07:00:55.600 +00:00] [INFO] [local.go:1321] ["engine contains no kv, skip import"] [category=ddl-ingest] [engine=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 07:00:55.601 +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.798753ms] [] [2025/04/05 07:00:55.601 +00:00] [INFO] [backend.go:412] ["cleanup start"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 07:00:55.602 +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=947.431µs] [] [2025/04/05 07:00:55.602 +00:00] [INFO] [task_executor.go:129] ["run subtask completed"] [type=ImportInto] [task-id=30011] [step=import] [subtask-id=30022] [takeTime=64.345245ms] [] [2025/04/05 07:00:55.602 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30022] [step=import] [takeTime=64.505399ms] [] [2025/04/05 07:00:55.645 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=import] [next-step=post-process] [2025/04/05 07:00:55.646 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:55.647 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30011] [curr-step=import] [next-step=post-process] [2025/04/05 07:00:55.647 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30011] [curr-step=import] [next-step=post-process] [mode=Normal] [2025/04/05 07:00:55.677 +00:00] [INFO] [scheduler.go:336] ["move to post-process step "] [type=ImportInto] [task-id=30011] [curr-step=import] [next-step=post-process] [result="{\"LoadedRowCnt\":1}"] [2025/04/05 07:00:55.678 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30011] [curr-step=import] [next-step=post-process] [subtask-count=1] [2025/04/05 07:00:55.678 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=running] [step=post-process] [concurrency=8] [subtasks=1] [2025/04/05 07:00:55.705 +00:00] [INFO] [task_executor.go:269] ["task meta modification applied"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [oldStep=import] [newStep=post-process] [2025/04/05 07:00:55.712 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30011] [step=import] [2025/04/05 07:00:55.715 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:55.715 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:55.715 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:55.715 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:55.715 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:55.715 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:55.715 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:55.715 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:55.715 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-82] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:55.715 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:55.715 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:55.715 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:55.717 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:55.718 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:55.718 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:55.718 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:55.718 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=187.841155ms] [] [2025/04/05 07:00:55.719 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:55.726 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30023] [step=post-process] [2025/04/05 07:00:55.727 +00:00] [INFO] [task_executor.go:542] ["run subtask start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [2025/04/05 07:00:55.727 +00:00] [INFO] [subtask_executor.go:101] ["post process start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [2025/04/05 07:00:55.727 +00:00] [INFO] [table_import.go:788] ["rebase allocators start"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [2025/04/05 07:00:55.733 +00:00] [INFO] [table_import.go:790] ["rebase allocators completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [takeTime=6.189837ms] [] [2025/04/05 07:00:55.733 +00:00] [INFO] [subtask_executor.go:119] ["kv group checksum"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [groupId=-1] [size=36] [kvs=1] [checksum=17635129825516565724] [2025/04/05 07:00:55.733 +00:00] [INFO] [table_import.go:835] ["local checksum"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [checksum="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/05 07:00:55.733 +00:00] [INFO] [table_import.go:950] ["set backoff weight"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [weight=30] [2025/04/05 07:00:55.733 +00:00] [INFO] [table_import.go:901] ["checksum with adjusted distsql scan concurrency"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [concurrency=15] [2025/04/05 07:00:55.735 +00:00] [INFO] [checksum.go:79] ["got one checksum result"] [tableID=394] [physicalTableID=394] [indexID=-1] [checksum=17635129825516565724] [totalKvs=1] [totalBytes=36] [2025/04/05 07:00:55.736 +00:00] [WARN] [sqlkiller.go:61] ["kill initiated"] ["connection ID"=0] [reason="[executor:1317]Query execution was interrupted"] [2025/04/05 07:00:55.736 +00:00] [INFO] [table_import.go:861] ["checksum pass"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [local="{cksum=17635129825516565724,size=36,kvs=1}"] [2025/04/05 07:00:55.736 +00:00] [INFO] [subtask_executor.go:103] ["post process completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [takeTime=9.018575ms] [] [2025/04/05 07:00:55.736 +00:00] [INFO] [task_executor.go:544] ["run subtask completed"] [type=ImportInto] [task-id=30011] [step=post-process] [subtask-id=30023] [takeTime=9.178606ms] [] [2025/04/05 07:00:55.736 +00:00] [INFO] [task_executor.go:464] ["run subtask completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [subtaskID=30023] [step=post-process] [takeTime=9.333689ms] [] [2025/04/05 07:00:55.763 +00:00] [WARN] [sqlkiller.go:137] ["kill finished"] [conn=0] [2025/04/05 07:00:55.845 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30011] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=post-process] [next-step=done] [2025/04/05 07:00:55.845 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30011] [step=post-process] [state=running] [] [2025/04/05 07:00:55.847 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30011] [2025/04/05 07:00:55.878 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30011] [task-type=ImportInto] [server-id=:4000] [step=post-process] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=158.616278ms] [] [2025/04/05 07:00:55.878 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30011] [type=ImportInto] [2025/04/05 07:00:55.939 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30011] [2025/04/05 07:00:55.940 +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.691256833\n# Parse_time: 0.000067178\n# Compile_time: 0.000436415\n# Rewrite_time: 0.000132929\n# Optimize_time: 0.000207983\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('SPBHMAk1OV8yCTAJMAlOL0EJMQl0aW1lOjY5MC41bXMsIG9wZW46NTgybnMsIGNsb3NlOjk5N25zLCBsb29wczoyCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('Y/BPCl8KDEltcG9ydEludG9fMjABOAFAAVIDTi9BWi50aW1lOjY5MC41bXMsIG9wZW46NTgybnMsIGNsb3NlOjk5N25zLCBsb29wczoycP////8FAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\nIMPORT INTO `import_into`.`zero_time_table` FROM 'gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/';"] [2025/04/05 07:00:55.946 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:55.946 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30011] [2025/04/05 07:00:55.957 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:55.957 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table import_into.zero_time_table"] [2025/04/05 07:00:55.962 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:queueing, SchemaState:none, SchemaID:392, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:55.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:55.967 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:55.970 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 396, Table Name: zero_time_table, Old Table ID: 394, Old Table Name: zero_time_table)"] [2025/04/05 07:00:55.984 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.543954ms] [gotSchemaVersion=284] [phyTblIDs="[394,396]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:55.988 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=284] [2025/04/05 07:00:55.990 +00:00] [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.85051ms] [job="ID:397, Type:truncate table, State:done, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:56.000 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=397] [tableIDs="[394]"] [comment="truncate table: table ID"] [2025/04/05 07:00:56.005 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=397] [jobType="truncate table"] [2025/04/05 07:00:56.006 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=2] [job="ID:397, Type:truncate table, State:synced, SchemaState:public, SchemaID:392, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:55.903 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:56.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/05 07:00:56.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=284] [cur_db=test_show_job] [sql="truncate table import_into.zero_time_table"] [user=root@%] [2025/04/05 07:00:56.029 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:56.078 +00:00] [INFO] [import_into.go:214] ["get job importer"] [param="{\"file-location\":\"gs://test-load/zero_time.csv?endpoint=http://127.0.0.1:4443/storage/v1/\",\"format\":\"csv\"}"] [dist-task-enabled=true] [2025/04/05 07:00:56.097 +00:00] [INFO] [job.go:107] ["job submitted to task queue"] [job-id=30012] [task-id=30012] [data-size=20B] [thread-cnt=8] [global-sort=false] [2025/04/05 07:00:56.112 +00:00] [INFO] [scheduler_manager.go:346] ["task scheduler started"] [server-id=:4000] [task-id=30012] [2025/04/05 07:00:56.112 +00:00] [INFO] [scheduler.go:119] ["schedule task"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [concurrency=8] [2025/04/05 07:00:56.214 +00:00] [INFO] [scheduler.go:449] ["switch to next step"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [current-step=init] [next-step=import] [2025/04/05 07:00:56.215 +00:00] [INFO] [scheduler.go:479] ["eligible instances"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [num=1] [2025/04/05 07:00:56.216 +00:00] [INFO] [scheduler.go:275] ["on next subtasks batch"] [type=ImportInto] [task-id=30012] [curr-step=init] [next-step=import] [2025/04/05 07:00:56.223 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:56.227 +00:00] [INFO] [table_import.go:386] ["populate chunks start"] [table=zero_time_table] [2025/04/05 07:00:56.227 +00:00] [INFO] [table_import.go:397] ["adjust max engine size"] [table=zero_time_table] [before=536870912000] [after=20] [2025/04/05 07:00:56.227 +00:00] [INFO] [region.go:291] [makeTableRegions] [table=zero_time_table] [filesCount=1] [MaxChunkSize=268435456] [RegionsCount=1] [BatchSize=20] [cost=66.237µs] [2025/04/05 07:00:56.227 +00:00] [INFO] [table_import.go:388] ["populate chunks completed"] [table=zero_time_table] [takeTime=197.9µs] [] [2025/04/05 07:00:56.228 +00:00] [INFO] [scheduler.go:364] ["generate subtasks"] [type=ImportInto] [task-id=30012] [curr-step=init] [next-step=import] [subtask-count=1] [2025/04/05 07:00:56.228 +00:00] [INFO] [scheduler.go:505] ["schedule subtasks"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [state=pending] [step=import] [concurrency=8] [subtasks=1] [2025/04/05 07:00:56.266 +00:00] [INFO] [manager.go:332] ["task executor started"] [server-id=:4000] [task-id=30012] [type=ImportInto] [concurrency=8] [remaining-slots=58] [2025/04/05 07:00:56.286 +00:00] [INFO] [task_executor.go:98] ["init subtask env"] [type=ImportInto] [task-id=30012] [step=import] [2025/04/05 07:00:56.286 +00:00] [INFO] [gcs.go:452] ["resetting gcs storage"] [2025/04/05 07:00:56.295 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:56.295 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719518345996787] [2025/04/05 07:00:56.295 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:56.295 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:56.296 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:56.296 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:56.296 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:56.296 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:56.296 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:56.296 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:56.309 +00:00] [INFO] [local.go:756] ["multi ingest support"] [category=ddl-ingest] [2025/04/05 07:00:56.311 +00:00] [INFO] [local.go:778] ["TiKV server side free space check is enabled, so lightning will turn it off"] [category=ddl-ingest] [2025/04/05 07:00:56.311 +00:00] [INFO] [table_import.go:739] ["use 0.8 of the storage size as default disk quota"] [table=zero_time_table] [quota=752.3GB] [2025/04/05 07:00:56.311 +00:00] [INFO] [task_executor.go:118] ["KV writer memory buf info"] [type=ImportInto] [task-id=30012] [step=import] [data-buf-limit=248.2MiB] [per-index-buf-limit=82.75MiB] [index-buf-block-size=82.75MiB] [2025/04/05 07:00:56.312 +00:00] [INFO] [table_import.go:554] ["start checking disk quota"] [table=zero_time_table] [import-id=30012] [disk-quota=700.7GiB] [2025/04/05 07:00:56.312 +00:00] [INFO] [task_executor.go:375] ["execute task step start"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [2025/04/05 07:00:56.322 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [task-id=30012] [mode=Import] [2025/04/05 07:00:56.323 +00:00] [INFO] [task_executor.go:437] ["run subtask start"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30024] [step=import] [2025/04/05 07:00:56.323 +00:00] [INFO] [task_executor.go:127] ["run subtask start"] [type=ImportInto] [task-id=30012] [step=import] [subtask-id=30024] [2025/04/05 07:00:56.327 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:0] [engineUUID=b03a8272-790c-5766-99b7-2cad67f1945e] [2025/04/05 07:00:56.331 +00:00] [INFO] [backend.go:274] ["open engine"] [category=ddl-ingest] [engineTag=`import_into`.`zero_time_table`:-1] [engineUUID=bded5148-7505-502f-9c47-c93111ef3c71] [2025/04/05 07:00:56.331 +00:00] [INFO] [subtask_executor.go:56] ["execute chunk"] [type=ImportInto] [table-id=396] [2025/04/05 07:00:56.334 +00:00] [INFO] [chunk_process.go:330] ["process chunk start"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [2025/04/05 07:00:56.336 +00:00] [ERROR] [chunk_process.go:334] ["process chunk failed"] [type=ImportInto] [table-id=396] [key=zero_time.csv:0] [takeTime=1.460711ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func1\n\tpkg/executor/importer/chunk_process.go:334\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process\n\tpkg/executor/importer/chunk_process.go:354\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunkWithWriter\n\tpkg/executor/importer/engine_process.go:113\ngithub.com/pingcap/tidb/pkg/executor/importer.ProcessChunk\n\tpkg/executor/importer/engine_process.go:67\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importMinimalTaskExecutor).Run\n\tpkg/disttask/importinto/subtask_executor.go:66\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*chunkWorker).HandleTask\n\tpkg/disttask/importinto/encode_and_sort_operator.go:200\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).handleTaskWithRecover\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:149\ngithub.com/pingcap/tidb/pkg/resourcemanager/pool/workerpool.(*WorkerPool[...]).runAWorker.func1\n\tpkg/resourcemanager/pool/workerpool/workerpool.go:165\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 07:00:56.336 +00:00] [ERROR] [task_executor.go:129] ["run subtask failed"] [type=ImportInto] [task-id=30012] [step=import] [subtask-id=30024] [takeTime=12.928753ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask.func1\n\tpkg/disttask/importinto/task_executor.go:129\ngithub.com/pingcap/tidb/pkg/disttask/importinto.(*importStepExecutor).RunSubtask\n\tpkg/disttask/importinto/task_executor.go:200\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask.func1\n\tpkg/disttask/framework/taskexecutor/task_executor.go:460\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).runSubtask\n\tpkg/disttask/framework/taskexecutor/task_executor.go:461\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:339\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:56.336 +00:00] [INFO] [task_executor.go:464] ["run subtask failed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [subtaskID=30024] [step=import] [takeTime=13.260064ms] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:56.336 +00:00] [WARN] [task_executor.go:706] ["subtask failed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:56.344 +00:00] [INFO] [scheduler.go:97] ["register task to pd or refresh lease success"] [task-id=30012] [2025/04/05 07:00:56.344 +00:00] [ERROR] [task_executor.go:344] ["run subtask failed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [error="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [errorVerbose="[Lightning:Restore:ErrEncodeKV]encode kv error in file zero_time.csv:0 at offset 20: [types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/executor/importer.(*chunkEncoder).encodeLoop\n\tpkg/executor/importer/chunk_process.go:286\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.func3\n\tpkg/executor/importer/chunk_process.go:346\ngithub.com/pingcap/tidb/pkg/executor/importer.(*baseChunkProcessor).Process.(*ErrorGroupWithRecover).Go.func5\n\tpkg/util/wait_group_wrapper.go:260\ngolang.org/x/sync/errgroup.(*Group).Go.func1\n\texternal/org_golang_x_sync/errgroup/errgroup.go:78\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*BaseTaskExecutor).Run\n\tpkg/disttask/framework/taskexecutor/task_executor.go:344\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).startTaskExecutor.func2\n\tpkg/disttask/framework/taskexecutor/manager.go:343\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181"] [2025/04/05 07:00:56.423 +00:00] [WARN] [scheduler.go:389] ["subtasks encounter errors"] [task-id=30012] [task-type=ImportInto] [allocated-slots=true] [server-id=:4000] [subtask-errs="[\"{error=\\\"[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'\\\"}\"]"] [2025/04/05 07:00:56.432 +00:00] [INFO] [task_executor.go:290] ["cleanup subtask env"] [type=ImportInto] [task-id=30012] [step=import] [2025/04/05 07:00:56.435 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:56.435 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:56.435 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:56.435 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:56.435 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:56.435 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:56.435 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:56.435 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:56.435 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-83] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:56.435 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:56.436 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:56.436 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:56.544 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=lightning] [2025/04/05 07:00:56.545 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:56.545 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:56.545 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:56.545 +00:00] [INFO] [task_executor.go:402] ["execute task step completed"] [task-id=30012] [task-type=ImportInto] [server-id=:4000] [step=import] [mem-limit-percent=0.7] [server-mem-limit=80%] [resource="[CPU=8, Mem=3.879GiB]"] [takeTime=233.310615ms] [] [2025/04/05 07:00:56.545 +00:00] [INFO] [manager.go:337] ["task executor exit"] [server-id=:4000] [task-id=30012] [type=ImportInto] [2025/04/05 07:00:56.552 +00:00] [INFO] [scheduler.go:375] ["task done"] [type=ImportInto] [task-id=30012] [step=import] [state=reverting] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [2025/04/05 07:00:56.553 +00:00] [INFO] [tikv_mode.go:61] ["switch tikv mode"] [type=ImportInto] [task-id=30012] [step=import] [mode=Normal] [2025/04/05 07:00:56.569 +00:00] [INFO] [scheduler.go:112] ["unregister task success"] [task-id=30012] [2025/04/05 07:00:56.615 +00:00] [INFO] [scheduler_manager.go:355] ["task scheduler exit"] [server-id=:4000] [task-id=30012] [2025/04/05 07:00:56.621 +00:00] [INFO] [scheduler_manager.go:401] ["cleanup routine start"] [server-id=:4000] [2025/04/05 07:00:56.621 +00:00] [INFO] [scheduler_manager.go:415] ["cleanup task"] [server-id=:4000] [task-id=30012] [2025/04/05 07:00:56.642 +00:00] [INFO] [scheduler_manager.go:408] ["cleanup routine success"] [server-id=:4000] [2025/04/05 07:00:56.712 +00:00] [ERROR] [handle.go:110] ["task reverted"] [task-id=30012] [error="[types:1292]Incorrect datetime value: '1990-01-00 00:00:00'"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/handle.WaitTaskDoneOrPaused\n\tpkg/disttask/framework/handle/handle.go:110\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).waitTask\n\tpkg/executor/import_into.go:233\ngithub.com/pingcap/tidb/pkg/executor.(*ImportIntoExec).Next\n\tpkg/executor/import_into.go:137\ngithub.com/pingcap/tidb/pkg/executor/internal/exec.Next\n\tpkg/executor/internal/exec/executor.go:460\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).next\n\tpkg/executor/adapter.go:1273\ngithub.com/pingcap/tidb/pkg/executor.(*recordSet).Next\n\tpkg/executor/adapter.go:172\ngithub.com/pingcap/tidb/pkg/session.GetRows4Test\n\tpkg/session/tidb.go:343\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).QueryToErr\n\tpkg/testkit/testkit.go:304\ntests/realtikvtest/importintotest/importintotest_test.(*mockGCSSuite).TestZeroDateTime\n\ttests/realtikvtest/importintotest/import_into_test.go:1239\nreflect.Value.call\n\tGOROOT/src/reflect/value.go:584\nreflect.Value.Call\n\tGOROOT/src/reflect/value.go:368\ngithub.com/stretchr/testify/suite.Run.func1\n\texternal/com_github_stretchr_testify/suite/suite.go:202\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690"] [2025/04/05 07:00:56.713 +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.689214653\n# Parse_time: 0.000076859\n# Compile_time: 0.000466462\n# Rewrite_time: 0.000153835\n# Optimize_time: 0.000235948\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('SPBHMAk1OV8yCTAJMAlOL0EJMAl0aW1lOjY4OC4zbXMsIG9wZW46Njg2bnMsIGNsb3NlOjk2Nm5zLCBsb29wczoxCU4vQQlOL0EK')\n# Binary_plan: tidb_decode_binary_plan('YfBMCl0KDEltcG9ydEludG9fMjgBQAFSA04vQVoudGltZTo2ODguM21zLCBvcGVuOjY4Nm5zLCBjbG9zZTo5NjZucywgbG9vcHM6MXD///8JAzQBeP///////////wEYAQ==')\n# Resource_group: default\n# Tikv_cpu_time: 0.000026676\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.71s) === NAME TestImportInto [2025/04/05 07:00:56.734 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:56.734 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:56.734 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [] [2025/04/05 07:00:56.734 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.734 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:56.734 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:56.734 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=107.472µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=74.947µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=61.644µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=65.567µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=59.962µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=71.498µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=64.022µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=60.5µs] [2025/04/05 07:00:56.735 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=64.309µs] [2025/04/05 07:00:56.736 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=63.556µs] [2025/04/05 07:00:56.736 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.736 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.737 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:56.737 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:56.767 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] ["take time"=33.162735ms] [2025/04/05 07:00:56.767 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.767 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:56.767 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 07:00:56.767 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/e24f24ff-02ff-45a1-a8e4-e3bbbe7f6235] [watcherID=b4874e46-2640-4a23-92f4-44ac01f59977] [2025/04/05 07:00:56.767 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e24f24ff-02ff-45a1-a8e4-e3bbbe7f6235] [2025/04/05 07:00:56.767 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [ttl-worker=task-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [originalCount=4] [newCount=0] [2025/04/05 07:00:56.768 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:56.768 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:56.768 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:56.768 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:56.768 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [ttl-worker=task-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [originalCount=4] [newCount=0] [2025/04/05 07:00:56.771 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:56.771 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:56.771 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:56.771 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:56.774 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.774 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1981] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:56.775 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.776 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.776 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:56.775 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:56.776 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:56.776 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:56.775 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:56.775 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [] [2025/04/05 07:00:56.775 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [2025/04/05 07:00:56.776 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:56.776 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:56.776 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.776 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:56.775 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:56.775 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:56.777 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.777 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.778 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 07:00:56.778 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:56.778 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:56.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:56.778 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:56.778 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:56.778 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b99a5b1a-eb07-4005-8f5f-f421f20fe0d1] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:56.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:56.778 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:56.778 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [] [2025/04/05 07:00:56.779 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:56.779 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.779 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.779 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [2025/04/05 07:00:56.779 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 07:00:56.779 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:56.778 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:56.780 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:56.780 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 07:00:56.780 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:56.780 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [error="context canceled"] [2025/04/05 07:00:56.780 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:56.780 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=11481896-320b-42d5-9536-a91650f0f0fe] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:56.784 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:56.784 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:56.839 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:56.839 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:56.852 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=118.275252ms] [2025/04/05 07:00:56.855 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:56.855 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:56.855 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:56.855 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:56.855 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:56.855 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:56.855 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:56.855 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:56.855 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:56.855 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:56.855 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:56.855 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:56.857 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestImportInto (117.86s) === NAME PASS ================================================================================ Target //tests/realtikvtest/importintotest:importintotest_test up-to-date: bazel-bin/tests/realtikvtest/importintotest/importintotest_test_/importintotest_test INFO: Elapsed time: 186.869s, Critical Path: 166.68s INFO: 4748 processes: 4704 remote cache hit, 13 internal, 31 linux-sandbox. INFO: Build completed successfully, 4748 total actions //tests/realtikvtest/importintotest:importintotest_test PASSED in 122.1s PASSED importintotest_test.TestImportInto (117.9s) PASSED importintotest_test.TestImportInto/TestAddIndexBySQL (0.0s) PASSED importintotest_test.TestImportInto/TestAnalyze (0.0s) PASSED importintotest_test.TestImportInto/TestBadCases (1.5s) PASSED importintotest_test.TestImportInto/TestBasicImportInto (17.6s) PASSED importintotest_test.TestImportInto/TestCancelJob (4.9s) PASSED importintotest_test.TestImportInto/TestChecksumNotMatch (3.0s) PASSED importintotest_test.TestImportInto/TestColumnsAndUserVars (1.3s) PASSED importintotest_test.TestImportInto/TestDeliverBytesRows (1.7s) PASSED importintotest_test.TestImportInto/TestDetachedLoadParquet (2.1s) PASSED importintotest_test.TestImportInto/TestDiskQuota (1.5s) PASSED importintotest_test.TestImportInto/TestGBK (3.5s) PASSED importintotest_test.TestImportInto/TestGeneratedColumnsAndTSVFile (6.1s) PASSED importintotest_test.TestImportInto/TestIgnoreNLines (3.4s) PASSED importintotest_test.TestImportInto/TestImportIntoPrivilegePositiveCase (2.9s) PASSED importintotest_test.TestImportInto/TestImportIntoWithFK (1.3s) PASSED importintotest_test.TestImportInto/TestImportMode (12.6s) PASSED importintotest_test.TestImportInto/TestInputCountMisMatchAndDefault (2.8s) 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.1s) PASSED importintotest_test.TestImportInto/TestMaxWriteSpeed (11.8s) PASSED importintotest_test.TestImportInto/TestMultiValueIndex (1.3s) PASSED importintotest_test.TestImportInto/TestOtherCharset (5.7s) PASSED importintotest_test.TestImportInto/TestPreCheckCDCPiTRTasks (1.3s) 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.8s) PASSED importintotest_test.TestImportInto/TestShowDetachedJob (3.0s) PASSED importintotest_test.TestImportInto/TestShowJob (3.6s) 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 [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/foreign_key.test: ok! 318 test cases passed, take time 7.894041259 s ./t/executor/grant.test: ok! 209 test cases passed, take time 1.406405022 s ./t/executor/import_into.test: ok! 99 test cases passed, take time 0.146054844 s ./t/executor/index_lookup_join.test: ok! 190 test cases passed, take time 1.848860523 s ./t/executor/index_lookup_merge_join.test: ok! 83 test cases passed, take time 1.004486683 s ./t/executor/index_merge_reader.test: ok! 244 test cases passed, take time 5.472436132 s [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 44s remote-cache, linux-sandbox ./t/executor/infoschema_reader.test: ok! 220 test cases passed, take time 4.451144855 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; 218s 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: 418.792s, Critical Path: 400.48s INFO: 4580 processes: 4043 remote cache hit, 13 internal, 524 linux-sandbox. INFO: Build completed successfully, 4580 total actions //tests/realtikvtest/brietest:brietest_test PASSED in 218.8s PASSED brietest_test.TestBackupAndRestore (10.4s) PASSED brietest_test.TestCancel (1.3s) PASSED brietest_test.TestExistedTables (9.1s) PASSED brietest_test.TestExistedTablesOfIncremental (19.9s) 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.6s) PASSED brietest_test.TestOperator (2.0s) PASSED brietest_test.TestPiTRAndBackupInSQL (19.2s) PASSED brietest_test.TestPiTRAndBothEncrypted (4.3s) PASSED brietest_test.TestPiTRAndEncryptedFullBackup (4.6s) PASSED brietest_test.TestPiTRAndEncryptedLogBackup (4.4s) PASSED brietest_test.TestPiTRAndFailureRestore (19.5s) PASSED brietest_test.TestPiTRAndIncrementalRestore (8.4s) PASSED brietest_test.TestPiTRAndManyBackups (31.6s) PASSED brietest_test.TestPiTRAndRestoreFromMid (31.7s) PASSED brietest_test.TestPiTRPauseMessage (3.6s) PASSED brietest_test.TestRestoreMultiTables (15.6s) PASSED brietest_test.TestShowBackupQuery (5.8s) PASSED brietest_test.TestShowBackupQueryRedact (1.4s) Test cases: finished with 21 passing and 0 failing out of 21 test cases Executed 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,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 68s 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; 221s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test; 104s remote-cache, linux-sandbox ./t/executor/insert.test: ok! 1281 test cases passed, take time 65.307038973 s ./t/executor/inspection_common.test: ok! 4 test cases passed, take time 0.001665392 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/05 06:58:37.576 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:37.577 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:37.578 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:58:37.579 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:37.579 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:37.579 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:37.579 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:37.579 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:37.579 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:37.580 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:37.580 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:37.585 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:37.592 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.593 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.594 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:37.617 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.617 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.622 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.622 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.633 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(65535) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:37.655 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:37.677 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:37.723 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1546] ["lease id"=6f189604bcf95151] [2025/04/05 06:58:37.725 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:37.733 +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/05 06:58:37.839 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=0] ["elapsed time"=105.245375ms] [2025/04/05 06:58:37.839 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:37.840 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 06:58:37.840 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:37.840 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:37.842 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:37.844 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:37.844 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176389632/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:37.844 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:37.844 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:37.845 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.845 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [2025/04/05 06:58:37.846 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf952ee] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:37.846 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:37.846 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ownerKey=/tidb/ddl/fg/owner/22319604bcf952ee] [currRev=92] [2025/04/05 06:58:37.847 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:37.847 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:37.848 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:37.848 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf950f4] [ownerID=f2fbb1cc-6abb-40d8-ae11-c12217994721] [op=none] [2025/04/05 06:58:37.848 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [2025/04/05 06:58:37.848 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf950f4] [currRev=93] [2025/04/05 06:58:37.848 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf952ee] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:37.848 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:37.848 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:37.851 +00:00] [WARN] [domain.go:318] ["failed to get schema version"] [error="There is no Write MVCC info for the schema version"] [errorVerbose="There is no Write MVCC info for the schema version\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).getTimestampForSchemaVersionWithNonEmptyDiff\n\tpkg/domain/domain.go:448\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).loadInfoSchema\n\tpkg/domain/domain.go:316\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).Reload\n\tpkg/domain/domain.go:795\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).mustReloadSchemas\n\tpkg/ddl/job_scheduler.go:455\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).schedule\n\tpkg/ddl/job_scheduler.go:301\ngithub.com/pingcap/tidb/pkg/ddl.(*jobScheduler).scheduleLoop\n\tpkg/ddl/job_scheduler.go:268\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).RunWithLog.func1\n\tpkg/util/wait_group_wrapper.go:181\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [version=0] [2025/04/05 06:58:37.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS test"] [2025/04/05 06:58:37.867 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:37.873 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:queueing, SchemaState:none, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.012 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=1] ["elapsed time"=123.745763ms] [2025/04/05 06:58:38.012 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:38.017 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=3] [version=1] [2025/04/05 06:58:38.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=1] ["take time"=133.435444ms] [job="ID:3, Type:create schema, State:done, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:37.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.033 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=3] [job="ID:3, Type:create schema, State:synced, SchemaState:public, SchemaID:2, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:37.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.048 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=3] [2025/04/05 06:58:38.048 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS test"] [user=] [2025/04/05 06:58:38.050 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=1] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS `mysql`"] [user=] [2025/04/05 06:58:38.053 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=UTC] [2025/04/05 06:58:38.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.088 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.143 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=1] [neededSchemaVersion=2] ["elapsed time"=7.393145ms] [gotSchemaVersion=2] [phyTblIDs="[4]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.146 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=5] [version=2] [2025/04/05 06:58:38.148 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=2] ["take time"=14.350033ms] [job="ID:5, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.167 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=5] [job="ID:5, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:4, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.199 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=5] [2025/04/05 06:58:38.199 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=2] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.user (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tauthentication_string\tTEXT,\n\t\tplugin\t\t\t\t\tCHAR(64),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tProcess_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_db_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tSuper_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_user_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_slave_priv\t \tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tRepl_client_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_role_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_role_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAccount_locked\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShutdown_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReload_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tFILE_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tConfig_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_Tablespace_Priv ENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_reuse_history smallint unsigned DEFAULT NULL,\n\t\tPassword_reuse_time smallint unsigned DEFAULT NULL,\n\t\tUser_attributes\t\t\tjson,\n\t\tToken_issuer\t\t\tVARCHAR(255),\n\t\tPassword_expired\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPassword_last_changed\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP(),\n\t\tPassword_lifetime\t\tSMALLINT UNSIGNED DEFAULT NULL,\n\t\tMax_user_connections \tINT UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (Host, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.213 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.213 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [2025/04/05 06:58:38.219 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.238 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=2] [neededSchemaVersion=3] ["elapsed time"=2.10304ms] [gotSchemaVersion=3] [phyTblIDs="[6]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.242 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.242 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=7] [version=3] [2025/04/05 06:58:38.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=3] ["take time"=9.213799ms] [job="ID:7, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.254 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=7] [job="ID:7, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:6, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.267 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=7] [2025/04/05 06:58:38.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=3] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.password_history (\n Host char(255) NOT NULL DEFAULT '',\n User char(32) NOT NULL DEFAULT '',\n Password_timestamp timestamp(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n Password text,\n PRIMARY KEY (Host,User,Password_timestamp )\n ) COMMENT='Password history for user accounts' "] [user=] [2025/04/05 06:58:38.281 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.281 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [2025/04/05 06:58:38.287 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.305 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=3] [neededSchemaVersion=4] ["elapsed time"=2.091306ms] [gotSchemaVersion=4] [phyTblIDs="[8]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.309 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.309 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=9] [version=4] [2025/04/05 06:58:38.310 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=4] ["take time"=9.032376ms] [job="ID:9, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.321 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=9] [job="ID:9, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:8, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=9] [2025/04/05 06:58:38.334 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=4] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_priv (Host CHAR(255) NOT NULL DEFAULT '',User CHAR(80) NOT NULL DEFAULT '',Priv LONGTEXT NOT NULL DEFAULT '',PRIMARY KEY (Host, User),KEY i_user (User))"] [user=] [2025/04/05 06:58:38.358 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.358 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.365 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.400 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=4] [neededSchemaVersion=5] ["elapsed time"=4.398706ms] [gotSchemaVersion=5] [phyTblIDs="[10]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.403 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=11] [version=5] [2025/04/05 06:58:38.405 +00:00] [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.50941ms] [job="ID:11, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.419 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=11] [job="ID:11, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:10, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.440 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=11] [2025/04/05 06:58:38.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=5] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.db (\n\t\tHost\t\t\t\t\tCHAR(255),\n\t\tDB\t\t\t\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\t\t\t\tCHAR(32),\n\t\tSelect_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tInsert_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tUpdate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDelete_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tDrop_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tGrant_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tReferences_priv \t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tIndex_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_tmp_table_priv\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tLock_tables_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_view_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tShow_view_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tCreate_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tAlter_routine_priv\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tExecute_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tEvent_priv\t\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tTrigger_priv\t\t\tENUM('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (Host, DB, User),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.456 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.456 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.462 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=5] [neededSchemaVersion=6] ["elapsed time"=2.902383ms] [gotSchemaVersion=6] [phyTblIDs="[12]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.490 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=13] [version=6] [2025/04/05 06:58:38.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=6] ["take time"=9.829693ms] [job="ID:13, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.503 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=13] [job="ID:13, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:12, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.519 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=13] [2025/04/05 06:58:38.519 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=6] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tables_priv (\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tGrantor\t\tCHAR(77),\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tTable_priv\tSET('Select','Insert','Update','Delete','Create','Drop','Grant','Index','Alter','Create View','Show View','Trigger','References'),\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.533 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [2025/04/05 06:58:38.539 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.561 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=6] [neededSchemaVersion=7] ["elapsed time"=2.66335ms] [gotSchemaVersion=7] [phyTblIDs="[14]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.564 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.564 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=15] [version=7] [2025/04/05 06:58:38.566 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=7] ["take time"=9.237782ms] [job="ID:15, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.577 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=15] [job="ID:15, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:14, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=15] [2025/04/05 06:58:38.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=7] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.columns_priv(\n\t\tHost\t\tCHAR(255),\n\t\tDB\t\t\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tUser\t\tCHAR(32),\n\t\tTable_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tColumn_name\tCHAR(64) CHARSET utf8mb4 COLLATE utf8mb4_general_ci,\n\t\tTimestamp\tTIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tColumn_priv\tSET('Select','Insert','Update','References'),\n\t\tPRIMARY KEY (Host, DB, User, Table_name, Column_name),\n\t\tKEY i_user (User));"] [user=] [2025/04/05 06:58:38.604 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.604 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [2025/04/05 06:58:38.609 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.626 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=7] [neededSchemaVersion=8] ["elapsed time"=1.792773ms] [gotSchemaVersion=8] [phyTblIDs="[16]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.629 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.629 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=17] [version=8] [2025/04/05 06:58:38.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=8] ["take time"=8.177029ms] [job="ID:17, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.641 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=17] [job="ID:17, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:16, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.652 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=17] [2025/04/05 06:58:38.652 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=8] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.GLOBAL_VARIABLES(\n\t\tVARIABLE_NAME VARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE VARCHAR(16383) DEFAULT NULL);"] [user=] [2025/04/05 06:58:38.665 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.665 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [2025/04/05 06:58:38.671 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.688 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=8] [neededSchemaVersion=9] ["elapsed time"=1.774057ms] [gotSchemaVersion=9] [phyTblIDs="[18]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.691 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=19] [version=9] [2025/04/05 06:58:38.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=9] ["take time"=8.161766ms] [job="ID:19, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.703 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=19] [job="ID:19, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:18, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=19] [2025/04/05 06:58:38.715 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=9] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb(\n\t\tVARIABLE_NAME \tVARCHAR(64) NOT NULL PRIMARY KEY,\n\t\tVARIABLE_VALUE \tVARCHAR(1024) DEFAULT NULL,\n\t\tCOMMENT \t\tVARCHAR(1024));"] [user=] [2025/04/05 06:58:38.728 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.728 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [2025/04/05 06:58:38.734 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.753 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=9] [neededSchemaVersion=10] ["elapsed time"=2.250977ms] [gotSchemaVersion=10] [phyTblIDs="[20]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.757 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.757 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=21] [version=10] [2025/04/05 06:58:38.758 +00:00] [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.307922ms] [job="ID:21, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=21] [job="ID:21, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:20, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.782 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=21] [2025/04/05 06:58:38.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=10] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.help_topic (\n \t\thelp_topic_id \t\tINT(10) UNSIGNED NOT NULL,\n \t\tname \t\t\t\tCHAR(64) NOT NULL,\n \t\thelp_category_id \tSMALLINT(5) UNSIGNED NOT NULL,\n \t\tdescription \t\tTEXT NOT NULL,\n \t\texample \t\t\tTEXT NOT NULL,\n \t\turl \t\t\t\tTEXT NOT NULL,\n \t\tPRIMARY KEY (help_topic_id) clustered,\n \t\tUNIQUE KEY name (name)\n\t\t) ENGINE=InnoDB DEFAULT CHARSET=utf8 STATS_PERSISTENT=0 COMMENT='help topics';"] [user=] [2025/04/05 06:58:38.796 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.796 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [2025/04/05 06:58:38.802 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.821 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=10] [neededSchemaVersion=11] ["elapsed time"=2.044349ms] [gotSchemaVersion=11] [phyTblIDs="[22]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.824 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.824 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=23] [version=11] [2025/04/05 06:58:38.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=11] ["take time"=8.090477ms] [job="ID:23, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=23] [job="ID:23, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:22, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.845 +00:00] [WARN] [runaway.go:85] ["failed to start runaway manager loop, please check whether the bootstrap or update is finished"] [error="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist"] [errorVerbose="[schema:1146]Table 'mysql.tidb_runaway_watch' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternalStmt\n\tpkg/session/session.go:2019\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL.func1\n\tpkg/session/session.go:1984\ngithub.com/pingcap/tidb/pkg/session.(*session).withRestrictedSQLExecutor\n\tpkg/session/session.go:1970\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecRestrictedSQL\n\tpkg/session/session.go:1974\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.ExecRCRestrictedSQL\n\tpkg/resourcegroup/runaway/record.go:382\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*systemTableReader).Read\n\tpkg/resourcegroup/runaway/syncer.go:192\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.getRunawayWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:76\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getWatchRecord\n\tpkg/resourcegroup/runaway/syncer.go:67\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*syncer).getNewWatchRecords\n\tpkg/resourcegroup/runaway/syncer.go:59\ngithub.com/pingcap/tidb/pkg/resourcegroup/runaway.(*Manager).UpdateNewAndDoneWatch\n\tpkg/resourcegroup/runaway/manager.go:402\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).runawayStartLoop\n\tpkg/domain/runaway.go:75\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupEnhancedWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:103\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:38.848 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=23] [2025/04/05 06:58:38.848 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=11] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta (\n\t\tversion \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\ttable_id \t\tBIGINT(64) NOT NULL,\n\t\tmodify_count\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcount \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tsnapshot BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tINDEX idx_ver(version),\n\t\tUNIQUE INDEX tbl(table_id)\n\t);"] [user=] [2025/04/05 06:58:38.850 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(6291456) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:38.866 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.866 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:38.872 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=11] [neededSchemaVersion=12] ["elapsed time"=3.099085ms] [gotSchemaVersion=12] [phyTblIDs="[24]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.902 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=25] [version=12] [2025/04/05 06:58:38.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=12] ["take time"=10.330615ms] [job="ID:25, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.916 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=25] [job="ID:25, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:24, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.934 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=25] [2025/04/05 06:58:38.934 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=12] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_histograms (\n\t\ttable_id \t\t\tBIGINT(64) NOT NULL,\n\t\tis_index \t\t\tTINYINT(2) NOT NULL,\n\t\thist_id \t\t\tBIGINT(64) NOT NULL,\n\t\tdistinct_count \t\tBIGINT(64) NOT NULL,\n\t\tnull_count \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\ttot_col_size \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tmodify_count \t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tversion \t\t\tBIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tcm_sketch \t\t\tBLOB(6291456),\n\t\tstats_ver \t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tflag \t\t\t\tBIGINT(64) NOT NULL DEFAULT 0,\n\t\tcorrelation \t\tDOUBLE NOT NULL DEFAULT 0,\n\t\tlast_analyze_pos \tLONGBLOB DEFAULT NULL,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:38.949 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:38.949 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [2025/04/05 06:58:38.955 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.978 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=12] [neededSchemaVersion=13] ["elapsed time"=2.654259ms] [gotSchemaVersion=13] [phyTblIDs="[26]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:38.981 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:38.981 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=27] [version=13] [2025/04/05 06:58:38.983 +00:00] [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.471054ms] [job="ID:27, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:38.995 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=27] [job="ID:27, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:26, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.010 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=27] [2025/04/05 06:58:39.010 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=13] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_buckets (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tbucket_id \tBIGINT(64) NOT NULL,\n\t\tcount \t\tBIGINT(64) NOT NULL,\n\t\trepeats \tBIGINT(64) NOT NULL,\n\t\tupper_bound LONGBLOB NOT NULL,\n\t\tlower_bound LONGBLOB ,\n\t\tndv BIGINT NOT NULL DEFAULT 0,\n\t\tUNIQUE INDEX tbl(table_id, is_index, hist_id, bucket_id)\n\t);"] [user=] [2025/04/05 06:58:39.025 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.025 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:39.031 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.055 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=13] [neededSchemaVersion=14] ["elapsed time"=2.218275ms] [gotSchemaVersion=14] [phyTblIDs="[28]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.059 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.059 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=29] [version=14] [2025/04/05 06:58:39.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=14] ["take time"=9.524818ms] [job="ID:29, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:38.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.072 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=29] [job="ID:29, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:28, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:38.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.084 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=29] [2025/04/05 06:58:39.085 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=14] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:39.099 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.099 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [2025/04/05 06:58:39.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.125 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=14] [neededSchemaVersion=15] ["elapsed time"=2.153248ms] [gotSchemaVersion=15] [phyTblIDs="[30]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.128 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.128 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=31] [version=15] [2025/04/05 06:58:39.130 +00:00] [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.800307ms] [job="ID:31, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.140 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=31] [job="ID:31, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:30, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.154 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=31] [2025/04/05 06:58:39.154 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=15] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.gc_delete_range_done (\n\t\tjob_id \t\tBIGINT NOT NULL COMMENT \"the DDL job ID\",\n\t\telement_id \tBIGINT NOT NULL COMMENT \"the schema element ID\",\n\t\tstart_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tend_key \tVARCHAR(255) NOT NULL COMMENT \"encoded in hex\",\n\t\tts \t\t\tBIGINT NOT NULL COMMENT \"timestamp in uint64\",\n\t\tUNIQUE KEY delete_range_done_index (job_id, element_id)\n\t);"] [user=] [2025/04/05 06:58:39.167 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.167 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.172 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=15] [neededSchemaVersion=16] ["elapsed time"=2.00151ms] [gotSchemaVersion=16] [phyTblIDs="[32]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.194 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=33] [version=16] [2025/04/05 06:58:39.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=16] ["take time"=8.684594ms] [job="ID:33, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.206 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=33] [job="ID:33, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:32, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=33] [2025/04/05 06:58:39.218 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=16] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_feedback (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tfeedback \tBLOB NOT NULL,\n\t\tINDEX hist(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.232 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.232 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [2025/04/05 06:58:39.237 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.257 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=16] [neededSchemaVersion=17] ["elapsed time"=2.266163ms] [gotSchemaVersion=17] [phyTblIDs="[34]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.261 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.261 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=35] [version=17] [2025/04/05 06:58:39.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=17] ["take time"=8.845042ms] [job="ID:35, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.273 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=35] [job="ID:35, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:34, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.285 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=35] [2025/04/05 06:58:39.286 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=17] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.role_edges (\n\t\tFROM_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tFROM_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_HOST \t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tTO_USER \t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tWITH_ADMIN_OPTION \tENUM('N','Y') CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (FROM_HOST,FROM_USER,TO_HOST,TO_USER)\n\t);"] [user=] [2025/04/05 06:58:39.299 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.299 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [2025/04/05 06:58:39.304 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.323 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=17] [neededSchemaVersion=18] ["elapsed time"=2.225064ms] [gotSchemaVersion=18] [phyTblIDs="[36]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.326 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.326 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=37] [version=18] [2025/04/05 06:58:39.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=18] ["take time"=8.778454ms] [job="ID:37, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.338 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=37] [job="ID:37, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:36, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.352 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=37] [2025/04/05 06:58:39.352 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=18] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.default_roles (\n\t\tHOST \t\t\t\tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tUSER \t\t\t\tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tDEFAULT_ROLE_HOST \tCHAR(60) COLLATE utf8_bin NOT NULL DEFAULT '%',\n\t\tDEFAULT_ROLE_USER \tCHAR(32) COLLATE utf8_bin NOT NULL DEFAULT '',\n\t\tPRIMARY KEY (HOST,USER,DEFAULT_ROLE_HOST,DEFAULT_ROLE_USER),\n\t\tKEY i_user (USER))"] [user=] [2025/04/05 06:58:39.368 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.368 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:39.374 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.399 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=18] [neededSchemaVersion=19] ["elapsed time"=3.121516ms] [gotSchemaVersion=19] [phyTblIDs="[38]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.402 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.402 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=39] [version=19] [2025/04/05 06:58:39.404 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=19] ["take time"=9.773563ms] [job="ID:39, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.416 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=39] [job="ID:39, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:38, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.433 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=39] [2025/04/05 06:58:39.433 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=19] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.bind_info (\n\t\toriginal_sql LONGTEXT NOT NULL,\n\t\tbind_sql LONGTEXT NOT NULL,\n\t\tdefault_db TEXT NOT NULL,\n\t\tstatus TEXT NOT NULL,\n\t\tcreate_time TIMESTAMP(3) NOT NULL,\n\t\tupdate_time TIMESTAMP(3) NOT NULL,\n\t\tcharset TEXT NOT NULL,\n\t\tcollation TEXT NOT NULL,\n\t\tsource VARCHAR(10) NOT NULL DEFAULT 'unknown',\n\t\tsql_digest varchar(64) DEFAULT NULL,\n\t\tplan_digest varchar(64) DEFAULT NULL,\n\t\tINDEX sql_index(original_sql(700),default_db(68)) COMMENT \"accelerate the speed when add global binding query\",\n\t\tINDEX time_index(update_time) COMMENT \"accelerate the speed when querying with last update time\",\n\t\tUNIQUE INDEX digest_index(plan_digest, sql_digest) COMMENT \"avoid duplicated records\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:39.454 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.454 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.460 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=19] [neededSchemaVersion=20] ["elapsed time"=2.236917ms] [gotSchemaVersion=20] [phyTblIDs="[40]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.484 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=41] [version=20] [2025/04/05 06:58:39.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=20] ["take time"=8.933067ms] [job="ID:41, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.496 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=41] [job="ID:41, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:40, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.508 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=41] [2025/04/05 06:58:39.509 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=20] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_top_n (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tcount \t\tBIGINT(64) UNSIGNED NOT NULL,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.521 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.521 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [2025/04/05 06:58:39.527 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.545 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=20] [neededSchemaVersion=21] ["elapsed time"=1.78266ms] [gotSchemaVersion=21] [phyTblIDs="[42]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.548 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=43] [version=21] [2025/04/05 06:58: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=21] ["take time"=8.257828ms] [job="ID:43, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.559 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=43] [job="ID:43, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:42, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.570 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=43] [2025/04/05 06:58:39.571 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=21] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.expr_pushdown_blacklist (\n\t\tname \t\tCHAR(100) NOT NULL,\n\t\tstore_type \tCHAR(100) NOT NULL DEFAULT 'tikv,tiflash,tidb',\n\t\treason \t\tVARCHAR(200)\n\t);"] [user=] [2025/04/05 06:58:39.583 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.583 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [2025/04/05 06:58:39.586 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:39.588 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.604 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=21] [neededSchemaVersion=22] ["elapsed time"=1.473625ms] [gotSchemaVersion=22] [phyTblIDs="[44]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.608 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.608 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=45] [version=22] [2025/04/05 06:58:39.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=22] ["take time"=9.174101ms] [job="ID:45, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.619 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=45] [job="ID:45, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:44, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.629 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=45] [2025/04/05 06:58:39.629 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=22] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.opt_rule_blacklist (\n\t\tname \tCHAR(100) NOT NULL\n\t);"] [user=] [2025/04/05 06:58:39.644 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.644 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [2025/04/05 06:58:39.650 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.673 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=22] [neededSchemaVersion=23] ["elapsed time"=2.75253ms] [gotSchemaVersion=23] [phyTblIDs="[46]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.676 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.676 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=47] [version=23] [2025/04/05 06:58:39.678 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=23] ["take time"=9.652113ms] [job="ID:47, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.690 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=47] [job="ID:47, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:46, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.704 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=47] [2025/04/05 06:58:39.705 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=23] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_extended (\n\t\tname varchar(32) NOT NULL,\n\t\ttype tinyint(4) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcolumn_ids varchar(32) NOT NULL,\n\t\tstats blob DEFAULT NULL,\n\t\tversion bigint(64) unsigned NOT NULL,\n\t\tstatus tinyint(4) NOT NULL,\n\t\tPRIMARY KEY(name, table_id),\n\t\tKEY idx_1 (table_id, status, version),\n\t\tKEY idx_2 (status, version)\n\t);"] [user=] [2025/04/05 06:58:39.718 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.718 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [2025/04/05 06:58:39.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.746 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=23] [neededSchemaVersion=24] ["elapsed time"=2.058624ms] [gotSchemaVersion=24] [phyTblIDs="[48]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.750 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.750 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=49] [version=24] [2025/04/05 06:58:39.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=24] ["take time"=9.517908ms] [job="ID:49, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.762 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=49] [job="ID:49, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:48, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=49] [2025/04/05 06:58:39.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=24] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_fm_sketch (\n\t\ttable_id \tBIGINT(64) NOT NULL,\n\t\tis_index \tTINYINT(2) NOT NULL,\n\t\thist_id \tBIGINT(64) NOT NULL,\n\t\tvalue \t\tLONGBLOB,\n\t\tINDEX tbl(table_id, is_index, hist_id)\n\t);"] [user=] [2025/04/05 06:58:39.789 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.789 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [2025/04/05 06:58:39.794 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.813 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=24] [neededSchemaVersion=25] ["elapsed time"=2.126844ms] [gotSchemaVersion=25] [phyTblIDs="[50]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.816 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=51] [version=25] [2025/04/05 06:58:39.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=25] ["take time"=8.543549ms] [job="ID:51, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.828 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=51] [job="ID:51, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:50, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.841 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=51] [2025/04/05 06:58:39.841 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=25] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.global_grants (\n\t\tUSER char(32) NOT NULL DEFAULT '',\n\t\tHOST char(255) NOT NULL DEFAULT '',\n\t\tPRIV char(32) NOT NULL DEFAULT '',\n\t\tWITH_GRANT_OPTION enum('N','Y') NOT NULL DEFAULT 'N',\n\t\tPRIMARY KEY (USER,HOST,PRIV),\n\t\tKEY i_user (USER)\n\t);"] [user=] [2025/04/05 06:58:39.844 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:39.844 +00:00] [WARN] [info.go:562] ["response not 200"] [method=GET] [host=127.0.0.1:2384] [url=/pd/api/v1/config/rule_group/tiflash] ["http status"=404] [2025/04/05 06:58:39.854 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [2025/04/05 06:58:39.854 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.859 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.877 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=25] [neededSchemaVersion=26] ["elapsed time"=2.075336ms] [gotSchemaVersion=26] [phyTblIDs="[52]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.880 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.880 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=53] [version=26] [2025/04/05 06:58:39.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=26] ["take time"=8.781062ms] [job="ID:53, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.892 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=53] [job="ID:53, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:52, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.904 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=53] [2025/04/05 06:58:39.905 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=26] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.capture_plan_baselines_blacklist (\n\t\tid bigint(64) auto_increment,\n\t\tfilter_type varchar(32) NOT NULL COMMENT \"type of the filter, only db, table and frequency supported now\",\n\t\tfilter_value varchar(32) NOT NULL,\n\t\tkey idx(filter_type),\n\t\tprimary key(id)\n\t);"] [user=] [2025/04/05 06:58:39.917 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.918 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [2025/04/05 06:58:39.923 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.941 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=26] [neededSchemaVersion=27] ["elapsed time"=2.014039ms] [gotSchemaVersion=27] [phyTblIDs="[54]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:39.944 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:39.944 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=55] [version=27] [2025/04/05 06:58:39.946 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=27] ["take time"=8.63756ms] [job="ID:55, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.956 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=55] [job="ID:55, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:54, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:39.968 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=55] [2025/04/05 06:58:39.968 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=27] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.column_stats_usage (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tcolumn_id BIGINT(64) NOT NULL,\n\t\tlast_used_at TIMESTAMP,\n\t\tlast_analyzed_at TIMESTAMP,\n\t\tPRIMARY KEY (table_id, column_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:39.981 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:39.981 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [2025/04/05 06:58:39.986 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=27] [neededSchemaVersion=28] ["elapsed time"=1.856999ms] [gotSchemaVersion=28] [phyTblIDs="[56]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.008 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.009 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=57] [version=28] [2025/04/05 06:58:40.010 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=28] ["take time"=8.618336ms] [job="ID:57, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.021 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=57] [job="ID:57, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:56, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.033 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=57] [2025/04/05 06:58:40.033 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=28] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.table_cache_meta (\n\t\ttid bigint(11) NOT NULL DEFAULT 0,\n\t\tlock_type enum('NONE','READ', 'INTEND', 'WRITE') NOT NULL DEFAULT 'NONE',\n\t\tlease bigint(20) NOT NULL DEFAULT 0,\n\t\toldReadLease bigint(20) NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (tid)\n\t);"] [user=] [2025/04/05 06:58:40.035 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(19372) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:40.047 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.047 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [2025/04/05 06:58:40.053 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.073 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=28] [neededSchemaVersion=29] ["elapsed time"=2.279718ms] [gotSchemaVersion=29] [phyTblIDs="[58]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.076 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.076 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=59] [version=29] [2025/04/05 06:58:40.078 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=29] ["take time"=8.697344ms] [job="ID:59, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.089 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=59] [job="ID:59, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:58, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:39.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.102 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=59] [2025/04/05 06:58:40.102 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=29] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_options (\n\t\ttable_id BIGINT(64) NOT NULL,\n\t\tsample_num BIGINT(64) NOT NULL DEFAULT 0,\n\t\tsample_rate DOUBLE NOT NULL DEFAULT -1,\n\t\tbuckets BIGINT(64) NOT NULL DEFAULT 0,\n\t\ttopn BIGINT(64) NOT NULL DEFAULT -1,\n\t\tcolumn_choice enum('DEFAULT','ALL','PREDICATE','LIST') NOT NULL DEFAULT 'DEFAULT',\n\t\tcolumn_ids TEXT(19372),\n\t\tPRIMARY KEY (table_id) CLUSTERED\n\t);"] [user=] [2025/04/05 06:58:40.116 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.116 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:40.122 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.142 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=29] [neededSchemaVersion=30] ["elapsed time"=2.438008ms] [gotSchemaVersion=30] [phyTblIDs="[60]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.146 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.146 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=61] [version=30] [2025/04/05 06:58:40.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=30] ["take time"=8.860499ms] [job="ID:61, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.158 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=61] [job="ID:61, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:60, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.172 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=61] [2025/04/05 06:58:40.172 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=30] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tstats_data longblob NOT NULL,\n\t\tseq_no bigint(64) NOT NULL comment 'sequence number of the gzipped data slice',\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version_seq (table_id, version, seq_no),\n\t\tKEY table_create_time (table_id, create_time, seq_no),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:40.186 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.186 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [2025/04/05 06:58:40.192 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.213 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=30] [neededSchemaVersion=31] ["elapsed time"=2.567294ms] [gotSchemaVersion=31] [phyTblIDs="[62]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.216 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.216 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=63] [version=31] [2025/04/05 06:58:40.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=31] ["take time"=8.887046ms] [job="ID:63, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=63] [job="ID:63, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:62, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.242 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=63] [2025/04/05 06:58:40.243 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=31] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_meta_history (\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL,\n\t\tcount bigint(64) NOT NULL,\n\t\tversion bigint(64) NOT NULL comment 'stats version which corresponding to stats:version in EXPLAIN',\n \tsource varchar(40) NOT NULL,\n\t\tcreate_time datetime(6) NOT NULL,\n\t\tUNIQUE KEY table_version (table_id, version),\n\t\tKEY table_create_time (table_id, create_time),\n \tKEY idx_create_time (create_time)\n\t);"] [user=] [2025/04/05 06:58:40.260 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.260 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [2025/04/05 06:58:40.266 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.295 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=31] [neededSchemaVersion=32] ["elapsed time"=3.633546ms] [gotSchemaVersion=32] [phyTblIDs="[64]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.298 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.298 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=65] [version=32] [2025/04/05 06:58:40.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=32] ["take time"=11.05505ms] [job="ID:65, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.313 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=65] [job="ID:65, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:64, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.330 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=65] [2025/04/05 06:58:40.330 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=32] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.analyze_jobs (\n\t\tid BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\ttable_schema CHAR(64) NOT NULL DEFAULT '',\n\t\ttable_name CHAR(64) NOT NULL DEFAULT '',\n\t\tpartition_name CHAR(64) NOT NULL DEFAULT '',\n\t\tjob_info TEXT NOT NULL,\n\t\tprocessed_rows BIGINT(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tstart_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tstate ENUM('pending', 'running', 'finished', 'failed') NOT NULL,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the analyze job',\n\t\tprocess_id BIGINT(64) UNSIGNED comment 'ID of the process executing the analyze job',\n\t\tPRIMARY KEY (id),\n\t\tKEY (update_time),\n\t\tINDEX idx_schema_table_state (table_schema, table_name, state),\n\t\tINDEX idx_schema_table_partition_state (table_schema, table_name, partition_name, state)\n\t);"] [user=] [2025/04/05 06:58:40.342 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.342 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [2025/04/05 06:58:40.348 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.364 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=32] [neededSchemaVersion=33] ["elapsed time"=1.693032ms] [gotSchemaVersion=33] [phyTblIDs="[66]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.368 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.368 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=67] [version=33] [2025/04/05 06:58:40.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=33] ["take time"=8.30057ms] [job="ID:67, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.379 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=67] [job="ID:67, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:66, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.390 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=67] [2025/04/05 06:58:40.390 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=33] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.advisory_locks (\n\t\tlock_name VARCHAR(64) NOT NULL PRIMARY KEY\n\t);"] [user=] [2025/04/05 06:58:40.407 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.407 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE SQL SECURITY INVOKER VIEW mysql.tidb_mdl_view as (\n\t\tSELECT tidb_mdl_info.job_id,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.schema_name\")) as db_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.table_name\")) as table_name,\n\t\t\tJSON_UNQUOTE(JSON_EXTRACT(cast(cast(job_meta as char) as json), \"$.query\")) as query,\n\t\t\tsession_id,\n\t\t\tcluster_tidb_trx.start_time,\n\t\t\ttidb_decode_sql_digests(all_sql_digests, 4096) AS SQL_DIGESTS\n\t\tFROM mysql.tidb_ddl_job,\n\t\t\tmysql.tidb_mdl_info,\n\t\t\tinformation_schema.cluster_tidb_trx\n\t\tWHERE tidb_ddl_job.job_id=tidb_mdl_info.job_id\n\t\t\tAND CONCAT(',', tidb_mdl_info.table_ids, ',') REGEXP CONCAT(',(', REPLACE(cluster_tidb_trx.related_table_ids, ',', '|'), '),') != 0\n\t);"] [2025/04/05 06:58:40.413 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:queueing, SchemaState:none, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.434 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=33] [neededSchemaVersion=34] ["elapsed time"=2.307372ms] [gotSchemaVersion=34] [phyTblIDs="[68]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:40.438 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.438 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=69] [version=34] [2025/04/05 06:58:40.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=34] ["take time"=9.083697ms] [job="ID:69, Type:create view, State:done, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.451 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=69] [job="ID:69, Type:create view, State:synced, SchemaState:public, SchemaID:1, TableID:68, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.470 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=69] [2025/04/05 06:58:40.484 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.484 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [2025/04/05 06:58:40.489 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.510 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=34] [neededSchemaVersion=35] ["elapsed time"=2.117888ms] [gotSchemaVersion=35] [phyTblIDs="[70]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.513 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.513 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=71] [version=35] [2025/04/05 06:58:40.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=35] ["take time"=8.767007ms] [job="ID:71, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.525 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=71] [job="ID:71, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:70, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.538 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=71] [2025/04/05 06:58:40.539 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=35] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_status (\n\t\tsql_digest VARCHAR(128),\n\t\tplan_digest VARCHAR(128),\n\t\torigin_sql TEXT,\n\t\ttoken VARCHAR(128),\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tfail_reason TEXT,\n\t\tinstance VARCHAR(512) NOT NULL comment 'address of the TiDB instance executing the plan replayer job');"] [user=] [2025/04/05 06:58:40.552 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.552 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [2025/04/05 06:58:40.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.576 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=35] [neededSchemaVersion=36] ["elapsed time"=2.010576ms] [gotSchemaVersion=36] [phyTblIDs="[72]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.580 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.580 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=73] [version=36] [2025/04/05 06:58:40.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=36] ["take time"=8.675497ms] [job="ID:73, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.591 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=73] [job="ID:73, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:72, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.603 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=73] [2025/04/05 06:58:40.603 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=36] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.plan_replayer_task (\n\t\tsql_digest VARCHAR(128) NOT NULL,\n\t\tplan_digest VARCHAR(128) NOT NULL,\n\t\tupdate_time TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (sql_digest,plan_digest));"] [user=] [2025/04/05 06:58:40.616 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.616 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [2025/04/05 06:58:40.622 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.640 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=36] [neededSchemaVersion=37] ["elapsed time"=1.884761ms] [gotSchemaVersion=37] [phyTblIDs="[74]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.643 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.643 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=75] [version=37] [2025/04/05 06:58:40.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=37] ["take time"=8.36493ms] [job="ID:75, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.655 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=75] [job="ID:75, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:74, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.666 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=75] [2025/04/05 06:58:40.666 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=37] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.stats_table_locked(\n\t\ttable_id bigint(64) NOT NULL,\n\t\tmodify_count bigint(64) NOT NULL DEFAULT 0,\n\t\tcount bigint(64) NOT NULL DEFAULT 0,\n\t\tversion bigint(64) UNSIGNED NOT NULL DEFAULT 0,\n\t\tPRIMARY KEY (table_id));"] [user=] [2025/04/05 06:58:40.684 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.684 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [2025/04/05 06:58:40.690 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.718 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=37] [neededSchemaVersion=38] ["elapsed time"=3.440272ms] [gotSchemaVersion=38] [phyTblIDs="[76]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.721 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.721 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=77] [version=38] [2025/04/05 06:58:40.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=38] ["take time"=9.787437ms] [job="ID:77, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.736 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=77] [job="ID:77, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:76, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.753 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=77] [2025/04/05 06:58:40.753 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=38] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_table_status (\n\t\ttable_id bigint(64) PRIMARY KEY,\n parent_table_id bigint(64),\n table_statistics text DEFAULT NULL,\n\t\tlast_job_id varchar(64) DEFAULT NULL,\n\t\tlast_job_start_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_finish_time timestamp NULL DEFAULT NULL,\n\t\tlast_job_ttl_expire timestamp NULL DEFAULT NULL,\n last_job_summary text DEFAULT NULL,\n\t\tcurrent_job_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_id varchar(64) DEFAULT NULL,\n\t\tcurrent_job_owner_addr varchar(256) DEFAULT NULL,\n\t\tcurrent_job_owner_hb_time timestamp,\n\t\tcurrent_job_start_time timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_ttl_expire timestamp NULL DEFAULT NULL,\n\t\tcurrent_job_state text DEFAULT NULL,\n\t\tcurrent_job_status varchar(64) DEFAULT NULL,\n \t\tcurrent_job_status_update_time timestamp NULL DEFAULT NULL);"] [user=] [2025/04/05 06:58:40.769 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.769 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [2025/04/05 06:58:40.775 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=38] [neededSchemaVersion=39] ["elapsed time"=3.189656ms] [gotSchemaVersion=39] [phyTblIDs="[78]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.803 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.803 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=79] [version=39] [2025/04/05 06:58:40.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=39] ["take time"=10.025508ms] [job="ID:79, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.817 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=79] [job="ID:79, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:78, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.833 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=79] [2025/04/05 06:58:40.833 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=39] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_task (\n\t\tjob_id varchar(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tscan_id int NOT NULL,\n\t\tscan_range_start BLOB,\n\t\tscan_range_end BLOB,\n\t\texpire_time timestamp NOT NULL,\n\t\towner_id varchar(64) DEFAULT NULL,\n\t\towner_addr varchar(64) DEFAULT NULL,\n\t\towner_hb_time timestamp DEFAULT NULL,\n\t\tstatus varchar(64) DEFAULT 'waiting',\n\t\tstatus_update_time timestamp NULL DEFAULT NULL,\n\t\tstate text,\n\t\tcreated_time timestamp NOT NULL,\n\t\tprimary key(job_id, scan_id),\n\t\tkey(created_time));"] [user=] [2025/04/05 06:58:40.850 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.850 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [2025/04/05 06:58:40.855 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.882 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=39] [neededSchemaVersion=40] ["elapsed time"=3.54034ms] [gotSchemaVersion=40] [phyTblIDs="[80]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.886 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.886 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=81] [version=40] [2025/04/05 06:58:40.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=40] ["take time"=9.944648ms] [job="ID:81, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.900 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=81] [job="ID:81, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:80, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.917 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=81] [2025/04/05 06:58:40.917 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=40] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_ttl_job_history (\n\t\tjob_id varchar(64) PRIMARY KEY,\n\t\ttable_id bigint(64) NOT NULL,\n parent_table_id bigint(64) NOT NULL,\n \ttable_schema varchar(64) NOT NULL,\n\t\ttable_name varchar(64) NOT NULL,\n \tpartition_name varchar(64) DEFAULT NULL,\n\t\tcreate_time timestamp NOT NULL,\n\t\tfinish_time timestamp NOT NULL,\n\t\tttl_expire timestamp NOT NULL,\n summary_text text,\n\t\texpired_rows bigint(64) DEFAULT NULL,\n \tdeleted_rows bigint(64) DEFAULT NULL,\n \terror_delete_rows bigint(64) DEFAULT NULL,\n \tstatus varchar(64) NOT NULL,\n \tkey(table_schema, table_name, create_time),\n \tkey(parent_table_id, create_time),\n \tkey(create_time)\n\t);"] [user=] [2025/04/05 06:58:40.934 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:40.934 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:40.941 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=40] [neededSchemaVersion=41] ["elapsed time"=4.290187ms] [gotSchemaVersion=41] [phyTblIDs="[82]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:40.975 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:40.975 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=83] [version=41] [2025/04/05 06:58:40.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=41] ["take time"=11.810855ms] [job="ID:83, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:40.992 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=83] [job="ID:83, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:82, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.012 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=83] [2025/04/05 06:58:41.013 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=41] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:41.030 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.030 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [2025/04/05 06:58:41.037 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.067 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=41] [neededSchemaVersion=42] ["elapsed time"=3.818803ms] [gotSchemaVersion=42] [phyTblIDs="[84]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.070 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=85] [version=42] [2025/04/05 06:58:41.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=42] ["take time"=10.591412ms] [job="ID:85, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:40.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.085 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=85] [job="ID:85, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:84, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:40.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.103 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=85] [2025/04/05 06:58:41.104 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=42] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_global_task_history (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n \ttask_key VARCHAR(256) NOT NULL,\n\t\ttype VARCHAR(256) NOT NULL,\n\t\tdispatcher_id VARCHAR(261),\n\t\tstate VARCHAR(64) NOT NULL,\n\t\tpriority INT DEFAULT 1,\n\t\tcreate_time TIMESTAMP,\n\t\tstart_time TIMESTAMP,\n\t\tstate_update_time TIMESTAMP,\n\t\tend_time TIMESTAMP,\n\t\tmeta LONGBLOB,\n\t\tconcurrency INT(11),\n\t\tstep INT(11),\n\t\ttarget_scope VARCHAR(256) DEFAULT \"\",\n\t\terror BLOB,\n\t\tmodify_params json,\n\t\tmax_node_count INT DEFAULT 0,\n\t\textra_params json,\n\t\tkey(state),\n\t\tUNIQUE KEY task_key(task_key)\n\t);"] [user=] [2025/04/05 06:58:41.121 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.121 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [2025/04/05 06:58:41.127 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=42] [neededSchemaVersion=43] ["elapsed time"=3.390894ms] [gotSchemaVersion=43] [phyTblIDs="[86]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.157 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.157 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=87] [version=43] [2025/04/05 06:58:41.159 +00:00] [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.030803ms] [job="ID:87, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.171 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=87] [job="ID:87, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:86, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.189 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=87] [2025/04/05 06:58:41.189 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=43] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_import_jobs (\n\t\tid bigint(64) NOT NULL AUTO_INCREMENT,\n\t\tcreate_time TIMESTAMP(6) NOT NULL DEFAULT CURRENT_TIMESTAMP(6),\n\t\tstart_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tupdate_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\tend_time TIMESTAMP(6) NULL DEFAULT NULL,\n\t\ttable_schema VARCHAR(64) NOT NULL,\n\t\ttable_name VARCHAR(64) NOT NULL,\n\t\ttable_id bigint(64) NOT NULL,\n\t\tcreated_by VARCHAR(300) NOT NULL,\n\t\tparameters text NOT NULL,\n\t\tsource_file_size bigint(64) NOT NULL,\n\t\tstatus VARCHAR(64) NOT NULL,\n\t\tstep VARCHAR(64) NOT NULL,\n\t\tsummary text DEFAULT NULL,\n\t\terror_message TEXT DEFAULT NULL,\n\t\tPRIMARY KEY (id),\n\t\tKEY (created_by),\n\t\tKEY (status));"] [user=] [2025/04/05 06:58:41.204 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.204 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:41.211 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.236 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=43] [neededSchemaVersion=44] ["elapsed time"=2.928741ms] [gotSchemaVersion=44] [phyTblIDs="[88]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.243 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.243 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=89] [version=44] [2025/04/05 06:58:41.245 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=44] ["take time"=13.756163ms] [job="ID:89, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.258 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=89] [job="ID:89, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:88, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.274 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=89] [2025/04/05 06:58:41.274 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=44] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX sql_index(resource_group_name,watch_text(700)) COMMENT \"accelerate the speed when select quarantined query\",\n\t\tINDEX time_index(end_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.289 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.289 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:41.295 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.319 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=44] [neededSchemaVersion=45] ["elapsed time"=2.801097ms] [gotSchemaVersion=45] [phyTblIDs="[90]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.322 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.322 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=91] [version=45] [2025/04/05 06:58:41.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=45] ["take time"=9.48652ms] [job="ID:91, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.335 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=91] [job="ID:91, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:90, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.351 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=91] [2025/04/05 06:58:41.351 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=45] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_queries (\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time TIMESTAMP NOT NULL,\n\t\trepeats int default 1,\n\t\tmatch_type varchar(12) NOT NULL,\n\t\taction varchar(64) NOT NULL,\n\t\tsample_sql TEXT NOT NULL,\n\t\tsql_digest varchar(64) NOT NULL,\n\t\tplan_digest varchar(64) NOT NULL,\n\t\ttidb_server varchar(512),\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tINDEX plan_index(plan_digest(64)) COMMENT \"accelerate the speed when select runaway query\",\n\t\tINDEX time_index(start_time) COMMENT \"accelerate the speed when querying with active watch\"\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.370 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.370 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [2025/04/05 06:58:41.377 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.408 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=45] [neededSchemaVersion=46] ["elapsed time"=3.898891ms] [gotSchemaVersion=46] [phyTblIDs="[92]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.411 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=93] [version=46] [2025/04/05 06:58:41.413 +00:00] [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.471931ms] [job="ID:93, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.426 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=93] [job="ID:93, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:92, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.446 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=93] [2025/04/05 06:58:41.446 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=46] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS `mysql`.`tidb_timers` (\n\t\tID BIGINT(64) UNSIGNED NOT NULL AUTO_INCREMENT,\n\t\tNAMESPACE VARCHAR(256) NOT NULL,\n\t\tTIMER_KEY VARCHAR(256) NOT NULL,\n\t\tTIMER_DATA BLOB,\n\t\tTIMEZONE VARCHAR(64) NOT NULL,\n\t\tSCHED_POLICY_TYPE VARCHAR(32) NOT NULL,\n\t\tSCHED_POLICY_EXPR VARCHAR(256) NOT NULL,\n\t\tHOOK_CLASS VARCHAR(64) NOT NULL,\n\t\tWATERMARK TIMESTAMP DEFAULT NULL,\n\t\tENABLE TINYINT(2) NOT NULL,\n\t\tTIMER_EXT JSON NOT NULL,\n\t\tEVENT_STATUS VARCHAR(32) NOT NULL,\n\t\tEVENT_ID VARCHAR(64) NOT NULL,\n\t\tEVENT_DATA BLOB,\n\t\tEVENT_START TIMESTAMP DEFAULT NULL,\n\t\tSUMMARY_DATA BLOB,\n\t\tCREATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP,\n\t\tUPDATE_TIME TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,\n\t\tVERSION BIGINT(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (ID),\n\t\tUNIQUE KEY timer_key(NAMESPACE, TIMER_KEY),\n\t\tKEY hook_class(HOOK_CLASS)\n\t)"] [user=] [2025/04/05 06:58:41.462 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.462 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [2025/04/05 06:58:41.468 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.492 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=46] [neededSchemaVersion=47] ["elapsed time"=2.849898ms] [gotSchemaVersion=47] [phyTblIDs="[94]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.496 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.496 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=95] [version=47] [2025/04/05 06:58:41.497 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=47] ["take time"=9.612696ms] [job="ID:95, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.510 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=95] [job="ID:95, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:94, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.526 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=95] [2025/04/05 06:58:41.526 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=47] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_runaway_watch_done (\n\t\tid BIGINT(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\trecord_id BIGINT(20) not null,\n\t\tresource_group_name varchar(32) not null,\n\t\tstart_time datetime(6) NOT NULL,\n\t\tend_time datetime(6),\n\t\twatch bigint(10) NOT NULL,\n\t\twatch_text TEXT NOT NULL,\n\t\tsource varchar(512) NOT NULL,\n\t\taction bigint(10),\n\t\tswitch_group_name VARCHAR(32) DEFAULT '',\n\t\trule VARCHAR(512) DEFAULT '',\n\t\tdone_time TIMESTAMP(6) NOT NULL\n\t) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;"] [user=] [2025/04/05 06:58:41.539 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.539 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [2025/04/05 06:58:41.545 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.564 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=47] [neededSchemaVersion=48] ["elapsed time"=1.955993ms] [gotSchemaVersion=48] [phyTblIDs="[96]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.567 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.567 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=97] [version=48] [2025/04/05 06:58:41.568 +00:00] [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.585744ms] [job="ID:97, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.579 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=97] [job="ID:97, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:96, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=97] [2025/04/05 06:58:41.591 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=48] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.dist_framework_meta (\n host VARCHAR(261) NOT NULL PRIMARY KEY,\n role VARCHAR(64),\n cpu_count int default 0,\n keyspace_id bigint(8) NOT NULL DEFAULT -1\n );"] [user=] [2025/04/05 06:58:41.605 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.605 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [2025/04/05 06:58:41.611 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.630 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=48] [neededSchemaVersion=49] ["elapsed time"=2.129973ms] [gotSchemaVersion=49] [phyTblIDs="[98]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.633 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.633 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=99] [version=49] [2025/04/05 06:58:41.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=49] ["take time"=8.820664ms] [job="ID:99, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.646 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=99] [job="ID:99, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:98, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.658 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=99] [2025/04/05 06:58:41.658 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=49] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.request_unit_by_group (\n\t\tstart_time TIMESTAMP(6) NOT NULL,\n\t\tend_time TIMESTAMP(6) NOT NULL,\n\t\tresource_group VARCHAR(32) NOT null,\n\t\ttotal_ru bigint(64) UNSIGNED NOT NULL,\n\t\tPRIMARY KEY (start_time, end_time, resource_group),\n\t\tKEY (resource_group)\n\t);"] [user=] [2025/04/05 06:58:41.660 +00:00] [INFO] [add_column.go:1316] ["Automatically convert BLOB(524288) to MEDIUMBLOB"] [category=ddl] [2025/04/05 06:58:41.672 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.672 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [2025/04/05 06:58:41.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=49] [neededSchemaVersion=50] ["elapsed time"=2.245039ms] [gotSchemaVersion=50] [phyTblIDs="[100]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.699 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=101] [version=50] [2025/04/05 06:58:41.701 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=50] ["take time"=8.701491ms] [job="ID:101, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.712 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=101] [job="ID:101, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:100, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.724 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=101] [2025/04/05 06:58:41.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=50] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_pitr_id_map (\n\t\trestored_ts BIGINT NOT NULL,\n\t\tupstream_cluster_id BIGINT NOT NULL,\n\t\tsegment_id BIGINT NOT NULL,\n\t\tid_map BLOB(524288) NOT NULL,\n\t\tupdate_time TIMESTAMP DEFAULT CURRENT_TIMESTAMP,\n\t\tPRIMARY KEY (restored_ts, upstream_cluster_id, segment_id));"] [user=] [2025/04/05 06:58:41.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE DATABASE IF NOT EXISTS sys;"] [2025/04/05 06:58:41.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.741 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:queueing, SchemaState:none, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.752 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=50] [neededSchemaVersion=51] ["elapsed time"=592.713µs] [gotSchemaVersion=51] [phyTblIDs="[]"] [actionTypes="[]"] [diffTypes="[\"create schema\"]"] [2025/04/05 06:58:41.755 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.756 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=103] [version=51] [2025/04/05 06:58:41.757 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=51] ["take time"=7.067943ms] [job="ID:103, Type:create schema, State:done, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.766 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=103] [job="ID:103, Type:create schema, State:synced, SchemaState:public, SchemaID:102, TableID:0, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.775 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=103] [2025/04/05 06:58:41.776 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=51] [cur_db=mysql] [sql="CREATE DATABASE IF NOT EXISTS sys;"] [user=] [2025/04/05 06:58:41.789 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.789 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE OR REPLACE VIEW sys.schema_unused_indexes AS\n\t\tSELECT\n\t\t\ttable_schema as object_schema,\n\t\t\ttable_name as object_name,\n\t\t\tindex_name\n\t\tFROM information_schema.cluster_tidb_index_usage\n\t\tWHERE\n\t\t\ttable_schema not in ('sys', 'mysql', 'INFORMATION_SCHEMA', 'PERFORMANCE_SCHEMA') and\n\t\t\tindex_name != 'PRIMARY'\n\t\tGROUP BY table_schema, table_name, index_name\n\t\tHAVING\n\t\t\tsum(last_access_time) is null;"] [2025/04/05 06:58:41.794 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:queueing, SchemaState:none, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=51] [neededSchemaVersion=52] ["elapsed time"=1.751221ms] [gotSchemaVersion=52] [phyTblIDs="[104]"] [actionTypes="[21]"] [diffTypes="[\"create view\"]"] [2025/04/05 06:58:41.815 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.815 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=105] [version=52] [2025/04/05 06:58:41.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=52] ["take time"=8.250414ms] [job="ID:105, Type:create view, State:done, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.827 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=105] [job="ID:105, Type:create view, State:synced, SchemaState:public, SchemaID:102, TableID:104, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.839 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=105] [2025/04/05 06:58:41.852 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:41.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:41.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:41.852 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:41.855 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.855 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [2025/04/05 06:58:41.861 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.887 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=52] [neededSchemaVersion=53] ["elapsed time"=3.076823ms] [gotSchemaVersion=53] [phyTblIDs="[106]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.890 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.890 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=107] [version=53] [2025/04/05 06:58:41.892 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=53] ["take time"=9.787451ms] [job="ID:107, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.904 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=107] [job="ID:107, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:106, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.921 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=107] [2025/04/05 06:58:41.921 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=53] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.index_advisor_results (\n id bigint primary key not null auto_increment,\n created_at datetime not null,\n updated_at datetime not null,\n\n schema_name varchar(64) not null,\n table_name varchar(64) not null,\n index_name varchar(127) not null,\n index_columns varchar(500) not null COMMENT 'split by \",\", e.g. \"c1\", \"c1,c2\", \"c1,c2,c3,c4,c5\"',\n\n index_details json, -- est_index_size, reason, DDL to create this index, ...\n top_impacted_queries json, -- improvement, plan before and after this index, ...\n workload_impact json, -- improvement and more details, ...\n extra json, -- for the cloud env to save more info like RU, cost_saving, ...\n index idx_create(created_at),\n index idx_update(updated_at),\n unique index idx(schema_name, table_name, index_columns));"] [user=] [2025/04/05 06:58:41.935 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:41.935 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [2025/04/05 06:58:41.940 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=53] [neededSchemaVersion=54] ["elapsed time"=2.268021ms] [gotSchemaVersion=54] [phyTblIDs="[108]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:41.964 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:41.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=109] [version=54] [2025/04/05 06:58:41.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=54] ["take time"=9.026605ms] [job="ID:109, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.976 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=109] [job="ID:109, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:108, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:41.989 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=109] [2025/04/05 06:58:41.989 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=54] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_kernel_options (\n module varchar(128),\n name varchar(128),\n value varchar(128),\n updated_at datetime,\n status varchar(128),\n description text,\n primary key(module, name));"] [user=] [2025/04/05 06:58:42.004 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.004 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [2025/04/05 06:58:42.010 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:queueing, SchemaState:none, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=true] [currentSchemaVersion=54] [neededSchemaVersion=55] ["elapsed time"=2.367314ms] [gotSchemaVersion=55] [phyTblIDs="[110]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:42.033 +00:00] [INFO] [domain.go:1103] ["session manager is nil"] [2025/04/05 06:58:42.033 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=111] [version=55] [2025/04/05 06:58:42.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=55] ["take time"=8.952798ms] [job="ID:111, Type:create table, State:done, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:41.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.046 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=111] [job="ID:111, Type:create table, State:synced, SchemaState:public, SchemaID:1, TableID:110, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:41.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.064 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=111] [2025/04/05 06:58:42.064 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=0] [schemaVersion=55] [cur_db=mysql] [sql="CREATE TABLE IF NOT EXISTS mysql.tidb_workload_values (\n\t\tid bigint(20) NOT NULL AUTO_INCREMENT PRIMARY KEY,\n\t\tversion bigint(20) NOT NULL,\n\t\tcategory varchar(64) NOT NULL,\n\t\ttype varchar(64) NOT NULL,\n\t\ttable_id bigint(20) NOT NULL,\n\t\tvalue json NOT NULL,\n\t\tindex idx_version_category_type (version, category, type),\n\t\tindex idx_table_id (table_id));"] [user=] [2025/04/05 06:58:42.209 +00:00] [INFO] [bootstrap.go:823] ["bootstrap successful"] ["take time"=4.361998102s] [2025/04/05 06:58:42.212 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:42.212 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:42.212 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [] [2025/04/05 06:58:42.212 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.212 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:42.212 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=56.112µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=39.538µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=38.729µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=29.917µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=37.82µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=33.527µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=39.656µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=31.82µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=34.405µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=31.479µs] [2025/04/05 06:58:42.213 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.214 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.215 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:42.215 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:42.224 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] ["take time"=11.639461ms] [2025/04/05 06:58:42.224 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1546] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:42.225 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:42.225 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:42.225 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:42.225 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:42.225 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [2025/04/05 06:58:42.225 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [2025/04/05 06:58:42.226 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f2fbb1cc-6abb-40d8-ae11-c12217994721] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.226 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:42.226 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:42.226 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:42.226 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:42.226 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:42.226 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:42.226 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:42.230 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=17.838408ms] [2025/04/05 06:58:42.230 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:42.239 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:42.275 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1461] ["lease id"=3eaa9604bcf95160] [2025/04/05 06:58:42.277 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:42.395 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=true] [currentSchemaVersion=0] [neededSchemaVersion=55] ["elapsed time"=115.60694ms] [2025/04/05 06:58:42.395 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:42.403 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:42.404 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:42.405 +00:00] [INFO] [manager.go:294] ["start campaign owner with existing session"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [lease=22319604bcf952ee] [2025/04/05 06:58:42.405 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:42.405 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176451072/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:42.406 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:42.406 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.406 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [2025/04/05 06:58:42.408 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf952ee] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:42.408 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.408 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ownerKey=/tidb/ddl/fg/owner/22319604bcf952ee] [currRev=273] [2025/04/05 06:58:42.408 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:42.409 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.409 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf95362] [ownerID=c83cce77-a467-4f85-8278-f8dce4c0c114] [op=none] [2025/04/05 06:58:42.409 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [2025/04/05 06:58:42.409 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [ownerKey=/tidb/br-stream/owner/22319604bcf95362] [currRev=274] [2025/04/05 06:58:42.409 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:42.410 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf952ee] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:42.410 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:42.410 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:42.417 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.418 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:42.418 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:42.420 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/3eaa9604bcf9516a] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:42.420 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.420 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ownerKey=/tidb/bindinfo/owner/3eaa9604bcf9516a] [currRev=275] [2025/04/05 06:58:42.425 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 06:58:42.429 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:42.430 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:42.437 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:42.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:42.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:42.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:42.444 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:42.444 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:42.444 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:42.444 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:42.444 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:42.444 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:42.445 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:42.445 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:42.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:42.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:42.446 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:42.446 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:42.447 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:42.447 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:42.447 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:42.449 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:58:42.450 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf95368] [ownerID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [op=none] [2025/04/05 06:58:42.450 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.450 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ownerKey=/tidb/stats/owner/22319604bcf95368] [currRev=276] [2025/04/05 06:58:42.452 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/14ef0af1-5579-40a2-bcad-2b1555e928af] [2025/04/05 06:58:42.452 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ttl-worker=task-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [originalCount=0] [newCount=4] [2025/04/05 06:58:42.453 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ttl-worker=task-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [originalCount=0] [newCount=4] [2025/04/05 06:58:42.453 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.456 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:42.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:42.461 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:42.461 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836322461952626 [2025/04/05 06:58:42.465 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:42.472 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=26.978443ms] [2025/04/05 06:58:42.472 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:42.472 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:42.481 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:42.501 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] testkit.go:123: RefreshSession rand seed: 1743836322503089600 [2025/04/05 06:58:42.506 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/05 06:58:42.515 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.516 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.517 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.517 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.518 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.518 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 06:58:42.532 +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: 1743836322532956673 [2025/04/05 06:58:42.548 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/05 06:58:42.548 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:42.553 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.558 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 112, Table Name: t)"] [2025/04/05 06:58:42.660 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=55] [neededSchemaVersion=56] ["elapsed time"=86.001103ms] [2025/04/05 06:58:42.660 +00:00] [INFO] [domain.go:431] ["infoschema v1/v2 switch"] [2025/04/05 06:58:42.660 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:42.664 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=113] [version=56] [2025/04/05 06:58:42.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=56] ["take time"=94.207675ms] [job="ID:113, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:42.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.677 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=113] [conn=2] [job="ID:113, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:0, start time: 2025-04-05 06:58:42.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:42.688 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=113] [2025/04/05 06:58:42.689 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=56] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/05 06:58:42.698 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136228976295938] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=986.799µs] [2025/04/05 06:58:42.698 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.080976ms] [total_duration=2.505025ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136228976295938] [2025/04/05 06:58:42.700 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136228976295938] [commitTS=457136228976295939] [2025/04/05 06:58:42.700 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457136228976295938] [startKey=7480000000000000705f728000000000000001] [endKey=7480000000000000705f728000000000000001] [2025/04/05 06:58:42.700 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457136228976295938] [commitTS=457136228976295939] [session=2] [2025/04/05 06:58:42.706 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [] [2025/04/05 06:58:42.706 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:58:42.706 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.706 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:58:42.706 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:42.706 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:58:42.706 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=43.851µs] [2025/04/05 06:58:42.706 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.706 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.707 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:58:42.707 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:58:42.708 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] ["take time"=2.033044ms] [2025/04/05 06:58:42.708 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.708 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:58:42.708 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/14ef0af1-5579-40a2-bcad-2b1555e928af] [2025/04/05 06:58:42.708 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ttl-worker=task-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [originalCount=4] [newCount=0] [2025/04/05 06:58:42.708 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:42.708 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:42.708 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:42.708 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:58:42.708 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [ttl-worker=task-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [originalCount=4] [newCount=0] [2025/04/05 06:58:42.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:42.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:42.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:42.711 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:58:42.713 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1461] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:58:42.714 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:42.715 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:42.715 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:58:42.715 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [] [2025/04/05 06:58:42.716 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.716 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.716 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [error="context canceled"] [2025/04/05 06:58:42.717 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [] [2025/04/05 06:58:42.717 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:58:42.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:42.717 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c83cce77-a467-4f85-8278-f8dce4c0c114] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:42.717 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.717 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:58:42.717 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:42.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:42.717 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [2025/04/05 06:58:42.717 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [error="context canceled"] [2025/04/05 06:58:42.717 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=bd32916c-cf35-4347-949d-2fdd132f9a6b] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:42.733 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:58:42.733 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:42.779 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:58:42.779 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:42.789 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.192708ms] [2025/04/05 06:58:47.700 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136228976295938 commit_ts:457136228976295939 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:58:47.700 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136228976295938 commit_ts:457136228976295939 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:58:47.700 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136228976295938 commit_ts:457136228976295939 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:58:47.701 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:58:47.701 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:58:47.701 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:58:47.701 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:58:47.701 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:58:47.701 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:58:47.701 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:58:47.701 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:58:47.701 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:58:47.701 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:58:47.701 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:58:47.701 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:58:47.702 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (10.14s) === NAME === RUN TestPipelinedDMLPositive [2025/04/05 06:58:47.709 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:58:47.710 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:58:47.711 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:58:47.711 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:58:47.711 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:58:47.711 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:58:47.712 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:58:47.712 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:58:47.712 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:58:47.712 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:58:47.712 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:58:47.716 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:58:47.721 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.721 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.722 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:58:47.731 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:58:47.741 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:58:47.776 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1427] ["lease id"=22319604bcf95380] [2025/04/05 06:58:47.777 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:58:47.861 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=56] ["elapsed time"=81.462674ms] [2025/04/05 06:58:47.861 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:58:47.863 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:58:47.869 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [runWorker=true] [jobVersion=v2] [2025/04/05 06:58:47.869 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:58:47.871 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.872 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:58:47.872 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176459264/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:58:47.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:58:47.873 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:47.873 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [2025/04/05 06:58:47.874 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf951ed] [ownerID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [op=none] [2025/04/05 06:58:47.874 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.874 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf951ed] [currRev=297] [2025/04/05 06:58:47.875 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:58:47.875 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=cb063971-a52b-45fb-ac5f-e62219459221] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:47.876 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:58:47.876 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf951ef] [ownerID=cb063971-a52b-45fb-ac5f-e62219459221] [op=none] [2025/04/05 06:58:47.876 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [2025/04/05 06:58:47.876 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [ownerKey=/tidb/br-stream/owner/6f189604bcf951ef] [currRev=298] [2025/04/05 06:58:47.876 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf951ed] [ownerID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [op=none] [2025/04/05 06:58:47.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=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [op=none] [2025/04/05 06:58:47.876 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:58:47.880 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.881 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:58:47.881 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:58:47.889 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:58:47.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:58:47.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:58:47.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:58:47.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:58:47.900 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:58:47.900 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:58:47.900 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:58:47.900 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:58:47.900 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:58:47.900 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:58:47.901 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:58:47.901 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:58:47.902 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:47.902 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:58:47.902 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:58:47.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:58:47.903 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:58:47.904 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:58:47.904 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf9538a] [ownerID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [op=none] [2025/04/05 06:58:47.904 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.904 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ownerKey=/tidb/stats/owner/22319604bcf9538a] [currRev=300] [2025/04/05 06:58:47.907 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:58:47.907 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/aadb638b-4e70-4ec1-b1c1-c38acb4b13a5] [2025/04/05 06:58:47.907 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ttl-worker=task-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [originalCount=0] [newCount=4] [2025/04/05 06:58:47.907 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ttl-worker=task-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [originalCount=0] [newCount=4] [2025/04/05 06:58:47.907 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:58:47.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:58:47.911 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:58:47.911 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836327911209729 [2025/04/05 06:58:47.912 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:58:47.919 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.292733ms] [2025/04/05 06:58:47.919 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:58:47.919 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:58:47.929 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:58:47.931 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=56] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:58:47.943 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:58:47.943 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:114, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:47.948 +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-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.963 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=56] [neededSchemaVersion=57] ["elapsed time"=1.589508ms] [gotSchemaVersion=57] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:47.966 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=57] [2025/04/05 06:58:47.968 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=57] ["take time"=8.5733ms] [job="ID:114, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.977 +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-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:47.991 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=57] [neededSchemaVersion=58] ["elapsed time"=1.591864ms] [gotSchemaVersion=58] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:47.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=58] [2025/04/05 06:58:47.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=58] ["take time"=8.189254ms] [job="ID:114, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.004 +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-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.009 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 112, Old Table Name: t)"] [2025/04/05 06:58:48.021 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=58] [neededSchemaVersion=59] ["elapsed time"=1.002605ms] [gotSchemaVersion=59] [phyTblIDs="[112]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:58:48.025 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=114] [version=59] [2025/04/05 06:58:48.026 +00:00] [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.447798ms] [job="ID:114, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:112, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.035 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=114] [tableIDs="[112]"] [comment="drop table: table ID"] [2025/04/05 06:58:48.042 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=114] [jobType="drop table"] [2025/04/05 06:58:48.043 +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-05 06:58:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.060 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=114] [2025/04/05 06:58:48.060 +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: 1743836328060830787 [2025/04/05 06:58:48.077 +00:00] [INFO] [set.go:172] ["set global var"] [conn=5] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:58:48.079 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=59] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:58:48.091 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:58:48.091 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:116, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/05 06:58:48.097 +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-05 06:58:48.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.101 +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/05 06:58:48.115 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=59] [neededSchemaVersion=60] ["elapsed time"=1.46376ms] [gotSchemaVersion=60] [phyTblIDs="[115]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:58:48.118 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=116] [version=60] [2025/04/05 06:58:48.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=60] ["take time"=8.173508ms] [job="ID:116, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:58:48.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.131 +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-05 06:58:48.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:58:48.141 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=116] [2025/04/05 06:58:48.142 +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/05 06:58:48.149 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136230404718595] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=926.675µs] [2025/04/05 06:58:48.149 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.021427ms] [total_duration=1.359805ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136230404718595] [2025/04/05 06:58:48.150 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136230404718595] [startKey=7480000000000000735f728000000000000002] [endKey=7480000000000000735f728000000000000002] [2025/04/05 06:58:48.150 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136230404718595] [commitTS=0] [session=5] [2025/04/05 06:58:48.153 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136230404718597] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=1.913589ms] [2025/04/05 06:58:48.153 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.999427ms] [total_duration=2.396844ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136230404718597] [2025/04/05 06:58:48.154 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136230404718597] [startKey=7480000000000000735f728000000000000003] [endKey=7480000000000000735f728000000000000003] [2025/04/05 06:58:48.154 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136230404718597] [commitTS=0] [session=5] [2025/04/05 06:58:48.161 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136230404718599] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=826.617µs] [2025/04/05 06:58:48.161 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=915.346µs] [total_duration=5.582857ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136230404718599] [2025/04/05 06:58:48.162 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136230404718599] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:58:48.162 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136230404718599] [commitTS=0] [session=5] [2025/04/05 06:58:48.169 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:48.255 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:48.435 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:48.800 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:48.879 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:58:48.879 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:58:48.879 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:58:48.879 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:58:48.907 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:58:48.907 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:58:48.908 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aadb638b-4e70-4ec1-b1c1-c38acb4b13a5] [watcherID=9cf150ed-3493-47bd-b8f6-f9aff00356e8] [2025/04/05 06:58:48.911 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:58:48.916 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:58:48.916 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:58:48.916 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:58:48.916 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:58:49.472 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:49.716 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:58:49.873 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:58:50.603 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:50.905 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 06:58:50.905 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 06:58:52.517 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.219 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.220 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58: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=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.222 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.223 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.224 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.225 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.226 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.227 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.228 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136230404718601] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.229 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718599, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.231 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136230404718601] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.062994145s] [2025/04/05 06:58:53.231 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.063087427s] [total_duration=5.068302318s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136230404718601] [2025/04/05 06:58:53.232 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136230404718601] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:58:53.232 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136230404718601] [commitTS=0] [session=5] [2025/04/05 06:58:53.235 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136230404718601, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.237 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000002, primary: 7480000000000000735f728000000000000002, txnStartTS: 457136230404718595, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.238 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000003, primary: 7480000000000000735f728000000000000003, txnStartTS: 457136230404718597, lockForUpdateTS:0, minCommitTs:457136230404718602, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.240 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136231728807939] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=816.357µs] [2025/04/05 06:58:53.240 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=919.112µs] [total_duration=6.832931ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136231728807939] [2025/04/05 06:58:53.240 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136231728807939] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:58:53.240 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136231728807939] [commitTS=0] [session=5] [2025/04/05 06:58:53.245 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.308 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.483 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:53.806 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:54.270 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:55.265 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:57.468 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.270 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.271 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.272 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.273 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.274 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.275 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.276 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.277 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.278 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136231728807941] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.279 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807939, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.281 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136231728807941] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.037298259s] [2025/04/05 06:58:58.281 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.037395521s] [total_duration=5.040004638s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136231728807941] [2025/04/05 06:58:58.282 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136231728807941] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:58:58.282 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136231728807941] [commitTS=0] [session=5] [2025/04/05 06:58:58.284 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136233052372995] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=904.743µs] [2025/04/05 06:58:58.284 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=997.46µs] [total_duration=1.403079ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136233052372995] [2025/04/05 06:58:58.285 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136233052372995] [startKey=7480000000000000735f728000000000000004] [endKey=7480000000000000735f728000000000000004] [2025/04/05 06:58:58.285 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136233052372995] [commitTS=0] [session=5] [2025/04/05 06:58:58.289 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136231728807941, lockForUpdateTS:0, minCommitTs:457136231728807942, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.293 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136233052372997] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=881.385µs] [2025/04/05 06:58:58.293 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=989.955µs] [total_duration=5.169356ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136233052372997] [2025/04/05 06:58:58.293 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136233052372997] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:58:58.293 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136233052372997] [commitTS=0] [session=5] [2025/04/05 06:58:58.300 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136233065742337] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=890.656µs] [2025/04/05 06:58:58.300 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=976.052µs] [total_duration=5.098665ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136233065742337] [2025/04/05 06:58:58.300 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136233065742337] [startKey=7480000000000000735f728000000000000005] [endKey=7480000000000000735f728000000000000005] [2025/04/05 06:58:58.300 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136233065742337] [commitTS=0] [session=5] [2025/04/05 06:58:58.307 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.374 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.522 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:58.798 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:59.320 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:58:59.875 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=cb063971-a52b-45fb-ac5f-e62219459221] [daemon-id=LogBackup::Advancer] [2025/04/05 06:58:59.875 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 06:58:59.875 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 06:59:00.308 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:02.873 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.274 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.325 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136233065742339] [generation=1] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.326 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233052372997, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.328 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136233065742339] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=5.02119576s] [2025/04/05 06:59:03.328 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.021324012s] [total_duration=5.026345551s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136233065742339] [2025/04/05 06:59:03.328 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136233065742339] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:59:03.329 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136233065742339] [commitTS=0] [session=5] [2025/04/05 06:59:03.358 +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/05 06:59:03.383 +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/05 06:59:03.408 +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/05 06:59:03.411 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000001, primary: 7480000000000000735f728000000000000001, txnStartTS: 457136233065742339, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.412 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000004, primary: 7480000000000000735f728000000000000004, txnStartTS: 457136233052372995, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.414 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000735f728000000000000005, primary: 7480000000000000735f728000000000000005, txnStartTS: 457136233065742337, lockForUpdateTS:0, minCommitTs:457136233065742340, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:03.416 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136234402414597] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=752.082µs] [2025/04/05 06:59:03.416 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=845.3µs] [total_duration=6.444234ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136234402414597] [2025/04/05 06:59:03.416 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136234402414597] [startKey=7480000000000000735f728000000000000001] [endKey=7480000000000000735f728000000000000001] [2025/04/05 06:59:03.416 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136234402414597] [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/05 06:59:03.422 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:03.422 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [] [2025/04/05 06:59:03.422 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.422 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:03.422 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:03.422 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:03.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=40.745µs] [2025/04/05 06:59:03.422 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=36.675µs] [2025/04/05 06:59:03.422 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.422 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.423 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:03.423 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:03.424 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] ["take time"=2.854902ms] [2025/04/05 06:59:03.424 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.424 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:03.425 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:03.425 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/aadb638b-4e70-4ec1-b1c1-c38acb4b13a5] [watcherID=9cf150ed-3493-47bd-b8f6-f9aff00356e8] [2025/04/05 06:59:03.425 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/aadb638b-4e70-4ec1-b1c1-c38acb4b13a5] [2025/04/05 06:59:03.425 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ttl-worker=task-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [originalCount=4] [newCount=0] [2025/04/05 06:59:03.425 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:03.425 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:03.425 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:03.425 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:03.425 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [ttl-worker=task-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [originalCount=4] [newCount=0] [2025/04/05 06:59:03.427 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:03.427 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:03.427 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:03.427 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:03.429 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.429 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1427] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:03.431 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.431 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=cb063971-a52b-45fb-ac5f-e62219459221] [2025/04/05 06:59:03.431 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:03.430 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:03.431 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:03.431 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:03.430 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:03.431 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:03.432 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:03.432 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:03.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:03.432 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:03.432 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=cb063971-a52b-45fb-ac5f-e62219459221] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:03.432 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:03.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:03.433 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:03.433 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 06:59:03.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:03.433 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:03.433 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:03.434 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [error="context canceled"] [2025/04/05 06:59:03.434 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [2025/04/05 06:59:03.455 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:03.455 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:03.495 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=86ba5150-6d4c-46b2-9acd-4a1f2959193f] [error="context canceled"] [2025/04/05 06:59:03.495 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:03.495 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:03.505 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.456665ms] [2025/04/05 06:59:08.330 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136233065742339 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:08.330 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136233065742339 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:08.330 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136233065742339 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136234402414597 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136234402414597 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136234402414597 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:08.417 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:08.417 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:08.417 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:08.417 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:08.417 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:08.417 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:08.417 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:08.417 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:08.417 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:08.417 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:08.418 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- FAIL: TestPipelinedDMLPositive (20.72s) === NAME === RUN TestPipelinedDMLNegative [2025/04/05 06:59:08.427 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:08.427 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:08.428 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:08.429 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:08.429 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:08.429 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:08.429 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:08.429 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:08.429 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:08.430 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:08.430 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:08.433 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:08.438 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.439 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.440 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:08.449 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:08.459 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:08.494 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1195] ["lease id"=22319604bcf953c7] [2025/04/05 06:59:08.495 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:08.581 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=60] ["elapsed time"=82.969389ms] [2025/04/05 06:59:08.581 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:08.583 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:08.589 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=0d140083-7c5e-440e-92f2-69fa3ccb9169] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:08.589 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:08.591 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.592 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:08.592 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176483840/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:08.592 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:08.592 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.593 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [2025/04/05 06:59:08.594 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf951d2] [ownerID=0d140083-7c5e-440e-92f2-69fa3ccb9169] [op=none] [2025/04/05 06:59:08.594 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.594 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf951d2] [currRev=336] [2025/04/05 06:59:08.595 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:08.595 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.596 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:08.596 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf95248] [ownerID=34ca53b5-154e-41ca-be97-5f3a903d8638] [op=none] [2025/04/05 06:59:08.596 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [2025/04/05 06:59:08.596 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [ownerKey=/tidb/br-stream/owner/6f189604bcf95248] [currRev=337] [2025/04/05 06:59:08.596 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf951d2] [ownerID=0d140083-7c5e-440e-92f2-69fa3ccb9169] [op=none] [2025/04/05 06:59:08.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=0d140083-7c5e-440e-92f2-69fa3ccb9169] [op=none] [2025/04/05 06:59:08.596 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:08.605 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.606 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:08.606 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:08.615 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:08.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:08.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:08.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:08.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:08.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:08.626 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:08.626 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:08.626 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:08.626 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:08.626 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:08.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:08.627 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:08.628 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:08.629 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:08.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:08.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:08.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:08.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:08.631 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf953d1] [ownerID=0d140083-7c5e-440e-92f2-69fa3ccb9169] [op=none] [2025/04/05 06:59:08.631 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:08.631 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.631 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ownerKey=/tidb/stats/owner/22319604bcf953d1] [currRev=339] [2025/04/05 06:59:08.633 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/9f7e8f05-9bd6-4fe8-aafb-06f54ac8f98a] [2025/04/05 06:59:08.633 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ttl-worker=task-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [originalCount=0] [newCount=4] [2025/04/05 06:59:08.633 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ttl-worker=task-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [originalCount=0] [newCount=4] [2025/04/05 06:59:08.633 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.634 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:08.634 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:08.635 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:08.635 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836348635225845 [2025/04/05 06:59:08.639 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:08.645 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.103092ms] [2025/04/05 06:59:08.645 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:08.645 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:08.654 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:08.672 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:08.675 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=60] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:08.687 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:08.687 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:117, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:08.693 +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-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.708 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=60] [neededSchemaVersion=61] ["elapsed time"=1.866489ms] [gotSchemaVersion=61] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.711 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=61] [2025/04/05 06:59:08.714 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=61] ["take time"=9.350425ms] [job="ID:117, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.723 +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-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.737 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=61] [neededSchemaVersion=62] ["elapsed time"=1.78057ms] [gotSchemaVersion=62] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.740 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=62] [2025/04/05 06:59:08.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=62] ["take time"=8.152376ms] [job="ID:117, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.750 +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-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.755 +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/05 06:59:08.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=62] [neededSchemaVersion=63] ["elapsed time"=979.473µs] [gotSchemaVersion=63] [phyTblIDs="[115]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:08.771 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=117] [version=63] [2025/04/05 06:59:08.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=63] ["take time"=7.081105ms] [job="ID:117, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:115, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.781 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=117] [tableIDs="[115]"] [comment="drop table: table ID"] [2025/04/05 06:59:08.787 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=117] [jobType="drop table"] [2025/04/05 06:59:08.788 +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-05 06:59:08.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.805 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=117] [2025/04/05 06:59:08.805 +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: 1743836348805945323 [2025/04/05 06:59:08.823 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:08.825 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=63] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 06:59:08.837 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:08.837 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:119, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:08.842 +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-05 06:59:08.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.847 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 118, Table Name: t)"] [2025/04/05 06:59:08.861 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=63] [neededSchemaVersion=64] ["elapsed time"=1.368756ms] [gotSchemaVersion=64] [phyTblIDs="[118]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:08.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=119] [version=64] [2025/04/05 06:59:08.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=64] ["take time"=7.563097ms] [job="ID:119, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:08.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.876 +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-05 06:59:08.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:08.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=119] [2025/04/05 06:59:08.886 +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/05 06:59:08.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235831361553] [2025/04/05 06:59:08.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235831361557] [2025/04/05 06:59:08.905 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235844468742] [2025/04/05 06:59:08.912 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235844468745] [2025/04/05 06:59:08.926 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/05 06:59:08.941 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/05 06:59:08.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235844468764] [2025/04/05 06:59:08.951 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/05 06:59:08.969 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/05 06:59:08.973 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136235857313801] [2025/04/05 06:59:08.975 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:08.975 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [] [2025/04/05 06:59:08.975 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:08.975 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.975 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:08.976 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:08.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=40.594µs] [2025/04/05 06:59:08.976 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=33.787µs] [2025/04/05 06:59:08.976 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.976 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.977 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:08.977 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:08.977 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=0d140083-7c5e-440e-92f2-69fa3ccb9169] ["take time"=2.193725ms] [2025/04/05 06:59:08.978 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.978 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:08.978 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/9f7e8f05-9bd6-4fe8-aafb-06f54ac8f98a] [2025/04/05 06:59:08.978 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ttl-worker=task-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [originalCount=4] [newCount=0] [2025/04/05 06:59:08.978 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.978 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.978 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.978 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:08.978 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [ttl-worker=task-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [originalCount=4] [newCount=0] [2025/04/05 06:59:08.980 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.980 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.980 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.980 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:08.982 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.982 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1195] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:08.983 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:08.984 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:08.984 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.984 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:08.984 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.984 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:08.983 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:08.984 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [2025/04/05 06:59:08.983 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:08.984 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [2025/04/05 06:59:08.984 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.984 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:08.985 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:08.985 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:08.985 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:08.986 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:08.986 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:08.986 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=34ca53b5-154e-41ca-be97-5f3a903d8638] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:08.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:08.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:08.986 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:08.986 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:08.986 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:08.986 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [error="context canceled"] [2025/04/05 06:59:08.987 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [2025/04/05 06:59:08.987 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [error="context canceled"] [2025/04/05 06:59:08.987 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=0d140083-7c5e-440e-92f2-69fa3ccb9169] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:09.002 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:09.002 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:09.046 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:09.046 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:09.056 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=80.423709ms] [2025/04/05 06:59:09.058 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:09.058 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:09.058 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:09.058 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:09.058 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:09.058 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:09.058 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:09.058 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:09.058 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:09.058 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:09.058 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:09.058 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:09.059 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.64s) === NAME === RUN TestPipelinedDMLInsert [2025/04/05 06:59:09.065 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:09.066 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:09.066 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:09.067 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:09.067 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:09.067 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:09.067 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:09.067 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:09.067 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:09.068 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:09.068 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:09.071 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:09.076 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:09.077 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:09.077 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:09.087 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:09.096 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:09.129 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1603] ["lease id"=3eaa9604bcf951e7] [2025/04/05 06:59:09.131 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:09.216 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=64] ["elapsed time"=81.702406ms] [2025/04/05 06:59:09.216 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:09.218 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:09.223 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:09.223 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:09.225 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.226 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:09.226 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176508416/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:09.226 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:09.226 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:09.226 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:09.227 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [2025/04/05 06:59:09.228 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf953e6] [ownerID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [op=none] [2025/04/05 06:59:09.228 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.228 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ownerKey=/tidb/ddl/fg/owner/22319604bcf953e6] [currRev=369] [2025/04/05 06:59:09.228 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:09.228 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:09.229 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:09.229 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf953e8] [ownerID=c5b77b9f-040e-45a8-8e49-09f540292234] [op=none] [2025/04/05 06:59:09.230 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [2025/04/05 06:59:09.230 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [ownerKey=/tidb/br-stream/owner/22319604bcf953e8] [currRev=370] [2025/04/05 06:59:09.230 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf953e6] [ownerID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [op=none] [2025/04/05 06:59:09.230 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [op=none] [2025/04/05 06:59:09.230 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:09.239 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.240 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:09.240 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:09.248 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:09.255 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:09.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:09.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:09.260 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:09.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:09.260 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:09.260 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:09.260 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:09.260 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:09.260 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:09.261 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:09.261 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:09.262 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:09.262 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:09.262 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:09.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:09.263 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:09.264 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf951f3] [ownerID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [op=none] [2025/04/05 06:59:09.264 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:09.264 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.264 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ownerKey=/tidb/stats/owner/3eaa9604bcf951f3] [currRev=373] [2025/04/05 06:59:09.266 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/582bc8ec-6838-4eba-aab9-26f64d0d0e13] [2025/04/05 06:59:09.267 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:09.267 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ttl-worker=task-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [originalCount=0] [newCount=4] [2025/04/05 06:59:09.267 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ttl-worker=task-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [originalCount=0] [newCount=4] [2025/04/05 06:59:09.267 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:09.267 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:09.267 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:09.268 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836349268215279 [2025/04/05 06:59:09.272 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:09.278 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.078817ms] [2025/04/05 06:59:09.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:09.278 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:09.281 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:09.300 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:09.303 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=64] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:09.315 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.315 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:120, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 06:59:09.320 +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-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=64] [neededSchemaVersion=65] ["elapsed time"=1.760504ms] [gotSchemaVersion=65] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.339 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=65] [2025/04/05 06:59:09.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=65] ["take time"=8.533916ms] [job="ID:120, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.350 +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-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=65] [neededSchemaVersion=66] ["elapsed time"=1.899306ms] [gotSchemaVersion=66] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=66] [2025/04/05 06:59:09.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=66] ["take time"=8.818449ms] [job="ID:120, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.379 +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-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.385 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 118, Old Table Name: t)"] [2025/04/05 06:59:09.398 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=66] [neededSchemaVersion=67] ["elapsed time"=979.877µs] [gotSchemaVersion=67] [phyTblIDs="[118]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:09.401 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=120] [version=67] [2025/04/05 06:59:09.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=67] ["take time"=7.488135ms] [job="ID:120, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:118, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.411 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=120] [tableIDs="[118]"] [comment="drop table: table ID"] [2025/04/05 06:59:09.417 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=120] [jobType="drop table"] [2025/04/05 06:59:09.418 +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-05 06:59:09.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.435 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=120] [2025/04/05 06:59:09.435 +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: 1743836349435797672 [2025/04/05 06:59:09.439 +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/05 06:59:09.451 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.451 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:122, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:09.457 +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-05 06:59:09.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.461 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 121, Table Name: t)"] [2025/04/05 06:59:09.475 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=67] [neededSchemaVersion=68] ["elapsed time"=1.405432ms] [gotSchemaVersion=68] [phyTblIDs="[121]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:09.478 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=122] [version=68] [2025/04/05 06:59:09.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=68] ["take time"=7.894302ms] [job="ID:122, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.490 +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-05 06:59:09.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.501 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=122] [2025/04/05 06:59:09.501 +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/05 06:59:09.513 +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-05 06:59:09.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.514 +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-05 06:59:09.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:09.519 +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-05 06:59:09.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.523 +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/05 06:59:09.537 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=68] [neededSchemaVersion=69] ["elapsed time"=1.499336ms] [gotSchemaVersion=69] [phyTblIDs="[123]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:09.540 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=124] [version=69] [2025/04/05 06:59:09.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=69] ["take time"=7.646646ms] [job="ID:124, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.552 +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-05 06:59:09.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.563 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=124] [2025/04/05 06:59:09.563 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=69] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:09.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862344] [2025/04/05 06:59:09.569 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862348] [2025/04/05 06:59:09.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862352] [2025/04/05 06:59:09.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862355] [2025/04/05 06:59:09.582 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862358] [2025/04/05 06:59:09.586 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862362] [2025/04/05 06:59:09.589 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862365] [2025/04/05 06:59:09.593 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236014862368] [2025/04/05 06:59:09.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707394] [2025/04/05 06:59:09.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707397] [2025/04/05 06:59:09.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707400] [2025/04/05 06:59:09.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707403] [2025/04/05 06:59:09.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707406] [2025/04/05 06:59:09.613 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707409] [2025/04/05 06:59:09.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707412] [2025/04/05 06:59:09.620 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707415] [2025/04/05 06:59:09.624 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707418] [2025/04/05 06:59:09.628 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707421] [2025/04/05 06:59:09.631 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707424] [2025/04/05 06:59:09.635 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707428] [2025/04/05 06:59:09.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707431] [2025/04/05 06:59:09.642 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236027707434] [2025/04/05 06:59:09.646 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076738] [2025/04/05 06:59:09.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076741] [2025/04/05 06:59:09.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076744] [2025/04/05 06:59:09.656 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076747] [2025/04/05 06:59:09.660 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076750] [2025/04/05 06:59:09.663 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076753] [2025/04/05 06:59:09.667 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076756] [2025/04/05 06:59:09.670 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076759] [2025/04/05 06:59:09.674 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076762] [2025/04/05 06:59:09.677 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076765] [2025/04/05 06:59:09.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076768] [2025/04/05 06:59:09.685 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076772] [2025/04/05 06:59:09.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076775] [2025/04/05 06:59:09.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236041076778] [2025/04/05 06:59:09.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183938] [2025/04/05 06:59:09.700 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183941] [2025/04/05 06:59:09.703 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183944] [2025/04/05 06:59:09.707 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183947] [2025/04/05 06:59:09.710 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183950] [2025/04/05 06:59:09.714 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183953] [2025/04/05 06:59:09.717 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183956] [2025/04/05 06:59:09.721 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183959] [2025/04/05 06:59:09.725 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183962] [2025/04/05 06:59:09.728 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183966] [2025/04/05 06:59:09.733 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183971] [2025/04/05 06:59:09.736 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183975] [2025/04/05 06:59:09.740 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183978] [2025/04/05 06:59:09.744 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236054183981] [2025/04/05 06:59:09.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067028995] [2025/04/05 06:59:09.751 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067028998] [2025/04/05 06:59:09.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029001] [2025/04/05 06:59:09.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029004] [2025/04/05 06:59:09.761 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029007] [2025/04/05 06:59:09.765 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029010] [2025/04/05 06:59:09.769 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029013] [2025/04/05 06:59:09.772 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029016] [2025/04/05 06:59:09.776 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029019] [2025/04/05 06:59:09.779 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029022] [2025/04/05 06:59:09.783 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029026] [2025/04/05 06:59:09.787 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029029] [2025/04/05 06:59:09.790 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029032] [2025/04/05 06:59:09.794 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236067029035] [2025/04/05 06:59:09.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398339] [2025/04/05 06:59:09.801 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398342] [2025/04/05 06:59:09.805 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398345] [2025/04/05 06:59:09.809 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398348] [2025/04/05 06:59:09.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398351] [2025/04/05 06:59:09.816 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398354] [2025/04/05 06:59:09.820 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398357] [2025/04/05 06:59:09.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398360] [2025/04/05 06:59:09.827 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398363] [2025/04/05 06:59:09.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398366] [2025/04/05 06:59:09.835 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398370] [2025/04/05 06:59:09.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398373] [2025/04/05 06:59:09.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236080398376] [2025/04/05 06:59:09.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243393] [2025/04/05 06:59:09.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243396] [2025/04/05 06:59:09.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243399] [2025/04/05 06:59:09.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243402] [2025/04/05 06:59:09.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243405] [2025/04/05 06:59:09.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243408] [2025/04/05 06:59:09.866 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243411] [2025/04/05 06:59:09.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243415] [2025/04/05 06:59:09.873 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243418] [2025/04/05 06:59:09.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243421] [2025/04/05 06:59:09.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243424] [2025/04/05 06:59:09.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243428] [2025/04/05 06:59:09.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243431] [2025/04/05 06:59:09.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243434] [2025/04/05 06:59:09.895 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236093243437] [2025/04/05 06:59:09.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612739] [2025/04/05 06:59:09.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612742] [2025/04/05 06:59:09.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612745] [2025/04/05 06:59:09.910 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612748] [2025/04/05 06:59:09.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612751] [2025/04/05 06:59:09.917 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612754] [2025/04/05 06:59:09.920 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612757] [2025/04/05 06:59:09.924 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136236106612760] [2025/04/05 06:59:09.938 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236106612767] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.621133ms] [2025/04/05 06:59:09.938 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236106612767] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=42.01µs] [2025/04/05 06:59:09.938 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.754947ms] [total_duration=7.379155ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136236106612767] [2025/04/05 06:59:09.939 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136236106612767] [commitTS=457136236106612769] [2025/04/05 06:59:09.940 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136236106612767] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] [concurrency=8] [2025/04/05 06:59:09.945 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136236106612767] [startKey=74800000000000007b5f728000000000000000] [endKey=74800000000000007b5f728000000000000063] ["cost time"=5.038936ms] ["completed regions"=1] [2025/04/05 06:59:09.945 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136236106612767] [commitTS=457136236106612769] [session=9] [2025/04/05 06:59:09.956 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236119719938] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.514892ms] [2025/04/05 06:59:09.956 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236119719938] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=30.995µs] [2025/04/05 06:59:09.956 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.47955ms] [total_duration=7.057321ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136236119719938] [2025/04/05 06:59:09.957 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136236119719938] [commitTS=457136236119719939] [2025/04/05 06:59:09.957 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136236119719938] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] [concurrency=8] [2025/04/05 06:59:09.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136236119719938] [startKey=7480000000000000795f728000000000002710] [endKey=7480000000000000795f728000000000002773] ["cost time"=3.077742ms] ["completed regions"=1] [2025/04/05 06:59:09.961 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136236119719938] [commitTS=457136236119719939] [session=9] [2025/04/05 06:59:09.973 +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-05 06:59:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:09.973 +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-05 06:59:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/05 06:59:09.978 +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-05 06:59:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:09.986 +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/05 06:59:10.005 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=69] [neededSchemaVersion=70] ["elapsed time"=1.488043ms] [gotSchemaVersion=70] [phyTblIDs="[123,125]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:10.008 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=126] [version=70] [2025/04/05 06:59:10.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=70] ["take time"=10.721408ms] [job="ID:126, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:123, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.020 +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/05 06:59:10.024 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=126] [jobType="truncate table"] [2025/04/05 06:59:10.025 +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-05 06:59:09.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:10.042 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=126] [2025/04/05 06:59:10.042 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=70] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/05 06:59:10.043 +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/05 06:59:10.045 +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:1 id:30 store_id:3 id:31 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 06:59:10.046 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=28] [2025/04/05 06:59:10.047 +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:1 id:30 store_id:3 id:31 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.047 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=32] [2025/04/05 06:59:10.048 +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:1 id:34 store_id:3 id:35 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.048 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=36] [2025/04/05 06:59:10.048 +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:1 id:38 store_id:3 id:39 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.049 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=40] [2025/04/05 06:59:10.049 +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:1 id:42 store_id:3 id:43 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.050 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=44] [2025/04/05 06:59:10.050 +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:1 id:46 store_id:3 id:47 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.050 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=48] [2025/04/05 06:59:10.051 +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:1 id:50 store_id:3 id:51 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.051 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=52] [2025/04/05 06:59:10.052 +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:1 id:54 store_id:3 id:55 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.052 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=56] [2025/04/05 06:59:10.053 +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:1 id:58 store_id:3 id:59 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.053 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=60] [2025/04/05 06:59:10.054 +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:1 id:62 store_id:3 id:63 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:10.054 +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/05 06:59:10.054 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=28] [backoff(ms)=299988] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=28] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=32] [backoff(ms)=299987] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=32] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=36] [backoff(ms)=299987] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=36] [2025/04/05 06:59:10.055 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=40] [backoff(ms)=299987] [2025/04/05 06:59:10.056 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=40] [2025/04/05 06:59:10.056 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=44] [backoff(ms)=299986] [2025/04/05 06:59:10.056 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=44] [2025/04/05 06:59:10.056 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=48] [backoff(ms)=299986] [2025/04/05 06:59:10.057 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=48] [2025/04/05 06:59:10.057 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=52] [backoff(ms)=299985] [2025/04/05 06:59:10.057 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=52] [2025/04/05 06:59:10.057 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=56] [backoff(ms)=299985] [2025/04/05 06:59:10.058 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=56] [2025/04/05 06:59:10.058 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=60] [backoff(ms)=299984] [2025/04/05 06:59:10.058 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=60] [2025/04/05 06:59:10.096 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236145672210] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.61359ms] [2025/04/05 06:59:10.097 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136236145672210] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=36.996µs] [2025/04/05 06:59:10.097 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.696213ms] [total_duration=11.180962ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457136236145672210] [2025/04/05 06:59:10.099 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136236145672210] [commitTS=457136236159041537] [2025/04/05 06:59:10.099 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136236145672210] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] [concurrency=8] [2025/04/05 06:59:10.107 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136236145672210] [startKey=74800000000000007d5f728000000000000000] [endKey=74800000000000007d5f728000000000002773] ["cost time"=7.04168ms] ["completed regions"=10] [2025/04/05 06:59:10.107 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136236145672210] [commitTS=457136236159041537] [session=9] [2025/04/05 06:59:10.109 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:10.109 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [] [2025/04/05 06:59:10.109 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:10.110 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.110 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:10.110 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:10.110 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=52.551µs] [2025/04/05 06:59:10.110 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=33.054µs] [2025/04/05 06:59:10.110 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=32.284µs] [2025/04/05 06:59:10.110 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=31.16µs] [2025/04/05 06:59:10.110 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.110 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.111 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:10.111 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:10.112 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] ["take time"=2.748775ms] [2025/04/05 06:59:10.112 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.112 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:10.112 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/582bc8ec-6838-4eba-aab9-26f64d0d0e13] [2025/04/05 06:59:10.112 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ttl-worker=task-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [originalCount=4] [newCount=0] [2025/04/05 06:59:10.112 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.113 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.113 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.113 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:10.113 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [ttl-worker=task-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [originalCount=4] [newCount=0] [2025/04/05 06:59:10.115 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.115 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.115 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.116 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1603] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:10.118 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:10.118 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.118 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [] [2025/04/05 06:59:10.118 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:10.119 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:10.119 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:10.119 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:10.120 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:10.120 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:10.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:10.120 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c5b77b9f-040e-45a8-8e49-09f540292234] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:10.120 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:10.120 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:10.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:10.120 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:10.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:10.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:10.121 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:10.121 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [error="context canceled"] [2025/04/05 06:59:10.121 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [2025/04/05 06:59:10.121 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [error="context canceled"] [2025/04/05 06:59:10.122 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=54c9d13a-6c70-4458-bc8d-f9023aa5bfa4] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:10.138 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:10.138 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:10.182 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:10.182 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:10.193 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.043077ms] [2025/04/05 06:59:11.072 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:14.946 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136236106612767 commit_ts:457136236106612769 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:14.946 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136236106612767 commit_ts:457136236106612769 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:14.946 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136236106612767 commit_ts:457136236106612769 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:14.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136236119719938 commit_ts:457136236119719939 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:14.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136236119719938 commit_ts:457136236119719939 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:14.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136236119719938 commit_ts:457136236119719939 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:15.107 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136236145672210 commit_ts:457136236159041537 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:15.107 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136236145672210 commit_ts:457136236159041537 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:15.107 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136236145672210 commit_ts:457136236159041537 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:15.107 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:15.107 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:15.107 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:15.107 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:15.108 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:15.108 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:15.108 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:15.108 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:15.108 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:15.108 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:15.108 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:15.108 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:15.109 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.05s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/05 06:59:15.117 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:15.118 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:15.118 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:15.119 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:15.119 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:15.119 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:15.119 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:15.119 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:15.119 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:15.120 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:15.120 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:15.123 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:15.128 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.129 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.129 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:15.139 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:15.148 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:15.183 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1391] ["lease id"=22319604bcf9540d] [2025/04/05 06:59:15.184 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:15.267 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=70] ["elapsed time"=80.735024ms] [2025/04/05 06:59:15.267 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:15.269 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:15.279 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:15.279 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:15.281 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.282 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:15.282 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176532992/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:15.282 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:15.282 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:15.282 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [2025/04/05 06:59:15.284 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95289] [ownerID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [op=none] [2025/04/05 06:59:15.284 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.284 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf95289] [currRev=408] [2025/04/05 06:59:15.285 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:15.285 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:15.285 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf9528b] [ownerID=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [op=none] [2025/04/05 06:59:15.285 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [2025/04/05 06:59:15.285 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:15.285 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [ownerKey=/tidb/br-stream/owner/6f189604bcf9528b] [currRev=409] [2025/04/05 06:59:15.286 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95289] [ownerID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [op=none] [2025/04/05 06:59:15.286 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [op=none] [2025/04/05 06:59:15.286 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:15.296 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.297 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:15.297 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:15.305 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:15.311 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:15.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:15.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:15.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:15.315 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:15.315 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:15.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:15.315 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:15.315 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:15.315 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:15.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:15.316 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.316 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:15.317 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:15.317 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:15.318 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf95418] [ownerID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [op=none] [2025/04/05 06:59:15.319 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.319 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ownerKey=/tidb/stats/owner/22319604bcf95418] [currRev=411] [2025/04/05 06:59:15.319 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:15.320 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/432f3089-858a-4967-9c5f-01b755f4bb9e] [2025/04/05 06:59:15.321 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ttl-worker=task-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [originalCount=0] [newCount=4] [2025/04/05 06:59:15.321 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ttl-worker=task-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [originalCount=0] [newCount=4] [2025/04/05 06:59:15.321 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:15.321 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:15.322 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:15.322 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:15.322 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836355322551840 [2025/04/05 06:59:15.326 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:15.401 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=85.119533ms] [2025/04/05 06:59:15.401 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:15.401 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:15.412 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:15.415 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:15.416 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=70] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:15.429 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:15.429 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.435 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.451 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=70] [neededSchemaVersion=71] ["elapsed time"=1.906446ms] [gotSchemaVersion=71] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=71] [2025/04/05 06:59:15.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=71] ["take time"=9.484443ms] [job="ID:127, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.466 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=71] [neededSchemaVersion=72] ["elapsed time"=1.891068ms] [gotSchemaVersion=72] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.483 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=72] [2025/04/05 06:59:15.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=72] ["take time"=8.537019ms] [job="ID:127, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.493 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.499 +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/05 06:59:15.511 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=72] [neededSchemaVersion=73] ["elapsed time"=961.469µs] [gotSchemaVersion=73] [phyTblIDs="[125]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.515 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=127] [version=73] [2025/04/05 06:59:15.516 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=73] ["take time"=7.794873ms] [job="ID:127, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:125, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.525 +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/05 06:59:15.533 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=127] [jobType="drop table"] [2025/04/05 06:59:15.534 +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-05 06:59:15.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.552 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=127] [2025/04/05 06:59:15.563 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.563 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:15.568 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.583 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=73] [neededSchemaVersion=74] ["elapsed time"=1.889095ms] [gotSchemaVersion=74] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.587 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=74] [2025/04/05 06:59:15.589 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=74] ["take time"=8.715414ms] [job="ID:128, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.598 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.613 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=74] [neededSchemaVersion=75] ["elapsed time"=1.812509ms] [gotSchemaVersion=75] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.617 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=75] [2025/04/05 06:59:15.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=75] ["take time"=8.514574ms] [job="ID:128, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.626 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.633 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 121, Old Table Name: t)"] [2025/04/05 06:59:15.647 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=75] [neededSchemaVersion=76] ["elapsed time"=1.14819ms] [gotSchemaVersion=76] [phyTblIDs="[121]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:15.650 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=128] [version=76] [2025/04/05 06:59:15.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=76] ["take time"=10.038505ms] [job="ID:128, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:121, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.665 +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/05 06:59:15.670 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=128] [jobType="drop table"] [2025/04/05 06:59:15.670 +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-05 06:59:15.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.688 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=128] [2025/04/05 06:59:15.688 +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: 1743836355688782684 [2025/04/05 06:59:15.692 +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/05 06:59:15.704 +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-05 06:59:15.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.705 +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-05 06:59:15.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:15.710 +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-05 06:59:15.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.714 +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/05 06:59:15.728 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=76] [neededSchemaVersion=77] ["elapsed time"=1.453076ms] [gotSchemaVersion=77] [phyTblIDs="[129]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:15.732 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=130] [version=77] [2025/04/05 06:59:15.733 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=77] ["take time"=7.992292ms] [job="ID:130, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.744 +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-05 06:59:15.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.755 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=130] [2025/04/05 06:59:15.755 +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/05 06:59:15.768 +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-05 06:59:15.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:15.768 +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-05 06:59:15.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:15.773 +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-05 06:59:15.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.778 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 131, Table Name: _t)"] [2025/04/05 06:59:15.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=77] [neededSchemaVersion=78] ["elapsed time"=1.527605ms] [gotSchemaVersion=78] [phyTblIDs="[131]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:15.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=132] [version=78] [2025/04/05 06:59:15.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=78] ["take time"=7.939247ms] [job="ID:132, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:15.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.807 +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-05 06:59:15.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:15.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=132] [2025/04/05 06:59:15.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=78] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:15.821 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000201] [2025/04/05 06:59:15.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000205] [2025/04/05 06:59:15.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000208] [2025/04/05 06:59:15.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000211] [2025/04/05 06:59:15.835 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000214] [2025/04/05 06:59:15.839 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000218] [2025/04/05 06:59:15.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237653000221] [2025/04/05 06:59:15.846 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369538] [2025/04/05 06:59:15.850 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369541] [2025/04/05 06:59:15.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369544] [2025/04/05 06:59:15.857 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369547] [2025/04/05 06:59:15.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369550] [2025/04/05 06:59:15.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369553] [2025/04/05 06:59:15.867 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369556] [2025/04/05 06:59:15.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369559] [2025/04/05 06:59:15.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369562] [2025/04/05 06:59:15.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369565] [2025/04/05 06:59:15.880 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369568] [2025/04/05 06:59:15.884 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369571] [2025/04/05 06:59:15.888 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369574] [2025/04/05 06:59:15.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369578] [2025/04/05 06:59:15.895 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237666369581] [2025/04/05 06:59:15.898 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214595] [2025/04/05 06:59:15.902 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214598] [2025/04/05 06:59:15.906 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214601] [2025/04/05 06:59:15.909 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214604] [2025/04/05 06:59:15.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214607] [2025/04/05 06:59:15.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214610] [2025/04/05 06:59:15.920 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214613] [2025/04/05 06:59:15.923 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214616] [2025/04/05 06:59:15.927 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214620] [2025/04/05 06:59:15.931 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214623] [2025/04/05 06:59:15.935 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214627] [2025/04/05 06:59:15.938 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214631] [2025/04/05 06:59:15.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214636] [2025/04/05 06:59:15.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237679214639] [2025/04/05 06:59:15.948 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583939] [2025/04/05 06:59:15.952 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583942] [2025/04/05 06:59:15.956 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583945] [2025/04/05 06:59:15.959 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583948] [2025/04/05 06:59:15.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583951] [2025/04/05 06:59:15.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583954] [2025/04/05 06:59:15.970 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583957] [2025/04/05 06:59:15.976 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583960] [2025/04/05 06:59:15.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583963] [2025/04/05 06:59:15.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583966] [2025/04/05 06:59:15.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583969] [2025/04/05 06:59:15.990 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583973] [2025/04/05 06:59:15.994 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237692583976] [2025/04/05 06:59:15.997 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691139] [2025/04/05 06:59:16.001 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691142] [2025/04/05 06:59:16.005 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691145] [2025/04/05 06:59:16.009 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691148] [2025/04/05 06:59:16.012 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691151] [2025/04/05 06:59:16.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691154] [2025/04/05 06:59:16.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691157] [2025/04/05 06:59:16.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691160] [2025/04/05 06:59:16.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691163] [2025/04/05 06:59:16.029 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691166] [2025/04/05 06:59:16.033 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691169] [2025/04/05 06:59:16.036 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691174] [2025/04/05 06:59:16.040 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691179] [2025/04/05 06:59:16.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237705691182] [2025/04/05 06:59:16.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798339] [2025/04/05 06:59:16.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798342] [2025/04/05 06:59:16.055 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798345] [2025/04/05 06:59:16.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798348] [2025/04/05 06:59:16.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798351] [2025/04/05 06:59:16.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798354] [2025/04/05 06:59:16.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798357] [2025/04/05 06:59:16.073 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798360] [2025/04/05 06:59:16.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798363] [2025/04/05 06:59:16.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798366] [2025/04/05 06:59:16.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798369] [2025/04/05 06:59:16.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798373] [2025/04/05 06:59:16.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237718798376] [2025/04/05 06:59:16.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643393] [2025/04/05 06:59:16.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643396] [2025/04/05 06:59:16.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643399] [2025/04/05 06:59:16.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643402] [2025/04/05 06:59:16.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643405] [2025/04/05 06:59:16.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643408] [2025/04/05 06:59:16.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643411] [2025/04/05 06:59:16.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643414] [2025/04/05 06:59:16.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643417] [2025/04/05 06:59:16.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643420] [2025/04/05 06:59:16.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643423] [2025/04/05 06:59:16.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643426] [2025/04/05 06:59:16.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643430] [2025/04/05 06:59:16.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237731643433] [2025/04/05 06:59:16.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012739] [2025/04/05 06:59:16.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012742] [2025/04/05 06:59:16.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012745] [2025/04/05 06:59:16.159 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012748] [2025/04/05 06:59:16.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012751] [2025/04/05 06:59:16.166 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012754] [2025/04/05 06:59:16.170 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012757] [2025/04/05 06:59:16.173 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012760] [2025/04/05 06:59:16.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012763] [2025/04/05 06:59:16.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136237745012766] [2025/04/05 06:59:16.192 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136237745012771] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.120603ms] [2025/04/05 06:59:16.192 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136237745012771] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=34.045µs] [2025/04/05 06:59:16.192 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.274555ms] [total_duration=2.210872ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457136237745012771] [2025/04/05 06:59:16.193 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136237745012771] [commitTS=457136237745012772] [2025/04/05 06:59:16.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136237745012771] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] [concurrency=8] [2025/04/05 06:59:16.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136237745012771] [startKey=7480000000000000835f728000000000000000] [endKey=7480000000000000835f728000000000000063] ["cost time"=4.142828ms] ["completed regions"=1] [2025/04/05 06:59:16.198 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136237745012771] [commitTS=457136237745012772] [session=11] [2025/04/05 06:59:16.205 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136237757857793] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=1.868958ms] [2025/04/05 06:59:16.205 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136237757857793] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=27.858µs] [2025/04/05 06:59:16.205 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=1.901196ms] [total_duration=10.11861ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457136237757857793] [2025/04/05 06:59:16.206 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136237757857793] [commitTS=457136237757857794] [2025/04/05 06:59:16.206 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136237757857793] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] [concurrency=8] [2025/04/05 06:59:16.209 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136237757857793] [startKey=7480000000000000835f728000000000000001] [endKey=7480000000000000835f728000000000000062] ["cost time"=2.532671ms] ["completed regions"=1] [2025/04/05 06:59:16.209 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136237757857793] [commitTS=457136237757857794] [session=11] [2025/04/05 06:59:16.212 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:16.212 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [] [2025/04/05 06:59:16.212 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:16.212 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.212 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:16.213 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:16.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=48.735µs] [2025/04/05 06:59:16.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=34.197µs] [2025/04/05 06:59:16.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=36.266µs] [2025/04/05 06:59:16.213 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=32.579µs] [2025/04/05 06:59:16.213 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.213 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.214 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:16.214 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:16.215 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] ["take time"=3.282234ms] [2025/04/05 06:59:16.216 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.216 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:16.216 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/432f3089-858a-4967-9c5f-01b755f4bb9e] [2025/04/05 06:59:16.216 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ttl-worker=task-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [originalCount=4] [newCount=0] [2025/04/05 06:59:16.216 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:16.216 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:16.216 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:16.216 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:16.216 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [ttl-worker=task-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [originalCount=4] [newCount=0] [2025/04/05 06:59:16.218 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:16.219 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:16.219 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:16.219 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:16.221 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.221 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1391] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:16.223 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.223 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:16.223 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.222 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:16.222 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:16.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:16.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:16.222 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:16.222 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:16.223 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:16.223 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:16.224 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e39cd31c-efa0-4ab0-9fee-edd718290c1e] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:16.224 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:16.224 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:16.224 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:16.224 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:16.224 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:16.224 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:16.224 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:16.224 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [error="context canceled"] [2025/04/05 06:59:16.224 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:16.224 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:16.224 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:16.225 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [error="context canceled"] [2025/04/05 06:59:16.225 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [2025/04/05 06:59:16.244 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:16.244 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:16.284 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=a8fd23a8-5e31-42ef-bec9-2fc1bee0a80c] [error="context canceled"] [2025/04/05 06:59:16.284 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:16.284 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:16.295 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.891046ms] [2025/04/05 06:59:17.124 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:21.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136237745012771 commit_ts:457136237745012772 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:21.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136237745012771 commit_ts:457136237745012772 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:21.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136237745012771 commit_ts:457136237745012772 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136237757857793 commit_ts:457136237757857794 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136237757857793 commit_ts:457136237757857794 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136237757857793 commit_ts:457136237757857794 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:21.209 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:21.209 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:21.209 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:21.209 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:21.209 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:21.209 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:21.210 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:21.209 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:21.210 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:21.210 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:21.211 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.10s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/05 06:59:21.219 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:21.220 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:21.220 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:21.221 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:21.221 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:21.221 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:21.221 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:21.221 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:21.221 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:21.222 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:21.222 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:21.226 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:21.231 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:21.231 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:21.232 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:21.241 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:21.250 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:21.285 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=381] ["lease id"=22319604bcf9543d] [2025/04/05 06:59:21.286 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:21.374 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=78] ["elapsed time"=85.153521ms] [2025/04/05 06:59:21.374 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:21.376 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:21.386 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b38c49be-344c-4623-ae5d-0d47be739512] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:21.386 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:21.388 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.389 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:21.389 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176545280/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:21.389 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:21.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:21.390 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:21.390 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [2025/04/05 06:59:21.391 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95245] [ownerID=b38c49be-344c-4623-ae5d-0d47be739512] [op=none] [2025/04/05 06:59:21.391 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.392 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95245] [currRev=449] [2025/04/05 06:59:21.392 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:21.392 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:21.393 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf952b6] [ownerID=212846c0-16a7-4910-a9e0-811e25ad51cc] [op=none] [2025/04/05 06:59:21.393 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [2025/04/05 06:59:21.393 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:21.393 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [ownerKey=/tidb/br-stream/owner/6f189604bcf952b6] [currRev=450] [2025/04/05 06:59:21.394 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95245] [ownerID=b38c49be-344c-4623-ae5d-0d47be739512] [op=none] [2025/04/05 06:59:21.394 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [op=none] [2025/04/05 06:59:21.394 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:21.403 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:21.404 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:21.413 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:21.419 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:21.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:21.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:21.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:21.424 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:21.424 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:21.424 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:21.424 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:21.424 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:21.424 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:21.425 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:21.425 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:21.426 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:21.426 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:21.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:21.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:21.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:21.427 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:21.428 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf95448] [ownerID=b38c49be-344c-4623-ae5d-0d47be739512] [op=none] [2025/04/05 06:59:21.428 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.428 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [ownerKey=/tidb/stats/owner/22319604bcf95448] [currRev=452] [2025/04/05 06:59:21.429 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:21.431 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:21.431 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/90c28598-e73a-4dd8-a2c4-2b6420695556] [2025/04/05 06:59:21.431 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [ttl-worker=task-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [originalCount=0] [newCount=4] [2025/04/05 06:59:21.431 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [ttl-worker=task-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [originalCount=0] [newCount=4] [2025/04/05 06:59:21.431 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:21.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:21.432 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:21.432 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836361432433181 [2025/04/05 06:59:21.436 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:21.442 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.833001ms] [2025/04/05 06:59:21.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:21.442 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:21.445 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:21.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:21.449 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=78] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:21.461 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.461 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:21.467 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.482 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=78] [neededSchemaVersion=79] ["elapsed time"=1.859897ms] [gotSchemaVersion=79] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=79] [2025/04/05 06:59:21.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=79] ["take time"=8.757399ms] [job="ID:133, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.497 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.512 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=79] [neededSchemaVersion=80] ["elapsed time"=1.916631ms] [gotSchemaVersion=80] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.515 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=80] [2025/04/05 06:59:21.517 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=80] ["take time"=8.939518ms] [job="ID:133, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.525 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.531 +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/05 06:59:21.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=80] [neededSchemaVersion=81] ["elapsed time"=1.009881ms] [gotSchemaVersion=81] [phyTblIDs="[131]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.547 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=133] [version=81] [2025/04/05 06:59: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=81] ["take time"=7.535697ms] [job="ID:133, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:131, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.557 +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/05 06:59:21.564 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=133] [jobType="drop table"] [2025/04/05 06:59:21.564 +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-05 06:59:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.582 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=133] [2025/04/05 06:59:21.592 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.592 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:21.598 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.612 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=81] [neededSchemaVersion=82] ["elapsed time"=1.845862ms] [gotSchemaVersion=82] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=82] [2025/04/05 06:59:21.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=82] ["take time"=8.563966ms] [job="ID:134, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.627 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.641 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=82] [neededSchemaVersion=83] ["elapsed time"=1.87679ms] [gotSchemaVersion=83] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=83] [2025/04/05 06:59:21.646 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=83] ["take time"=8.733558ms] [job="ID:134, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.654 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.660 +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/05 06:59:21.672 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=83] [neededSchemaVersion=84] ["elapsed time"=1.063781ms] [gotSchemaVersion=84] [phyTblIDs="[129]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:21.675 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=134] [version=84] [2025/04/05 06:59: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=84] ["take time"=7.570729ms] [job="ID:134, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:129, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.686 +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/05 06:59:21.690 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=134] [jobType="drop table"] [2025/04/05 06:59:21.691 +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-05 06:59:21.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.708 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=134] [2025/04/05 06:59:21.708 +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: 1743836361709133279 [2025/04/05 06:59:21.712 +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/05 06:59:21.726 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.726 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:136, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:21.731 +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-05 06:59:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.736 +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/05 06:59:21.751 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=84] [neededSchemaVersion=85] ["elapsed time"=1.558533ms] [gotSchemaVersion=85] [phyTblIDs="[135]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:21.755 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=136] [version=85] [2025/04/05 06:59:21.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=85] ["take time"=8.547081ms] [job="ID:136, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.767 +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-05 06:59:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.778 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=136] [2025/04/05 06:59:21.778 +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/05 06:59:21.791 +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-05 06:59:21.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:21.791 +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-05 06:59:21.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:21.796 +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-05 06:59:21.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.801 +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/05 06:59:21.814 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=85] [neededSchemaVersion=86] ["elapsed time"=1.508841ms] [gotSchemaVersion=86] [phyTblIDs="[137]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:21.818 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=138] [version=86] [2025/04/05 06:59:21.820 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=86] ["take time"=8.358865ms] [job="ID:138, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:21.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.830 +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-05 06:59:21.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:21.841 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=138] [2025/04/05 06:59:21.842 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=86] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:21.845 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239226126353] [2025/04/05 06:59:21.849 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971396] [2025/04/05 06:59:21.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971399] [2025/04/05 06:59:21.856 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971402] [2025/04/05 06:59:21.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971405] [2025/04/05 06:59:21.863 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971408] [2025/04/05 06:59:21.870 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971411] [2025/04/05 06:59:21.874 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971414] [2025/04/05 06:59:21.877 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971417] [2025/04/05 06:59:21.881 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971420] [2025/04/05 06:59:21.885 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971423] [2025/04/05 06:59:21.889 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971426] [2025/04/05 06:59:21.892 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239238971430] [2025/04/05 06:59:21.897 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340739] [2025/04/05 06:59:21.900 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340742] [2025/04/05 06:59:21.904 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340745] [2025/04/05 06:59:21.908 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340748] [2025/04/05 06:59:21.912 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340751] [2025/04/05 06:59:21.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340754] [2025/04/05 06:59:21.925 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340757] [2025/04/05 06:59:21.929 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340760] [2025/04/05 06:59:21.933 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340763] [2025/04/05 06:59:21.937 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340766] [2025/04/05 06:59:21.941 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340769] [2025/04/05 06:59:21.945 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239252340773] [2025/04/05 06:59:21.949 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447942] [2025/04/05 06:59:21.953 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447945] [2025/04/05 06:59:21.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447948] [2025/04/05 06:59:21.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447951] [2025/04/05 06:59:21.965 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447954] [2025/04/05 06:59:21.969 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447957] [2025/04/05 06:59:21.974 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447960] [2025/04/05 06:59:21.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447963] [2025/04/05 06:59:21.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447966] [2025/04/05 06:59:21.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447969] [2025/04/05 06:59:21.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447972] [2025/04/05 06:59:21.995 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239265447975] [2025/04/05 06:59:21.999 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555140] [2025/04/05 06:59:22.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555143] [2025/04/05 06:59:22.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555146] [2025/04/05 06:59:22.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555149] [2025/04/05 06:59:22.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555152] [2025/04/05 06:59:22.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555155] [2025/04/05 06:59:22.022 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555158] [2025/04/05 06:59:22.026 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555161] [2025/04/05 06:59:22.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555164] [2025/04/05 06:59:22.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555168] [2025/04/05 06:59:22.039 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555171] [2025/04/05 06:59:22.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239278555174] [2025/04/05 06:59:22.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400195] [2025/04/05 06:59:22.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400198] [2025/04/05 06:59:22.055 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400201] [2025/04/05 06:59:22.059 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400204] [2025/04/05 06:59:22.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400207] [2025/04/05 06:59:22.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400210] [2025/04/05 06:59:22.070 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400213] [2025/04/05 06:59:22.074 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400216] [2025/04/05 06:59:22.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400219] [2025/04/05 06:59:22.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400222] [2025/04/05 06:59:22.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400225] [2025/04/05 06:59:22.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400228] [2025/04/05 06:59:22.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239291400231] [2025/04/05 06:59:22.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769539] [2025/04/05 06:59:22.100 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769542] [2025/04/05 06:59:22.104 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769545] [2025/04/05 06:59:22.108 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769548] [2025/04/05 06:59:22.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769551] [2025/04/05 06:59:22.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769554] [2025/04/05 06:59:22.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769557] [2025/04/05 06:59:22.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769560] [2025/04/05 06:59:22.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769563] [2025/04/05 06:59:22.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769566] [2025/04/05 06:59:22.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769569] [2025/04/05 06:59:22.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769572] [2025/04/05 06:59:22.141 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769575] [2025/04/05 06:59:22.145 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239304769581] [2025/04/05 06:59:22.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614596] [2025/04/05 06:59:22.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614599] [2025/04/05 06:59:22.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614602] [2025/04/05 06:59:22.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614605] [2025/04/05 06:59:22.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614608] [2025/04/05 06:59:22.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614611] [2025/04/05 06:59:22.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614614] [2025/04/05 06:59:22.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614617] [2025/04/05 06:59:22.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614620] [2025/04/05 06:59:22.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614623] [2025/04/05 06:59:22.186 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614626] [2025/04/05 06:59:22.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614629] [2025/04/05 06:59:22.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239317614632] [2025/04/05 06:59:22.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721796] [2025/04/05 06:59:22.201 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721799] [2025/04/05 06:59:22.205 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721802] [2025/04/05 06:59:22.209 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721805] [2025/04/05 06:59:22.213 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721808] [2025/04/05 06:59:22.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721811] [2025/04/05 06:59:22.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721814] [2025/04/05 06:59:22.224 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721817] [2025/04/05 06:59:22.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721820] [2025/04/05 06:59:22.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721823] [2025/04/05 06:59:22.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721826] [2025/04/05 06:59:22.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136239330721829] [2025/04/05 06:59:22.265 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:22.265 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:22.265 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [] [2025/04/05 06:59:22.265 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.265 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:22.265 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:22.265 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=53.895µs] [2025/04/05 06:59:22.265 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=53.168µs] [2025/04/05 06:59:22.265 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=40.182µs] [2025/04/05 06:59:22.266 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=52.348µs] [2025/04/05 06:59:22.266 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.266 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.267 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:22.267 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:22.269 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b38c49be-344c-4623-ae5d-0d47be739512] ["take time"=4.051115ms] [2025/04/05 06:59:22.269 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.269 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:22.269 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/90c28598-e73a-4dd8-a2c4-2b6420695556] [2025/04/05 06:59:22.269 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [ttl-worker=task-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [originalCount=4] [newCount=0] [2025/04/05 06:59:22.269 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:22.269 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:22.269 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:22.269 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:22.270 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [ttl-worker=task-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [originalCount=4] [newCount=0] [2025/04/05 06:59:22.272 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:22.272 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:22.272 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:22.272 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:22.274 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.275 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:22.275 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=381] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:22.277 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:22.277 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:22.276 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:22.276 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:22.277 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [] [2025/04/05 06:59:22.277 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:22.277 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.277 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.277 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.278 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=212846c0-16a7-4910-a9e0-811e25ad51cc] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:22.278 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:22.278 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:22.278 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:22.278 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [error="context canceled"] [2025/04/05 06:59:22.278 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:22.278 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:22.278 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:22.278 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:22.279 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [error="context canceled"] [2025/04/05 06:59:22.279 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [2025/04/05 06:59:22.297 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:22.297 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:22.339 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b38c49be-344c-4623-ae5d-0d47be739512] [error="context canceled"] [2025/04/05 06:59:22.339 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:22.339 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:22.349 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.575687ms] [2025/04/05 06:59:22.352 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:22.352 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:22.352 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:22.352 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:22.352 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:22.352 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:22.352 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:22.352 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:22.352 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:22.352 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:22.352 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:22.352 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:22.353 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.14s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/05 06:59:22.360 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:22.361 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:22.362 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:22.362 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:22.362 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:22.363 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:22.363 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:22.363 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:22.363 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:22.363 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:22.363 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:22.367 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:22.373 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:22.373 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:22.374 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:22.383 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:22.392 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:22.426 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1398] ["lease id"=3eaa9604bcf9525f] [2025/04/05 06:59:22.428 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:22.515 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=86] ["elapsed time"=84.576676ms] [2025/04/05 06:59:22.515 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:22.517 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:22.527 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=746ef571-36ca-4888-87d3-aef4d9a46a2a] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:22.527 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:22.529 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.530 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:22.530 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237176569856/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:22.530 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:22.530 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:22.531 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:22.531 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:22.531 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:22.531 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [2025/04/05 06:59:22.532 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95264] [ownerID=746ef571-36ca-4888-87d3-aef4d9a46a2a] [op=none] [2025/04/05 06:59:22.532 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.532 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95264] [currRev=488] [2025/04/05 06:59:22.533 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:22.533 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:22.534 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:22.534 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf95462] [ownerID=b1202288-be0f-4b1d-8e63-eee29385e0f3] [op=none] [2025/04/05 06:59:22.534 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [2025/04/05 06:59:22.534 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [ownerKey=/tidb/br-stream/owner/22319604bcf95462] [currRev=489] [2025/04/05 06:59:22.534 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95264] [ownerID=746ef571-36ca-4888-87d3-aef4d9a46a2a] [op=none] [2025/04/05 06:59:22.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=746ef571-36ca-4888-87d3-aef4d9a46a2a] [op=none] [2025/04/05 06:59:22.534 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:22.545 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.546 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:22.546 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:22.555 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:22.562 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:22.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:22.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:22.567 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:22.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:22.567 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:22.567 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:22.567 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:22.567 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:22.567 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:22.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:22.568 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:22.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:22.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:22.569 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:22.570 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:22.570 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:22.570 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:22.570 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:22.572 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf9526c] [ownerID=746ef571-36ca-4888-87d3-aef4d9a46a2a] [op=none] [2025/04/05 06:59:22.572 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.572 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ownerKey=/tidb/stats/owner/3eaa9604bcf9526c] [currRev=491] [2025/04/05 06:59:22.572 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:22.574 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c5895572-7b72-4e4a-b3e8-d9aef01f7f7e] [2025/04/05 06:59:22.574 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ttl-worker=task-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [originalCount=0] [newCount=4] [2025/04/05 06:59:22.574 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:22.574 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ttl-worker=task-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [originalCount=0] [newCount=4] [2025/04/05 06:59:22.574 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:22.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:22.575 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:22.576 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836362576082174 [2025/04/05 06:59:22.580 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:22.587 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.86875ms] [2025/04/05 06:59:22.587 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:22.587 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:22.595 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:22.607 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:22.610 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:22.611 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=86] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:22.624 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:22.624 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:22.629 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=86] [neededSchemaVersion=87] ["elapsed time"=1.905646ms] [gotSchemaVersion=87] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=87] [2025/04/05 06:59:22.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=87] ["take time"=8.624658ms] [job="ID:139, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.660 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=87] [neededSchemaVersion=88] ["elapsed time"=1.976535ms] [gotSchemaVersion=88] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.677 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=88] [2025/04/05 06:59:22.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=88] ["take time"=8.507921ms] [job="ID:139, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.687 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.693 +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/05 06:59:22.706 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=88] [neededSchemaVersion=89] ["elapsed time"=1.084144ms] [gotSchemaVersion=89] [phyTblIDs="[137]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.710 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=139] [version=89] [2025/04/05 06:59:22.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=89] ["take time"=7.932447ms] [job="ID:139, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:137, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.721 +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/05 06:59:22.728 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=139] [jobType="drop table"] [2025/04/05 06:59:22.729 +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-05 06:59:22.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.748 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=139] [2025/04/05 06:59:22.758 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:22.758 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:22.763 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.777 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=89] [neededSchemaVersion=90] ["elapsed time"=1.683809ms] [gotSchemaVersion=90] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=90] [2025/04/05 06:59:22.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=90] ["take time"=8.180805ms] [job="ID:140, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.791 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.806 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=90] [neededSchemaVersion=91] ["elapsed time"=1.709098ms] [gotSchemaVersion=91] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.809 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=91] [2025/04/05 06:59:22.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=91] ["take time"=8.174353ms] [job="ID:140, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.818 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.824 +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/05 06:59:22.836 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=91] [neededSchemaVersion=92] ["elapsed time"=1.081439ms] [gotSchemaVersion=92] [phyTblIDs="[135]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:22.840 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=140] [version=92] [2025/04/05 06:59:22.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=92] ["take time"=7.693508ms] [job="ID:140, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:135, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.850 +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/05 06:59:22.855 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=140] [jobType="drop table"] [2025/04/05 06:59:22.856 +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-05 06:59:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.873 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=140] [2025/04/05 06:59:22.873 +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: 1743836362873964967 [2025/04/05 06:59:22.877 +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/05 06:59:22.890 +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-05 06:59:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:22.890 +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-05 06:59:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 06:59:22.895 +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-05 06:59:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.900 +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/05 06:59:22.914 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=92] [neededSchemaVersion=93] ["elapsed time"=1.503334ms] [gotSchemaVersion=93] [phyTblIDs="[141]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:22.917 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=142] [version=93] [2025/04/05 06:59:22.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=93] ["take time"=8.352261ms] [job="ID:142, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.929 +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-05 06:59:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.940 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=142] [2025/04/05 06:59:22.940 +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/05 06:59:22.959 +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-05 06:59:22.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 06:59:22.959 +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-05 06:59:22.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:22.964 +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-05 06:59:22.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.969 +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/05 06:59:22.983 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=93] [neededSchemaVersion=94] ["elapsed time"=1.515891ms] [gotSchemaVersion=94] [phyTblIDs="[143]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:22.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=144] [version=94] [2025/04/05 06:59:22.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=94] ["take time"=8.350769ms] [job="ID:144, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:22.999 +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-05 06:59:22.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.010 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=144] [2025/04/05 06:59:23.010 +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/05 06:59:23.033 +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-05 06:59:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:23.033 +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-05 06:59:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.039 +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-05 06:59:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.047 +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/05 06:59:23.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=94] [neededSchemaVersion=95] ["elapsed time"=1.545555ms] [gotSchemaVersion=95] [phyTblIDs="[143,145]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:23.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=146] [version=95] [2025/04/05 06:59:23.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=95] ["take time"=8.113936ms] [job="ID:146, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:143, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.076 +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/05 06:59:23.081 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=146] [jobType="truncate table"] [2025/04/05 06:59:23.082 +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-05 06:59:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.100 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=146] [2025/04/05 06:59:23.100 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=95] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:23.108 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239566913539] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.090806ms] [2025/04/05 06:59:23.108 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.200054ms] [total_duration=6.228114ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239566913539] [2025/04/05 06:59:23.109 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239566913539] [commitTS=457136239566913542] [2025/04/05 06:59:23.109 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239566913539] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] [concurrency=8] [2025/04/05 06:59:23.113 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239566913539] [startKey=7480000000000000915f728000000000000001] [endKey=7480000000000000915f728000000000000005] ["cost time"=4.073175ms] ["completed regions"=1] [2025/04/05 06:59:23.113 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239566913539] [commitTS=457136239566913542] [session=15] [2025/04/05 06:59:23.123 +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-05 06:59:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.123 +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-05 06:59:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:23.129 +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-05 06:59:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.136 +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/05 06:59:23.150 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=95] [neededSchemaVersion=96] ["elapsed time"=1.496551ms] [gotSchemaVersion=96] [phyTblIDs="[145,147]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:23.153 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=148] [version=96] [2025/04/05 06:59:23.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=96] ["take time"=8.199126ms] [job="ID:148, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:145, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.165 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=148] [tableIDs="[145]"] [comment="truncate table: table ID"] [2025/04/05 06:59:23.169 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=148] [jobType="truncate table"] [2025/04/05 06:59:23.170 +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-05 06:59:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.187 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=148] [2025/04/05 06:59:23.187 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=96] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:23.195 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239580020755] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=958.675µs] [2025/04/05 06:59:23.195 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.053389ms] [total_duration=5.471496ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136239580020755] [2025/04/05 06:59:23.196 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239580020755] [commitTS=457136239592865793] [2025/04/05 06:59:23.196 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239580020755] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] [concurrency=8] [2025/04/05 06:59:23.198 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239580020755] [startKey=7480000000000000935f728000000000000001] [endKey=7480000000000000935f728000000000000005] ["cost time"=2.009234ms] ["completed regions"=1] [2025/04/05 06:59:23.198 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239580020755] [commitTS=457136239592865793] [session=15] [2025/04/05 06:59:23.208 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239592865794] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.007081ms] [2025/04/05 06:59:23.208 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.145193ms] [total_duration=2.942995ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136239592865794] [2025/04/05 06:59:23.210 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239592865794] [commitTS=457136239592865795] [2025/04/05 06:59:23.210 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239592865794] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] [concurrency=8] [2025/04/05 06:59:23.212 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239592865794] [startKey=7480000000000000935f728000000000000006] [endKey=7480000000000000935f72800000000000000a] ["cost time"=2.094097ms] ["completed regions"=1] [2025/04/05 06:59:23.213 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239592865794] [commitTS=457136239592865795] [session=15] [2025/04/05 06:59:23.217 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239592865796] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=983.746µs] [2025/04/05 06:59:23.217 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.097242ms] [total_duration=2.725891ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239592865796] [2025/04/05 06:59:23.218 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239592865796] [commitTS=457136239592865797] [2025/04/05 06:59:23.219 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239592865796] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] [concurrency=8] [2025/04/05 06:59:23.220 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239592865796] [startKey=7480000000000000935f72800000000000000b] [endKey=7480000000000000935f72800000000000000f] ["cost time"=1.696779ms] ["completed regions"=1] [2025/04/05 06:59:23.220 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239592865796] [commitTS=457136239592865797] [session=15] [2025/04/05 06:59:23.225 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239592865798] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.025911ms] [2025/04/05 06:59:23.225 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.147744ms] [total_duration=2.869381ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239592865798] [2025/04/05 06:59:23.226 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239592865798] [commitTS=457136239592865799] [2025/04/05 06:59:23.227 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239592865798] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] [concurrency=8] [2025/04/05 06:59:23.228 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239592865798] [startKey=7480000000000000935f728000000000000010] [endKey=7480000000000000935f728000000000000014] ["cost time"=1.749671ms] ["completed regions"=1] [2025/04/05 06:59:23.228 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239592865798] [commitTS=457136239592865799] [session=15] [2025/04/05 06:59:23.241 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:23.241 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.246 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.262 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=96] [neededSchemaVersion=97] ["elapsed time"=1.862697ms] [gotSchemaVersion=97] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.265 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=97] [2025/04/05 06:59:23.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=97] ["take time"=8.948993ms] [job="ID:149, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.277 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=97] [neededSchemaVersion=98] ["elapsed time"=1.827934ms] [gotSchemaVersion=98] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=98] [2025/04/05 06:59:23.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=98] ["take time"=8.596381ms] [job="ID:149, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.306 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.312 +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/05 06:59:23.324 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=98] [neededSchemaVersion=99] ["elapsed time"=1.004057ms] [gotSchemaVersion=99] [phyTblIDs="[141]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.328 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=149] [version=99] [2025/04/05 06:59:23.329 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=99] ["take time"=7.39941ms] [job="ID:149, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:141, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.338 +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/05 06:59:23.343 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=149] [jobType="drop table"] [2025/04/05 06:59:23.343 +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-05 06:59:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.361 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=149] [2025/04/05 06:59:23.371 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.371 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:23.376 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.391 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=99] [neededSchemaVersion=100] ["elapsed time"=1.956274ms] [gotSchemaVersion=100] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.394 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=100] [2025/04/05 06:59:23.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=100] ["take time"=8.516647ms] [job="ID:150, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.405 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=100] [neededSchemaVersion=101] ["elapsed time"=1.930528ms] [gotSchemaVersion=101] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.423 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=101] [2025/04/05 06:59: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=101] ["take time"=8.231898ms] [job="ID:150, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.433 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.439 +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/05 06:59:23.451 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=101] [neededSchemaVersion=102] ["elapsed time"=1.048872ms] [gotSchemaVersion=102] [phyTblIDs="[147]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.454 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=150] [version=102] [2025/04/05 06:59:23.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=102] ["take time"=7.413893ms] [job="ID:150, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:147, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.465 +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/05 06:59:23.469 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=150] [jobType="drop table"] [2025/04/05 06:59:23.470 +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-05 06:59:23.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.488 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=150] [2025/04/05 06:59:23.488 +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/05 06:59:23.501 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.501 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:152, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 06:59:23.506 +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-05 06:59:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.511 +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/05 06:59:23.525 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=102] [neededSchemaVersion=103] ["elapsed time"=1.45582ms] [gotSchemaVersion=103] [phyTblIDs="[151]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:23.528 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=152] [version=103] [2025/04/05 06:59:23.529 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=103] ["take time"=7.971077ms] [job="ID:152, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.539 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:23.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:23.539 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:23.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:23.542 +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-05 06:59:23.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.553 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=152] [2025/04/05 06:59:23.554 +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/05 06:59:23.574 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:23.574 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:23.575 +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-05 06:59:23.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.575 +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-05 06:59:23.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:23.575 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c5895572-7b72-4e4a-b3e8-d9aef01f7f7e] [watcherID=94dc9bf6-33c5-450f-8c00-3be7f909e2a8] [2025/04/05 06:59:23.576 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:23.582 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:23.582 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:23.582 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:23.583 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:23.583 +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-05 06:59:23.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.595 +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/05 06:59:23.609 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=103] [neededSchemaVersion=104] ["elapsed time"=1.635077ms] [gotSchemaVersion=104] [phyTblIDs="[151,153]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:23.613 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=154] [version=104] [2025/04/05 06:59:23.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=104] ["take time"=8.641524ms] [job="ID:154, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:151, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.625 +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/05 06:59:23.629 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=154] [jobType="truncate table"] [2025/04/05 06:59:23.630 +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-05 06:59:23.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.649 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=154] [2025/04/05 06:59:23.649 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=104] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:23.655 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239710830594] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=963.585µs] [2025/04/05 06:59:23.655 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.048744ms] [total_duration=4.667162ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239710830594] [2025/04/05 06:59:23.656 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239710830594] [commitTS=457136239710830597] [2025/04/05 06:59:23.656 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239710830594] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] [concurrency=8] [2025/04/05 06:59:23.658 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239710830594] [startKey=7480000000000000995f728000000000000001] [endKey=7480000000000000995f728000000000000005] ["cost time"=2.03298ms] ["completed regions"=1] [2025/04/05 06:59:23.659 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239710830594] [commitTS=457136239710830597] [session=15] [2025/04/05 06:59:23.669 +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-05 06:59:23.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.669 +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-05 06:59:23.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:23.675 +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-05 06:59:23.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.681 +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/05 06:59:23.696 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=104] [neededSchemaVersion=105] ["elapsed time"=1.514582ms] [gotSchemaVersion=105] [phyTblIDs="[153,155]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:23.699 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=156] [version=105] [2025/04/05 06:59:23.701 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=105] ["take time"=8.064825ms] [job="ID:156, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:153, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.711 +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/05 06:59:23.715 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=156] [jobType="truncate table"] [2025/04/05 06:59:23.716 +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-05 06:59:23.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.733 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=156] [2025/04/05 06:59:23.734 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=105] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:23.740 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239724199951] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=992.99µs] [2025/04/05 06:59:23.740 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.089975ms] [total_duration=4.843922ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136239724199951] [2025/04/05 06:59:23.741 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239724199951] [commitTS=457136239724199955] [2025/04/05 06:59:23.741 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239724199951] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] [concurrency=8] [2025/04/05 06:59:23.743 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239724199951] [startKey=74800000000000009b5f728000000000000001] [endKey=74800000000000009b5f728000000000000005] ["cost time"=1.837184ms] ["completed regions"=1] [2025/04/05 06:59:23.743 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239724199951] [commitTS=457136239724199955] [session=15] [2025/04/05 06:59:23.747 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239737307137] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=862.889µs] [2025/04/05 06:59:23.747 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=956.505µs] [total_duration=1.563238ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136239737307137] [2025/04/05 06:59:23.748 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239737307137] [commitTS=457136239737307138] [2025/04/05 06:59:23.748 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239737307137] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] [concurrency=8] [2025/04/05 06:59:23.750 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239737307137] [startKey=74800000000000009b5f728000000000000006] [endKey=74800000000000009b5f72800000000000000a] ["cost time"=1.880293ms] ["completed regions"=1] [2025/04/05 06:59:23.750 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239737307137] [commitTS=457136239737307138] [session=15] [2025/04/05 06:59:23.752 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239737307139] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=994.017µs] [2025/04/05 06:59:23.752 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.083481ms] [total_duration=1.727384ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239737307139] [2025/04/05 06:59:23.753 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239737307139] [commitTS=457136239737307140] [2025/04/05 06:59:23.753 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239737307139] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] [concurrency=8] [2025/04/05 06:59:23.755 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239737307139] [startKey=74800000000000009b5f72800000000000000b] [endKey=74800000000000009b5f72800000000000000f] ["cost time"=1.68394ms] ["completed regions"=1] [2025/04/05 06:59:23.755 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239737307139] [commitTS=457136239737307140] [session=15] [2025/04/05 06:59:23.757 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239737307141] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=888.502µs] [2025/04/05 06:59:23.757 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=980.57µs] [total_duration=1.637925ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239737307141] [2025/04/05 06:59:23.758 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239737307141] [commitTS=457136239737307142] [2025/04/05 06:59:23.758 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239737307141] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] [concurrency=8] [2025/04/05 06:59:23.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239737307141] [startKey=74800000000000009b5f728000000000000010] [endKey=74800000000000009b5f728000000000000014] ["cost time"=1.632373ms] ["completed regions"=1] [2025/04/05 06:59:23.760 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239737307141] [commitTS=457136239737307142] [session=15] [2025/04/05 06:59:23.770 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.770 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:23.776 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=105] [neededSchemaVersion=106] ["elapsed time"=1.878009ms] [gotSchemaVersion=106] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=106] [2025/04/05 06:59:23.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=106] ["take time"=8.689867ms] [job="ID:157, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.806 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.821 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=106] [neededSchemaVersion=107] ["elapsed time"=1.84001ms] [gotSchemaVersion=107] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.825 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=107] [2025/04/05 06:59:23.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=107] ["take time"=8.788963ms] [job="ID:157, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.834 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.840 +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/05 06:59:23.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=107] [neededSchemaVersion=108] ["elapsed time"=1.026949ms] [gotSchemaVersion=108] [phyTblIDs="[155]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:23.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=157] [version=108] [2025/04/05 06:59:23.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=108] ["take time"=7.664392ms] [job="ID:157, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:155, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.866 +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/05 06:59:23.870 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=157] [jobType="drop table"] [2025/04/05 06:59:23.871 +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-05 06:59:23.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.888 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=157] [2025/04/05 06:59:23.888 +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/05 06:59:23.900 +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-05 06:59:23.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.901 +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-05 06:59:23.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 06:59:23.906 +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-05 06:59:23.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.910 +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/05 06:59:23.924 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=108] [neededSchemaVersion=109] ["elapsed time"=1.600826ms] [gotSchemaVersion=109] [phyTblIDs="[158]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:23.928 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=159] [version=109] [2025/04/05 06:59:23.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=109] ["take time"=8.508982ms] [job="ID:159, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.941 +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-05 06:59:23.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.952 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=159] [2025/04/05 06:59:23.952 +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/05 06:59:23.957 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239789735943] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.012657ms] [2025/04/05 06:59:23.957 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.120253ms] [total_duration=4.536146ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136239789735943] [2025/04/05 06:59:23.959 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239789735943] [commitTS=457136239789735947] [2025/04/05 06:59:23.959 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239789735943] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] [concurrency=8] [2025/04/05 06:59:23.961 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239789735943] [startKey=74800000000000009e5f728000000000000001] [endKey=74800000000000009e5f728000000000000005] ["cost time"=1.989501ms] ["completed regions"=1] [2025/04/05 06:59:23.961 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239789735943] [commitTS=457136239789735947] [session=15] [2025/04/05 06:59:23.971 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:23.972 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:161, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 06:59:23.977 +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-05 06:59:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:23.981 +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/05 06:59:23.995 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=109] [neededSchemaVersion=110] ["elapsed time"=1.494363ms] [gotSchemaVersion=110] [phyTblIDs="[160]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:23.999 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=161] [version=110] [2025/04/05 06:59:24.000 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=110] ["take time"=8.291295ms] [job="ID:161, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.012 +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-05 06:59:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.022 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=161] [2025/04/05 06:59:24.023 +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/05 06:59:24.042 +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-05 06:59:23.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:24.043 +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-05 06:59:23.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.048 +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-05 06:59:23.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.055 +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/05 06:59:24.069 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=110] [neededSchemaVersion=111] ["elapsed time"=1.475779ms] [gotSchemaVersion=111] [phyTblIDs="[160,162]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:24.072 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=163] [version=111] [2025/04/05 06:59:24.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=111] ["take time"=8.326256ms] [job="ID:163, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:160, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:23.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.084 +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/05 06:59:24.089 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=163] [jobType="truncate table"] [2025/04/05 06:59:24.090 +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-05 06:59:23.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.107 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=163] [2025/04/05 06:59:24.107 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=111] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:24.111 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239829057543] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.009176ms] [2025/04/05 06:59:24.111 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.108263ms] [total_duration=2.570886ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457136239829057543] [2025/04/05 06:59:24.113 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239829057543] [commitTS=457136239829057544] [2025/04/05 06:59:24.113 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239829057543] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.115 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239829057543] [startKey=7480000000000000a25f728000000000000001] [endKey=7480000000000000a25f728000000000000005] ["cost time"=1.779381ms] ["completed regions"=1] [2025/04/05 06:59:24.115 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239829057543] [commitTS=457136239829057544] [session=15] [2025/04/05 06:59:24.125 +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-05 06:59:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.125 +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-05 06:59:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:24.130 +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-05 06:59:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.137 +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/05 06:59:24.151 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=111] [neededSchemaVersion=112] ["elapsed time"=1.483946ms] [gotSchemaVersion=112] [phyTblIDs="[162,164]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:24.154 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=165] [version=112] [2025/04/05 06:59:24.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=112] ["take time"=7.976496ms] [job="ID:165, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:162, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.166 +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/05 06:59:24.170 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=165] [jobType="truncate table"] [2025/04/05 06:59:24.171 +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-05 06:59:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.188 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=165] [2025/04/05 06:59:24.189 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=112] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:24.194 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239841902610] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=978.308µs] [2025/04/05 06:59:24.194 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.066819ms] [total_duration=3.903126ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457136239841902610] [2025/04/05 06:59:24.195 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239841902610] [commitTS=457136239855271937] [2025/04/05 06:59:24.195 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239841902610] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.197 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239841902610] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=1.831105ms] ["completed regions"=1] [2025/04/05 06:59:24.197 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239841902610] [commitTS=457136239855271937] [session=15] [2025/04/05 06:59:24.213 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239855271939] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.000781ms] [2025/04/05 06:59:24.213 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.111394ms] [total_duration=4.156863ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457136239855271939] [2025/04/05 06:59:24.214 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239855271939] [commitTS=457136239855271940] [2025/04/05 06:59:24.214 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239855271939] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] [concurrency=8] [2025/04/05 06:59:24.216 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239855271939] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f72800000000000000a] ["cost time"=1.908978ms] ["completed regions"=1] [2025/04/05 06:59:24.216 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239855271939] [commitTS=457136239855271940] [session=15] [2025/04/05 06:59:24.224 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239855271941] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=920.488µs] [2025/04/05 06:59:24.224 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.027357ms] [total_duration=3.792626ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457136239855271941] [2025/04/05 06:59:24.225 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239855271941] [commitTS=457136239855271942] [2025/04/05 06:59:24.225 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239855271941] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.227 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239855271941] [startKey=7480000000000000a45f728000000000000001] [endKey=7480000000000000a45f728000000000000005] ["cost time"=1.813184ms] ["completed regions"=1] [2025/04/05 06:59:24.227 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239855271941] [commitTS=457136239855271942] [session=15] [2025/04/05 06:59:24.239 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:24.239 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.244 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.259 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=112] [neededSchemaVersion=113] ["elapsed time"=1.843672ms] [gotSchemaVersion=113] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=113] [2025/04/05 06:59:24.264 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=113] ["take time"=8.528426ms] [job="ID:166, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.274 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=113] [neededSchemaVersion=114] ["elapsed time"=1.710653ms] [gotSchemaVersion=114] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.293 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=114] [2025/04/05 06:59:24.294 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=114] ["take time"=9.10804ms] [job="ID:166, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.303 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.309 +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/05 06:59:24.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=114] [neededSchemaVersion=115] ["elapsed time"=1.033789ms] [gotSchemaVersion=115] [phyTblIDs="[158]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=166] [version=115] [2025/04/05 06:59:24.326 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=115] ["take time"=7.953836ms] [job="ID:166, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:158, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.335 +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/05 06:59:24.340 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=166] [jobType="drop table"] [2025/04/05 06:59:24.341 +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-05 06:59:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.358 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=166] [2025/04/05 06:59:24.367 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:24.368 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.368 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:24.374 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.389 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=115] [neededSchemaVersion=116] ["elapsed time"=2.181458ms] [gotSchemaVersion=116] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.393 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=116] [2025/04/05 06:59:24.395 +00:00] [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.415219ms] [job="ID:167, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.404 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.418 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=116] [neededSchemaVersion=117] ["elapsed time"=1.750909ms] [gotSchemaVersion=117] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.422 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=117] [2025/04/05 06:59:24.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=117] ["take time"=8.388232ms] [job="ID:167, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.431 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.437 +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/05 06:59:24.450 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=117] [neededSchemaVersion=118] ["elapsed time"=1.012083ms] [gotSchemaVersion=118] [phyTblIDs="[164]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.453 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=167] [version=118] [2025/04/05 06:59:24.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=118] ["take time"=7.692432ms] [job="ID:167, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:164, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.464 +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/05 06:59:24.468 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=167] [jobType="drop table"] [2025/04/05 06:59:24.469 +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-05 06:59:24.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.486 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=167] [2025/04/05 06:59:24.486 +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/05 06:59:24.498 +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-05 06:59:24.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.498 +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-05 06:59:24.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 06:59:24.503 +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-05 06:59:24.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.507 +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/05 06:59:24.521 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=118] [neededSchemaVersion=119] ["elapsed time"=1.541805ms] [gotSchemaVersion=119] [phyTblIDs="[168]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:24.524 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=169] [version=119] [2025/04/05 06:59:24.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=119] ["take time"=8.475361ms] [job="ID:169, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.530 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 06:59:24.536 +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-05 06:59:24.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.547 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=169] [2025/04/05 06:59:24.548 +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/05 06:59:24.565 +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-05 06:59:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.565 +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-05 06:59:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:24.570 +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-05 06:59:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.577 +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/05 06:59:24.592 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=119] [neededSchemaVersion=120] ["elapsed time"=1.600883ms] [gotSchemaVersion=120] [phyTblIDs="[168,170]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:24.596 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=171] [version=120] [2025/04/05 06:59: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=120] ["take time"=8.876442ms] [job="ID:171, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:168, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.608 +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/05 06:59:24.612 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=171] [jobType="truncate table"] [2025/04/05 06:59:24.613 +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-05 06:59:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.630 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=171] [2025/04/05 06:59:24.630 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=120] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:24.633 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239959867405] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.016217ms] [2025/04/05 06:59:24.633 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.097115ms] [total_duration=1.657989ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457136239959867405] [2025/04/05 06:59:24.634 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239959867405] [commitTS=457136239959867406] [2025/04/05 06:59:24.634 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239959867405] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.636 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239959867405] [startKey=7480000000000000aa5f728000000000000001] [endKey=7480000000000000aa5f728000000000000005] ["cost time"=2.018942ms] ["completed regions"=1] [2025/04/05 06:59:24.636 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239959867405] [commitTS=457136239959867406] [session=15] [2025/04/05 06:59:24.648 +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-05 06:59:24.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.648 +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-05 06:59:24.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:24.653 +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-05 06:59:24.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.660 +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/05 06:59:24.675 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=120] [neededSchemaVersion=121] ["elapsed time"=1.573895ms] [gotSchemaVersion=121] [phyTblIDs="[170,172]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:24.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=173] [version=121] [2025/04/05 06:59:24.680 +00:00] [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.34924ms] [job="ID:173, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:170, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.691 +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/05 06:59:24.695 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=173] [jobType="truncate table"] [2025/04/05 06:59:24.696 +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-05 06:59:24.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.714 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=173] [2025/04/05 06:59:24.714 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=121] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:24.718 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239986343944] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=978.1µs] [2025/04/05 06:59:24.718 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.086936ms] [total_duration=2.892942ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457136239986343944] [2025/04/05 06:59:24.719 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239986343944] [commitTS=457136239986343945] [2025/04/05 06:59:24.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239986343944] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239986343944] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=2.177352ms] ["completed regions"=1] [2025/04/05 06:59:24.722 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239986343944] [commitTS=457136239986343945] [session=15] [2025/04/05 06:59:24.730 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239986343947] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.053369ms] [2025/04/05 06:59:24.730 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.160346ms] [total_duration=3.300518ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457136239986343947] [2025/04/05 06:59:24.732 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239986343947] [commitTS=457136239986343948] [2025/04/05 06:59:24.732 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239986343947] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] [concurrency=8] [2025/04/05 06:59:24.734 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239986343947] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f72800000000000000a] ["cost time"=2.185813ms] ["completed regions"=1] [2025/04/05 06:59:24.734 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239986343947] [commitTS=457136239986343948] [session=15] [2025/04/05 06:59:24.738 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136239986343949] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=978.792µs] [2025/04/05 06:59:24.738 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.091447ms] [total_duration=2.874835ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457136239986343949] [2025/04/05 06:59:24.739 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136239986343949] [commitTS=457136239986343951] [2025/04/05 06:59:24.739 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136239986343949] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.741 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136239986343949] [startKey=7480000000000000ac5f728000000000000001] [endKey=7480000000000000ac5f728000000000000005] ["cost time"=1.977723ms] ["completed regions"=1] [2025/04/05 06:59:24.741 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136239986343949] [commitTS=457136239986343951] [session=15] [2025/04/05 06:59:24.752 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.752 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:174, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:24.758 +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-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=121] [neededSchemaVersion=122] ["elapsed time"=1.93437ms] [gotSchemaVersion=122] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=122] [2025/04/05 06:59:24.781 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=122] ["take time"=10.825894ms] [job="ID:174, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.793 +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-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.812 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=122] [neededSchemaVersion=123] ["elapsed time"=4.73423ms] [gotSchemaVersion=123] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.816 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=123] [2025/04/05 06:59:24.818 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=123] ["take time"=12.545273ms] [job="ID:174, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.827 +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-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.833 +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/05 06:59:24.847 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=123] [neededSchemaVersion=124] ["elapsed time"=1.191233ms] [gotSchemaVersion=124] [phyTblIDs="[172]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:24.851 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=174] [version=124] [2025/04/05 06:59:24.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=124] ["take time"=8.832714ms] [job="ID:174, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:172, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.863 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=174] [tableIDs="[172]"] [comment="drop table: table ID"] [2025/04/05 06:59:24.868 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=174] [jobType="drop table"] [2025/04/05 06:59:24.869 +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-05 06:59:24.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.886 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=174] [2025/04/05 06:59:24.886 +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/05 06:59:24.898 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.898 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:176, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 06:59:24.904 +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-05 06:59:24.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.909 +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/05 06:59:24.925 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=124] [neededSchemaVersion=125] ["elapsed time"=1.534474ms] [gotSchemaVersion=125] [phyTblIDs="[175]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:24.929 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=176] [version=125] [2025/04/05 06:59:24.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=125] ["take time"=8.673816ms] [job="ID:176, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.942 +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-05 06:59:24.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.953 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=176] [2025/04/05 06:59:24.954 +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/05 06:59:24.962 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240051617799] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.879914ms] [2025/04/05 06:59:24.963 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.96911ms] [total_duration=7.894694ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136240051617799] [2025/04/05 06:59:24.964 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240051617799] [commitTS=457136240051617803] [2025/04/05 06:59:24.964 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240051617799] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] [concurrency=8] [2025/04/05 06:59:24.966 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240051617799] [startKey=7480000000000000af5f728000000000000001] [endKey=7480000000000000af5f728000000000000005] ["cost time"=2.289819ms] ["completed regions"=1] [2025/04/05 06:59:24.967 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240051617799] [commitTS=457136240051617803] [session=15] [2025/04/05 06:59:24.977 +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-05 06:59:24.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:24.977 +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-05 06:59:24.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 06:59:24.983 +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-05 06:59:24.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:24.988 +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/05 06:59:25.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=125] [neededSchemaVersion=126] ["elapsed time"=1.621115ms] [gotSchemaVersion=126] [phyTblIDs="[177]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:25.006 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=178] [version=126] [2025/04/05 06:59:25.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=126] ["take time"=8.445131ms] [job="ID:178, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:24.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.018 +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-05 06:59:24.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.029 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=178] [2025/04/05 06:59:25.030 +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/05 06:59:25.054 +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-05 06:59:25.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:25.054 +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-05 06:59:25.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.059 +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-05 06:59:25.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.065 +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/05 06:59:25.080 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=126] [neededSchemaVersion=127] ["elapsed time"=1.59003ms] [gotSchemaVersion=127] [phyTblIDs="[177,179]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:25.083 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=180] [version=127] [2025/04/05 06:59: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=127] ["take time"=8.117046ms] [job="ID:180, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:177, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.095 +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/05 06:59:25.099 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=180] [jobType="truncate table"] [2025/04/05 06:59:25.100 +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-05 06:59:25.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.119 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=180] [2025/04/05 06:59:25.119 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=127] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:25.127 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240091201546] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.046161ms] [2025/04/05 06:59:25.127 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.147638ms] [total_duration=5.924438ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136240091201546] [2025/04/05 06:59:25.128 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240091201546] [commitTS=457136240091201549] [2025/04/05 06:59:25.128 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240091201546] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.131 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240091201546] [startKey=7480000000000000b35f698000000000000001038000000000000001] [endKey=7480000000000000b35f728000000000000005] ["cost time"=2.152884ms] ["completed regions"=1] [2025/04/05 06:59:25.131 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240091201546] [commitTS=457136240091201549] [session=15] [2025/04/05 06:59:25.142 +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-05 06:59:25.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:25.142 +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-05 06:59:25.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.148 +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-05 06:59:25.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.155 +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/05 06:59:25.170 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=127] [neededSchemaVersion=128] ["elapsed time"=1.599878ms] [gotSchemaVersion=128] [phyTblIDs="[179,181]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:25.173 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=182] [version=128] [2025/04/05 06:59: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=128] ["take time"=8.351304ms] [job="ID:182, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:179, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.186 +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/05 06:59:25.190 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=182] [jobType="truncate table"] [2025/04/05 06:59:25.191 +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-05 06:59:25.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.209 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=182] [2025/04/05 06:59:25.209 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=128] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:25.218 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240117415943] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.105168ms] [2025/04/05 06:59:25.218 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.202734ms] [total_duration=7.03143ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136240117415943] [2025/04/05 06:59:25.219 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240117415943] [commitTS=457136240117415946] [2025/04/05 06:59:25.219 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240117415943] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.222 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240117415943] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=2.131676ms] ["completed regions"=1] [2025/04/05 06:59:25.222 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240117415943] [commitTS=457136240117415946] [session=15] [2025/04/05 06:59:25.240 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240117415948] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.01741ms] [2025/04/05 06:59:25.240 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.124442ms] [total_duration=5.389862ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457136240117415948] [2025/04/05 06:59:25.242 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240117415948] [commitTS=457136240117415950] [2025/04/05 06:59:25.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240117415948] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.244 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240117415948] [startKey=7480000000000000b55f728000000000000001] [endKey=7480000000000000b55f728000000000000005] ["cost time"=1.925651ms] ["completed regions"=1] [2025/04/05 06:59:25.244 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240117415948] [commitTS=457136240117415950] [session=15] [2025/04/05 06:59:25.253 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240130523137] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.397904ms] [2025/04/05 06:59:25.253 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.508716ms] [total_duration=6.07866ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457136240130523137] [2025/04/05 06:59:25.255 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240130523137] [commitTS=457136240130523138] [2025/04/05 06:59:25.255 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240130523137] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] [concurrency=8] [2025/04/05 06:59:25.257 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240130523137] [startKey=7480000000000000b55f698000000000000001038000000000000001] [endKey=7480000000000000b55f72800000000000000a] ["cost time"=2.169847ms] ["completed regions"=1] [2025/04/05 06:59:25.257 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240130523137] [commitTS=457136240130523138] [session=15] [2025/04/05 06:59:25.269 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:25.269 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.274 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=128] [neededSchemaVersion=129] ["elapsed time"=1.844229ms] [gotSchemaVersion=129] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=129] [2025/04/05 06:59:25.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=129] ["take time"=10.061ms] [job="ID:183, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.305 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=129] [neededSchemaVersion=130] ["elapsed time"=1.849657ms] [gotSchemaVersion=130] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.324 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=130] [2025/04/05 06:59:25.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=130] ["take time"=8.296432ms] [job="ID:183, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.333 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.339 +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/05 06:59:25.352 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=130] [neededSchemaVersion=131] ["elapsed time"=1.086604ms] [gotSchemaVersion=131] [phyTblIDs="[175]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.356 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=183] [version=131] [2025/04/05 06:59:25.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=131] ["take time"=8.119879ms] [job="ID:183, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:175, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.367 +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/05 06:59:25.371 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=183] [jobType="drop table"] [2025/04/05 06:59:25.372 +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-05 06:59:25.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.389 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=183] [2025/04/05 06:59:25.402 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.402 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:25.407 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.423 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=131] [neededSchemaVersion=132] ["elapsed time"=1.998124ms] [gotSchemaVersion=132] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.426 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=132] [2025/04/05 06:59:25.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=132] ["take time"=8.666872ms] [job="ID:184, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.437 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.453 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=132] [neededSchemaVersion=133] ["elapsed time"=1.963767ms] [gotSchemaVersion=133] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.456 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=133] [2025/04/05 06:59:25.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=133] ["take time"=8.798048ms] [job="ID:184, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.466 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.472 +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/05 06:59:25.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=133] [neededSchemaVersion=134] ["elapsed time"=1.047333ms] [gotSchemaVersion=134] [phyTblIDs="[181]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.488 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=184] [version=134] [2025/04/05 06:59:25.490 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=134] ["take time"=8.172286ms] [job="ID:184, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:181, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.499 +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/05 06:59:25.503 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=184] [jobType="drop table"] [2025/04/05 06:59:25.504 +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-05 06:59:25.344 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=184] [2025/04/05 06:59:25.522 +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/05 06:59:25.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 06:59:25.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:186, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.540 +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-05 06:59:25.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.545 +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/05 06:59:25.560 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=134] [neededSchemaVersion=135] ["elapsed time"=1.666907ms] [gotSchemaVersion=135] [phyTblIDs="[185]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:25.564 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=186] [version=135] [2025/04/05 06:59:25.565 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=135] ["take time"=8.909982ms] [job="ID:186, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.579 +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-05 06:59:25.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.591 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=186] [2025/04/05 06:59:25.591 +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/05 06:59:25.614 +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-05 06:59:25.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:25.614 +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-05 06:59:25.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.619 +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-05 06:59:25.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.626 +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/05 06:59:25.641 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=135] [neededSchemaVersion=136] ["elapsed time"=1.544035ms] [gotSchemaVersion=136] [phyTblIDs="[185,187]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:25.645 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=188] [version=136] [2025/04/05 06:59:25.647 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=136] ["take time"=8.253128ms] [job="ID:188, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:185, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.657 +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/05 06:59:25.662 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=188] [jobType="truncate table"] [2025/04/05 06:59:25.663 +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-05 06:59:25.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.684 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=188] [2025/04/05 06:59:25.684 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=136] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:25.691 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240235380750] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.227049ms] [2025/04/05 06:59:25.691 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.320185ms] [total_duration=5.479519ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136240235380750] [2025/04/05 06:59:25.692 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240235380750] [commitTS=457136240235380753] [2025/04/05 06:59:25.692 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240235380750] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240235380750] [startKey=7480000000000000bb5f698000000000000001038000000000000001] [endKey=7480000000000000bb5f728000000000000005] ["cost time"=2.316763ms] ["completed regions"=1] [2025/04/05 06:59:25.695 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240235380750] [commitTS=457136240235380753] [session=15] [2025/04/05 06:59:25.706 +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-05 06:59:25.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:25.706 +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-05 06:59:25.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.711 +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-05 06:59:25.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.719 +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/05 06:59:25.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=136] [neededSchemaVersion=137] ["elapsed time"=1.608621ms] [gotSchemaVersion=137] [phyTblIDs="[187,189]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:25.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=190] [version=137] [2025/04/05 06:59:25.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=137] ["take time"=9.013852ms] [job="ID:190, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:187, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.751 +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/05 06:59:25.755 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=190] [jobType="truncate table"] [2025/04/05 06:59:25.756 +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-05 06:59:25.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.773 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=190] [2025/04/05 06:59:25.773 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=137] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:25.780 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240261595147] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.120916ms] [2025/04/05 06:59:25.780 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.204164ms] [total_duration=5.945901ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136240261595147] [2025/04/05 06:59:25.782 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240261595147] [commitTS=457136240261595151] [2025/04/05 06:59:25.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240261595147] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.784 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240261595147] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=2.186084ms] ["completed regions"=1] [2025/04/05 06:59:25.784 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240261595147] [commitTS=457136240261595151] [session=15] [2025/04/05 06:59:25.795 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240261595156] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=996.056µs] [2025/04/05 06:59:25.796 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.084336ms] [total_duration=4.308972ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457136240261595156] [2025/04/05 06:59:25.797 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240261595156] [commitTS=457136240274702337] [2025/04/05 06:59:25.797 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240261595156] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] [concurrency=8] [2025/04/05 06:59:25.799 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240261595156] [startKey=7480000000000000bd5f728000000000000001] [endKey=7480000000000000bd5f728000000000000005] ["cost time"=1.873978ms] ["completed regions"=1] [2025/04/05 06:59:25.799 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240261595156] [commitTS=457136240274702337] [session=15] [2025/04/05 06:59:25.804 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240274702338] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.119218ms] [2025/04/05 06:59:25.805 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.217896ms] [total_duration=4.64575ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457136240274702338] [2025/04/05 06:59:25.806 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240274702338] [commitTS=457136240274702339] [2025/04/05 06:59:25.806 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240274702338] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] [concurrency=8] [2025/04/05 06:59:25.808 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240274702338] [startKey=7480000000000000bd5f698000000000000001038000000000000001] [endKey=7480000000000000bd5f72800000000000000a] ["cost time"=1.773903ms] ["completed regions"=1] [2025/04/05 06:59:25.808 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240274702338] [commitTS=457136240274702339] [session=15] [2025/04/05 06:59:25.819 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.819 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:25.824 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.840 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=137] [neededSchemaVersion=138] ["elapsed time"=2.00795ms] [gotSchemaVersion=138] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.843 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=138] [2025/04/05 06:59:25.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=138] ["take time"=9.367587ms] [job="ID:191, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.855 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=138] [neededSchemaVersion=139] ["elapsed time"=2.022237ms] [gotSchemaVersion=139] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.873 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=139] [2025/04/05 06:59:25.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=139] ["take time"=8.730806ms] [job="ID:191, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.883 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.890 +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/05 06:59:25.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=139] [neededSchemaVersion=140] ["elapsed time"=1.066871ms] [gotSchemaVersion=140] [phyTblIDs="[189]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:25.906 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=191] [version=140] [2025/04/05 06:59:25.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=140] ["take time"=7.454964ms] [job="ID:191, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:189, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.916 +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/05 06:59:25.920 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=191] [jobType="drop table"] [2025/04/05 06:59:25.921 +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-05 06:59:25.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.939 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=191] [2025/04/05 06:59:25.939 +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/05 06:59:25.955 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:25.955 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:193, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 06:59:25.965 +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-05 06:59:25.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:25.969 +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/05 06:59:25.985 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=140] [neededSchemaVersion=141] ["elapsed time"=1.601364ms] [gotSchemaVersion=141] [phyTblIDs="[192]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:25.989 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=193] [version=141] [2025/04/05 06:59:25.991 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=141] ["take time"=10.006074ms] [job="ID:193, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.003 +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-05 06:59:25.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.014 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=193] [2025/04/05 06:59:26.015 +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/05 06:59:26.021 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240327131143] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.047485ms] [2025/04/05 06:59:26.021 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.155322ms] [total_duration=4.759576ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136240327131143] [2025/04/05 06:59:26.022 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240327131143] [commitTS=457136240327131147] [2025/04/05 06:59:26.022 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240327131143] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] [concurrency=8] [2025/04/05 06:59:26.024 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240327131143] [startKey=7480000000000000c05f728000000000000001] [endKey=7480000000000000c05f728000000000000005] ["cost time"=2.221099ms] ["completed regions"=1] [2025/04/05 06:59:26.025 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240327131143] [commitTS=457136240327131147] [session=15] [2025/04/05 06:59:26.035 +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-05 06:59:25.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 06:59:26.035 +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-05 06:59:25.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.041 +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-05 06:59:25.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.046 +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/05 06:59:26.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=141] [neededSchemaVersion=142] ["elapsed time"=1.60108ms] [gotSchemaVersion=142] [phyTblIDs="[194]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:26.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=195] [version=142] [2025/04/05 06:59:26.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=142] ["take time"=8.843607ms] [job="ID:195, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:25.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.078 +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-05 06:59:25.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=195] [2025/04/05 06:59:26.090 +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/05 06:59:26.112 +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-05 06:59:26.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:26.112 +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-05 06:59:26.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.117 +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-05 06:59:26.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.125 +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/05 06:59:26.141 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=142] [neededSchemaVersion=143] ["elapsed time"=1.585488ms] [gotSchemaVersion=143] [phyTblIDs="[194,196]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:26.144 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=197] [version=143] [2025/04/05 06:59:26.146 +00:00] [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.435708ms] [job="ID:197, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:194, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.156 +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/05 06:59:26.161 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=197] [jobType="truncate table"] [2025/04/05 06:59:26.162 +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-05 06:59:26.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.179 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=197] [2025/04/05 06:59:26.180 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=143] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:26.184 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240366190606] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.075233ms] [2025/04/05 06:59:26.184 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.182877ms] [total_duration=2.982858ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457136240366190606] [2025/04/05 06:59:26.186 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240366190606] [commitTS=457136240366190607] [2025/04/05 06:59:26.186 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240366190606] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] [concurrency=8] [2025/04/05 06:59:26.188 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240366190606] [startKey=7480000000000000c45f698000000000000001038000000000000001] [endKey=7480000000000000c45f728000000000000005] ["cost time"=2.271659ms] ["completed regions"=1] [2025/04/05 06:59:26.188 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240366190606] [commitTS=457136240366190607] [session=15] [2025/04/05 06:59:26.200 +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-05 06:59:26.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.200 +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-05 06:59:26.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:26.206 +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-05 06:59:26.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.213 +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/05 06:59:26.228 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=143] [neededSchemaVersion=144] ["elapsed time"=1.618174ms] [gotSchemaVersion=144] [phyTblIDs="[196,198]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:26.232 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=199] [version=144] [2025/04/05 06:59: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=144] ["take time"=8.92081ms] [job="ID:199, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:196, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.245 +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/05 06:59:26.249 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=199] [jobType="truncate table"] [2025/04/05 06:59:26.250 +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-05 06:59:26.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.268 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=199] [2025/04/05 06:59:26.268 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=144] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:26.274 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240392667146] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.126911ms] [2025/04/05 06:59:26.274 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.246823ms] [total_duration=4.276458ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457136240392667146] [2025/04/05 06:59:26.275 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240392667146] [commitTS=457136240392667147] [2025/04/05 06:59:26.276 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240392667146] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] [concurrency=8] [2025/04/05 06:59:26.278 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240392667146] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f728000000000000005] ["cost time"=2.095105ms] ["completed regions"=1] [2025/04/05 06:59:26.278 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240392667146] [commitTS=457136240392667147] [session=15] [2025/04/05 06:59:26.294 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240392667153] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.145235ms] [2025/04/05 06:59:26.295 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.253049ms] [total_duration=5.403765ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457136240392667153] [2025/04/05 06:59:26.296 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240392667153] [commitTS=457136240405774337] [2025/04/05 06:59:26.296 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240392667153] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/05 06:59:26.298 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240392667153] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=1.985488ms] ["completed regions"=1] [2025/04/05 06:59:26.298 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240392667153] [commitTS=457136240405774337] [session=15] [2025/04/05 06:59:26.307 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240405774338] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.023248ms] [2025/04/05 06:59:26.307 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.103829ms] [total_duration=5.463809ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457136240405774338] [2025/04/05 06:59:26.308 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240405774338] [commitTS=457136240405774339] [2025/04/05 06:59:26.308 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240405774338] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] [concurrency=8] [2025/04/05 06:59:26.310 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240405774338] [startKey=7480000000000000c65f698000000000000001038000000000000001] [endKey=7480000000000000c65f72800000000000000a] ["cost time"=2.147256ms] ["completed regions"=1] [2025/04/05 06:59:26.310 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240405774338] [commitTS=457136240405774339] [session=15] [2025/04/05 06:59:26.322 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.322 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:26.328 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.343 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=144] [neededSchemaVersion=145] ["elapsed time"=1.854482ms] [gotSchemaVersion=145] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.346 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=145] [2025/04/05 06:59:26.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=145] ["take time"=8.72289ms] [job="ID:200, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.358 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=145] [neededSchemaVersion=146] ["elapsed time"=1.952892ms] [gotSchemaVersion=146] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=146] [2025/04/05 06:59:26.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=146] ["take time"=9.641439ms] [job="ID:200, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.388 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.395 +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/05 06:59:26.408 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=146] [neededSchemaVersion=147] ["elapsed time"=1.109601ms] [gotSchemaVersion=147] [phyTblIDs="[192]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.411 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=200] [version=147] [2025/04/05 06:59:26.413 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=147] ["take time"=7.826756ms] [job="ID:200, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:192, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.422 +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/05 06:59:26.427 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=200] [jobType="drop table"] [2025/04/05 06:59:26.428 +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-05 06:59:26.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.445 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=200] [2025/04/05 06:59:26.456 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.456 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:201, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 06:59:26.462 +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-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.477 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=147] [neededSchemaVersion=148] ["elapsed time"=2.221371ms] [gotSchemaVersion=148] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.481 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=148] [2025/04/05 06:59:26.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=148] ["take time"=9.574263ms] [job="ID:201, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.493 +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-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.508 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=148] [neededSchemaVersion=149] ["elapsed time"=1.939534ms] [gotSchemaVersion=149] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.511 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=149] [2025/04/05 06:59:26.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=149] ["take time"=8.46995ms] [job="ID:201, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.521 +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-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.527 +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/05 06:59:26.541 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=149] [neededSchemaVersion=150] ["elapsed time"=1.095638ms] [gotSchemaVersion=150] [phyTblIDs="[198]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:26.544 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=201] [version=150] [2025/04/05 06:59:26.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=150] ["take time"=8.211148ms] [job="ID:201, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:198, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.556 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=201] [tableIDs="[198]"] [comment="drop table: table ID"] [2025/04/05 06:59:26.560 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=201] [jobType="drop table"] [2025/04/05 06:59:26.561 +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-05 06:59:26.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.580 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=201] [2025/04/05 06:59:26.580 +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/05 06:59:26.594 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.594 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:203, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 06:59:26.599 +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-05 06:59:26.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.604 +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/05 06:59:26.619 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=150] [neededSchemaVersion=151] ["elapsed time"=1.551882ms] [gotSchemaVersion=151] [phyTblIDs="[202]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:26.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=203] [version=151] [2025/04/05 06:59:26.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=151] ["take time"=8.432076ms] [job="ID:203, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.635 +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-05 06:59:26.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.646 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=203] [2025/04/05 06:59:26.647 +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/05 06:59:26.664 +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-05 06:59:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.664 +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-05 06:59:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:26.669 +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-05 06:59:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.676 +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/05 06:59:26.691 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=151] [neededSchemaVersion=152] ["elapsed time"=1.632294ms] [gotSchemaVersion=152] [phyTblIDs="[202,204]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:26.694 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=205] [version=152] [2025/04/05 06:59:26.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=152] ["take time"=8.69664ms] [job="ID:205, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:202, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.706 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=205] [tableIDs="[202]"] [comment="truncate table: table ID"] [2025/04/05 06:59:26.711 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=205] [jobType="truncate table"] [2025/04/05 06:59:26.712 +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-05 06:59:26.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.729 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=205] [2025/04/05 06:59:26.729 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=152] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:26.732 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240510369805] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.154439ms] [2025/04/05 06:59:26.732 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.264882ms] [total_duration=2.058779ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457136240510369805] [2025/04/05 06:59:26.733 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240510369805] [commitTS=457136240510369806] [2025/04/05 06:59:26.734 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240510369805] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] [concurrency=8] [2025/04/05 06:59:26.736 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240510369805] [startKey=7480000000000000cc5f698000000000000001038000000000000001] [endKey=7480000000000000cc5f728000000000000005] ["cost time"=2.19769ms] ["completed regions"=1] [2025/04/05 06:59:26.736 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240510369805] [commitTS=457136240510369806] [session=15] [2025/04/05 06:59:26.748 +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-05 06:59:26.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:26.748 +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-05 06:59:26.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 06:59:26.753 +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-05 06:59:26.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.761 +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/05 06:59:26.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=152] [neededSchemaVersion=153] ["elapsed time"=1.56762ms] [gotSchemaVersion=153] [phyTblIDs="[204,206]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 06:59:26.780 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=207] [version=153] [2025/04/05 06:59:26.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=153] ["take time"=8.855649ms] [job="ID:207, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:204, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:26.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.793 +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/05 06:59:26.799 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=207] [jobType="truncate table"] [2025/04/05 06:59:26.800 +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-05 06:59:26.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:26.818 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=207] [2025/04/05 06:59:26.818 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=153] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 06:59:26.823 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240536584200] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.16349ms] [2025/04/05 06:59:26.823 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.271225ms] [total_duration=3.375348ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457136240536584200] [2025/04/05 06:59:26.824 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240536584200] [commitTS=457136240536584201] [2025/04/05 06:59:26.824 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240536584200] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] [concurrency=8] [2025/04/05 06:59:26.827 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240536584200] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f728000000000000005] ["cost time"=2.162629ms] ["completed regions"=1] [2025/04/05 06:59:26.827 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240536584200] [commitTS=457136240536584201] [session=15] [2025/04/05 06:59:26.837 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240536584203] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.192963ms] [2025/04/05 06:59:26.837 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.299535ms] [total_duration=4.434888ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457136240536584203] [2025/04/05 06:59:26.838 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240536584203] [commitTS=457136240536584205] [2025/04/05 06:59:26.838 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240536584203] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/05 06:59:26.841 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240536584203] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=2.277795ms] ["completed regions"=1] [2025/04/05 06:59:26.841 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240536584203] [commitTS=457136240536584205] [session=15] [2025/04/05 06:59:26.846 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136240536584206] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.039382ms] [2025/04/05 06:59:26.846 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.119364ms] [total_duration=4.708919ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457136240536584206] [2025/04/05 06:59:26.847 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136240536584206] [commitTS=457136240549953537] [2025/04/05 06:59:26.847 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136240536584206] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] [concurrency=8] [2025/04/05 06:59:26.849 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:26.849 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [] [2025/04/05 06:59:26.849 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:26.849 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.849 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:26.849 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:26.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=97.129µs] [2025/04/05 06:59:26.849 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136240536584206] [startKey=7480000000000000ce5f698000000000000001038000000000000001] [endKey=7480000000000000ce5f72800000000000000a] ["cost time"=2.080761ms] ["completed regions"=1] [2025/04/05 06:59:26.849 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=48.129µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136240536584206] [commitTS=457136240549953537] [session=15] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=29.59µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=42.246µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=34.79µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=37.433µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=37.16µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=34.908µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=27.318µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=29.535µs] [2025/04/05 06:59:26.850 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.850 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.851 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:26.851 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:26.874 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=746ef571-36ca-4888-87d3-aef4d9a46a2a] ["take time"=25.334682ms] [2025/04/05 06:59:26.874 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.874 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:26.874 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/c5895572-7b72-4e4a-b3e8-d9aef01f7f7e] [watcherID=94dc9bf6-33c5-450f-8c00-3be7f909e2a8] [2025/04/05 06:59:26.875 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:26.875 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c5895572-7b72-4e4a-b3e8-d9aef01f7f7e] [2025/04/05 06:59:26.875 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ttl-worker=task-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [originalCount=4] [newCount=0] [2025/04/05 06:59:26.875 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:26.875 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:26.875 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:26.875 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:26.875 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [ttl-worker=task-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [originalCount=4] [newCount=0] [2025/04/05 06:59:26.878 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:26.878 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:26.878 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:26.878 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:26.881 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.881 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1398] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:26.882 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:26.882 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:26.882 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:26.882 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [] [2025/04/05 06:59:26.882 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:26.882 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.883 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:26.883 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.882 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:26.883 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.883 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.882 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:26.882 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.883 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:26.882 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [2025/04/05 06:59:26.882 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.883 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:26.883 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:26.883 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:26.885 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:26.885 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=b1202288-be0f-4b1d-8e63-eee29385e0f3] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:26.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:26.885 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:26.885 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:26.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:26.885 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:26.885 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:26.885 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:26.886 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:26.886 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:26.887 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [error="context canceled"] [2025/04/05 06:59:26.887 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [2025/04/05 06:59:26.907 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:26.907 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:26.952 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=746ef571-36ca-4888-87d3-aef4d9a46a2a] [error="context canceled"] [2025/04/05 06:59:26.952 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:26.952 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:26.964 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=115.09844ms] [2025/04/05 06:59:28.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239566913539 commit_ts:457136239566913542 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239566913539 commit_ts:457136239566913542 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.114 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239566913539 commit_ts:457136239566913542 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239580020755 commit_ts:457136239592865793 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239580020755 commit_ts:457136239592865793 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.199 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239580020755 commit_ts:457136239592865793 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.213 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239592865794 commit_ts:457136239592865795 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.213 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239592865794 commit_ts:457136239592865795 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.213 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239592865794 commit_ts:457136239592865795 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.221 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239592865796 commit_ts:457136239592865797 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.221 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239592865796 commit_ts:457136239592865797 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.221 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239592865796 commit_ts:457136239592865797 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239592865798 commit_ts:457136239592865799 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239592865798 commit_ts:457136239592865799 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.229 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239592865798 commit_ts:457136239592865799 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.659 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239710830594 commit_ts:457136239710830597 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.659 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239710830594 commit_ts:457136239710830597 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.659 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239710830594 commit_ts:457136239710830597 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239724199951 commit_ts:457136239724199955 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239724199951 commit_ts:457136239724199955 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.744 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239724199951 commit_ts:457136239724199955 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.751 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239737307137 commit_ts:457136239737307138 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.751 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239737307137 commit_ts:457136239737307138 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.753 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239737307137 commit_ts:457136239737307138 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239737307139 commit_ts:457136239737307140 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239737307139 commit_ts:457136239737307140 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.756 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239737307139 commit_ts:457136239737307140 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.761 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239737307141 commit_ts:457136239737307142 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:28.761 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239737307141 commit_ts:457136239737307142 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.761 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239737307141 commit_ts:457136239737307142 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239789735943 commit_ts:457136239789735947 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:28.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239789735943 commit_ts:457136239789735947 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:28.962 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239789735943 commit_ts:457136239789735947 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239829057543 commit_ts:457136239829057544 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239829057543 commit_ts:457136239829057544 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.115 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239829057543 commit_ts:457136239829057544 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239841902610 commit_ts:457136239855271937 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239841902610 commit_ts:457136239855271937 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.198 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239841902610 commit_ts:457136239855271937 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.218 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239855271939 commit_ts:457136239855271940 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.218 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239855271939 commit_ts:457136239855271940 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.218 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239855271939 commit_ts:457136239855271940 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.228 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239855271941 commit_ts:457136239855271942 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.228 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239855271941 commit_ts:457136239855271942 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.228 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239855271941 commit_ts:457136239855271942 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.638 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239959867405 commit_ts:457136239959867406 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.638 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239959867405 commit_ts:457136239959867406 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.638 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239959867405 commit_ts:457136239959867406 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239986343944 commit_ts:457136239986343945 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239986343944 commit_ts:457136239986343945 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239986343944 commit_ts:457136239986343945 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.735 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239986343947 commit_ts:457136239986343948 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.735 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239986343947 commit_ts:457136239986343948 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.735 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239986343947 commit_ts:457136239986343948 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136239986343949 commit_ts:457136239986343951 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136239986343949 commit_ts:457136239986343951 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.742 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136239986343949 commit_ts:457136239986343951 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:29.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240051617799 commit_ts:457136240051617803 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:29.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240051617799 commit_ts:457136240051617803 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:29.967 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240051617799 commit_ts:457136240051617803 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.132 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240091201546 commit_ts:457136240091201549 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.132 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240091201546 commit_ts:457136240091201549 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.132 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240091201546 commit_ts:457136240091201549 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240117415943 commit_ts:457136240117415946 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240117415943 commit_ts:457136240117415946 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.223 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240117415943 commit_ts:457136240117415946 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240117415948 commit_ts:457136240117415950 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240117415948 commit_ts:457136240117415950 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240117415948 commit_ts:457136240117415950 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240130523137 commit_ts:457136240130523138 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240130523137 commit_ts:457136240130523138 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.258 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240130523137 commit_ts:457136240130523138 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240235380750 commit_ts:457136240235380753 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240235380750 commit_ts:457136240235380753 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240235380750 commit_ts:457136240235380753 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.785 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240261595147 commit_ts:457136240261595151 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.785 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240261595147 commit_ts:457136240261595151 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.785 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240261595147 commit_ts:457136240261595151 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.799 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240261595156 commit_ts:457136240274702337 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:30.799 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240261595156 commit_ts:457136240274702337 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.799 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240261595156 commit_ts:457136240274702337 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.808 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240274702338 commit_ts:457136240274702339 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:30.808 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240274702338 commit_ts:457136240274702339 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:30.808 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240274702338 commit_ts:457136240274702339 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.025 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240327131143 commit_ts:457136240327131147 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.025 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240327131143 commit_ts:457136240327131147 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.025 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240327131143 commit_ts:457136240327131147 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.189 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240366190606 commit_ts:457136240366190607 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.189 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240366190606 commit_ts:457136240366190607 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.189 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240366190606 commit_ts:457136240366190607 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240392667146 commit_ts:457136240392667147 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240392667146 commit_ts:457136240392667147 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.279 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240392667146 commit_ts:457136240392667147 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240392667153 commit_ts:457136240405774337 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240392667153 commit_ts:457136240405774337 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.299 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240392667153 commit_ts:457136240405774337 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.311 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240405774338 commit_ts:457136240405774339 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.311 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240405774338 commit_ts:457136240405774339 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.311 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240405774338 commit_ts:457136240405774339 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.737 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240510369805 commit_ts:457136240510369806 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.737 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240510369805 commit_ts:457136240510369806 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.737 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240510369805 commit_ts:457136240510369806 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.827 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240536584200 commit_ts:457136240536584201 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.827 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240536584200 commit_ts:457136240536584201 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.827 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240536584200 commit_ts:457136240536584201 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240536584203 commit_ts:457136240536584205 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240536584203 commit_ts:457136240536584205 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.841 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240536584203 commit_ts:457136240536584205 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136240536584206 commit_ts:457136240549953537 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136240536584206 commit_ts:457136240549953537 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136240536584206 commit_ts:457136240549953537 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:31.851 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:31.851 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:31.851 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:31.851 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:31.851 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:31.851 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:31.851 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:31.851 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:31.851 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:31.851 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:31.853 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.50s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/05 06:59:31.863 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:31.864 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:31.865 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:31.867 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:31.867 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:31.868 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:31.868 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:31.868 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:31.868 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:31.868 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:31.869 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:31.873 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:31.879 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:31.879 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:31.880 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:31.891 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:31.901 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:31.941 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1746] ["lease id"=22319604bcf954ec] [2025/04/05 06:59:31.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/05 06:59:32.040 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=153] ["elapsed time"=94.120458ms] [2025/04/05 06:59:32.040 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:32.043 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:32.053 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=968fb5f8-ba28-42c2-93f6-b5d555866280] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:32.053 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:32.055 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.057 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:32.057 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237178728448/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:32.057 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:32.057 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [2025/04/05 06:59:32.057 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:32.059 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf954f1] [ownerID=968fb5f8-ba28-42c2-93f6-b5d555866280] [op=none] [2025/04/05 06:59:32.059 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.059 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [ownerKey=/tidb/ddl/fg/owner/22319604bcf954f1] [currRev=686] [2025/04/05 06:59:32.060 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:32.060 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:32.061 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:32.061 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf9536b] [ownerID=68e85ddb-391c-466a-98e9-eddcab72a6d7] [op=none] [2025/04/05 06:59:32.061 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [2025/04/05 06:59:32.061 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [ownerKey=/tidb/br-stream/owner/6f189604bcf9536b] [currRev=687] [2025/04/05 06:59:32.061 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf954f1] [ownerID=968fb5f8-ba28-42c2-93f6-b5d555866280] [op=none] [2025/04/05 06:59:32.062 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [op=none] [2025/04/05 06:59:32.062 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:32.066 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:32.067 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:32.068 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:32.068 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:32.070 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:32.079 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:32.087 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:32.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:32.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:32.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:32.092 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:32.092 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:32.092 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:32.092 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:32.092 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:32.092 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:32.093 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:32.093 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:32.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:32.094 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:32.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:32.095 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:32.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:32.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:32.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:32.095 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:32.097 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:32.097 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf954f9] [ownerID=968fb5f8-ba28-42c2-93f6-b5d555866280] [op=none] [2025/04/05 06:59:32.097 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.097 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [ownerKey=/tidb/stats/owner/22319604bcf954f9] [currRev=689] [2025/04/05 06:59:32.099 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/dcc46c21-7ca6-474d-aead-886f82bc3c0d] [2025/04/05 06:59:32.099 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [ttl-worker=task-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [originalCount=0] [newCount=4] [2025/04/05 06:59:32.099 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:32.099 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [ttl-worker=task-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [originalCount=0] [newCount=4] [2025/04/05 06:59:32.100 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.100 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:32.100 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:32.100 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836372100724107 [2025/04/05 06:59:32.105 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:32.112 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.927311ms] [2025/04/05 06:59:32.112 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:32.112 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:32.116 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:32.119 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=153] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 06:59:32.132 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/05 06:59:32.132 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:32.138 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.156 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=153] [neededSchemaVersion=154] ["elapsed time"=2.120387ms] [gotSchemaVersion=154] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:32.160 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=154] [2025/04/05 06:59: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=154] ["take time"=10.006135ms] [job="ID:208, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.171 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.187 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=154] [neededSchemaVersion=155] ["elapsed time"=2.024497ms] [gotSchemaVersion=155] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:32.190 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=155] [2025/04/05 06:59:32.192 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=155] ["take time"=8.9676ms] [job="ID:208, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.200 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.207 +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/05 06:59:32.220 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=155] [neededSchemaVersion=156] ["elapsed time"=1.059737ms] [gotSchemaVersion=156] [phyTblIDs="[206]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:32.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=208] [version=156] [2025/04/05 06:59:32.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=156] ["take time"=8.171291ms] [job="ID:208, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:206, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.235 +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/05 06:59:32.242 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=208] [jobType="drop table"] [2025/04/05 06:59:32.243 +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-05 06:59:32.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.262 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=208] [2025/04/05 06:59:32.263 +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: 1743836372263449491 [2025/04/05 06:59:32.267 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=156] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 06:59:32.280 +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-05 06:59:32.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:32.280 +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-05 06:59:32.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/05 06:59:32.286 +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-05 06:59:32.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.291 +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/05 06:59:32.307 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=156] [neededSchemaVersion=157] ["elapsed time"=1.819354ms] [gotSchemaVersion=157] [phyTblIDs="[209]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:32.310 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=210] [version=157] [2025/04/05 06:59:32.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=157] ["take time"=8.671564ms] [job="ID:210, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:32.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.324 +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-05 06:59:32.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:32.336 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=210] [2025/04/05 06:59:32.336 +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/05 06:59:32.580 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:32.892 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136242083495938] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=24.594224ms] [2025/04/05 06:59:32.892 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136242083495938] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=28.53µs] [2025/04/05 06:59:32.892 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=24.693694ms] [total_duration=182.976049ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457136242083495938] [2025/04/05 06:59:32.894 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136242083495938] [commitTS=457136242122555394] [2025/04/05 06:59:32.894 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136242083495938] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] [concurrency=8] [2025/04/05 06:59:32.895 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457136242083495938\n# Conn_ID: 17\n# Query_time: 0.308594375\n# Parse_time: 0.04597598\n# Compile_time: 0.077264265\n# Rewrite_time: 0.010087108\n# Optimize_time: 0.001003845\n# Wait_TS: 0.000418131\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20162, time_detail: {total_process_time: 59.5µs, total_suspend_time: 374.6µs, tikv_grpc_process_time: 12.1µs, tikv_grpc_wait_time: 22.1µs, tikv_wall_time: 477.4µs}, scan_detail: {get_snapshot_time: 12.3µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 21.8µs, propose_send_wait: 0s, persist_log: {total: 225µs, write_leader_wait: 70ns, sync_log: 184.9µs, write_memtable: 2.55µs}, commit_log: 239.2µs, apply_batch_wait: 14µs, apply: {total:66µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 15.6µs, write_memtable: 15.7µs}, scheduler: {process: 396.2µs, latch_wait: 2.08µ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('xAnwaTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNThtcywgb3Blbjo4LjgxwrVzLCBjbG9zZToyMcK1cywgbG9vcHM6MSwgcHJlcGFyZTogMTguNG1zLCBjaGVja19pbnNlcnQ6IHt0b3RhbF90aW0BIwwzOS42AVkQbWVtX2kFIhEaADIFPDRwcmVmZXRjaDogMTUuNQEqDGZrX2MBURQ6IDkuOTcBEmBycGM6e0J1ZmZlckJhdGNoR2V0OntudW1fARkMMSwgdBlxHDQuMzltc30sfigADDUuNTQBKAAgAf0cX2RldGFpbDoRuxhwcm9jZXNzDakING5zEWMsa3ZfcmVhZF93YWxsDR4INy4xBeAgdGlrdl9ncnBjOj4AEDI5NC4yJUAZIgh3YWk1BgA5Lh4AHVgENC4hIBh9LCBzY2FuPqEAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvEVUMMjMuNwVzSHJvY2tzZGI6IHtibG9jazoge30BARQsIGNvbW0BhBB4bjogexUPGHByaW1hcnklVy0McDogMC4wMDFzLCByZWdpb25faWQ6IDE0LCBzdG9yIeA0MjcuMC4wLjE6MjAxNjKOUAEMNTkuNQWeKbcYc3VzcGVuZC1PEDM3NC42CR5aUQEIMTIuSZ0ZIT1QADIyHgAuUAEUNzcuNMK1RlIBSkABDDEyLjMFhFJAARQsIHdyaXRdNSULBF9iQZoFixQ6IDIxLjgFQSBwcm9wb3NlX3MB4gGnQDogMHMsIHBlcnNpc3RfbG9nOWkEMjIpFwleFGxlYWRlcg00BDcwQYQMc3luYwkzEDE4NC45BWEJLTBtZW10YWJsZTogMi41AUY54wVjBDIzUWcQYXBwbHkyrAAAMSEWACwJGRWNADYphBRtdXRleF9JOwG4CW4ymwAZFwh3YWxlxQk7CSsZmQQxNUWURdEkaGVkdWxlcjoge21qEDogMzk2bQkAbC5IAQQuMCFIQbQ0CTUyNS40IEtCCU4vQQo=')\n# Binary_plan: tidb_decode_binary_plan('0AnwVQrLCQoISW5zZXJ0XzE4AUABUgNOL0FaLnRpbWU6MTU4bXMsIG9wZW46OC44McK1cywgY2xvc2U6MjHCtXMsIGxvb3BzOjFiwQNwcmVwYXJlOiAxOC40ATYYY2hlY2tfaQVbIDoge3RvdGFsXwVXFCAxMzkuNgEkCG1lbQ0iERoEMjQBGDRwcmVmZXRjaDogMTUuNQESCGZrXwVRFDogOS45NwESYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQgxLCAdcRw0LjM5bXN9LH4oAAw1LjU0ASgAIAGnGF9kZXRhaWwVuxhwcm9jZXNzDakING5zEWMoa3ZfcmVhZF93YWwR4Qg3LjEF4CB0aWt2X2dycGM6PgAQMjk0LjIlThkiCHdhaTUGADkuHgAdWAQ0LiEgGH0sIHNjYW4+oQBYa2V5czogMjAwMCwgZ2V0X3NuYXBzaG8RVQwyMy43BXNIcm9ja3NkYjoge2Jsb2NrOiB7fQEBGGKyBWNvbW0BhRh4bjogeywgDQ8YcHJpbWFyeSVYLci4OiAwLjAwMXMsIHJlZ2lvbl9pZDogMTQsIHN0b3JlOiAxMjcuMC4wLjE6MjAxNjKOUQEMNTkuNQWfKbgYc3VzcGVuZC1uEDM3NC42CR5aUgEIMTIuSZIZIT1RADIyHgAuUQEUNzcuNMK1RlMBSkEBDDEyLjMFhFJBARQsIHdyaXRdNiULBF9iQZsFixQ6IDIxLjgFQSBwcm9wb3NlX3MB4gGnQDogMHMsIHBlcnNpc3RfbG9nOWkEMjIpFwleFGxlYWRlcg00BDcwQYUMc3luYwkzEDE4NC45BWEJLTBtZW10YWJsZTogMi41AUYAfTXUBWMEMjNRaBBhcHBseTKsAAAxIRYALAkZFY0ANimEFG11dGV4X0k8AbgJbjKbABkXCHdhbGXGCTsJKxmZBDE1RZVF0iRoZWR1bGVyOiB7bWsQOiAzOTZtCgBsLkgBBC4wIUhBtUBwkOsgeP///////////wEYAQ==')\n# Resource_group: default\nuse test;\ninsert ignore into t1 values (0, 0, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (1, 1, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (2, 2, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (3, 3, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (4, 4, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (5, 5, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (6, 6, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (7, 7, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (8, 8, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (9, 9, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (10, 10, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (11, 11, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (12, 12, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (13, 13, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (14, 14, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (15, 15, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (16, 16, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (17, 17, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (18, 18, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (19, 19, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (20, 20, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (21, 21, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (22, 22, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (23, 23, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (24, 24, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (25, 25, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (26, 26, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (27, 27, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (28, 28, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (29, 29, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (30, 30, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (31, 31, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (32, 32, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (33, 33, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (34, 34, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (35, 35, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (36, 36, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (37, 37, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (38, 38, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (39, 39, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (40, 40, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (41, 41, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (42, 42, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (43, 43, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (44, 44, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (45, 45, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (46, 46, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (47, 47, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (48, 48, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (49, 49, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (50, 50, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (51, 51, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (52, 52, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (53, 53, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (54, 54, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (55, 55, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (56, 56, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (57, 57, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (58, 58, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (59, 59, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (60, 60, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (len:139806);"] [2025/04/05 06:59:32.911 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:32.911 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [] [2025/04/05 06:59:32.911 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:32.911 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.911 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:32.911 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:32.911 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=57.629µs] [2025/04/05 06:59:32.911 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=49.913µs] [2025/04/05 06:59:32.912 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.912 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.913 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:32.913 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:32.914 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=968fb5f8-ba28-42c2-93f6-b5d555866280] ["take time"=2.73992ms] [2025/04/05 06:59:32.914 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.914 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:32.914 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/dcc46c21-7ca6-474d-aead-886f82bc3c0d] [2025/04/05 06:59:32.914 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [ttl-worker=task-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [originalCount=4] [newCount=0] [2025/04/05 06:59:32.914 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:32.914 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:32.914 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:32.914 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:32.914 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [ttl-worker=task-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [originalCount=4] [newCount=0] [2025/04/05 06:59:32.917 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:32.917 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:32.917 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:32.917 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:32.919 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.919 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1746] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:32.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [] [2025/04/05 06:59:32.920 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:32.921 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:32.921 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:32.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.921 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:32.921 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [2025/04/05 06:59:32.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:32.922 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [2025/04/05 06:59:32.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.923 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:32.923 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:32.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:32.923 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=68e85ddb-391c-466a-98e9-eddcab72a6d7] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:32.923 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:32.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:32.923 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:32.923 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:32.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:32.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:32.924 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:32.924 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [error="context canceled"] [2025/04/05 06:59:32.924 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [2025/04/05 06:59:32.932 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136242083495938] [startKey=7480000000000000d15f698000000000000001038000000000000000] [endKey=7480000000000000d15f728000000000000f9f] ["cost time"=37.738643ms] ["completed regions"=1] [2025/04/05 06:59:32.932 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136242083495938] [commitTS=457136242122555394] [session=17] [2025/04/05 06:59:32.943 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:32.943 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:32.986 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=968fb5f8-ba28-42c2-93f6-b5d555866280] [error="context canceled"] [2025/04/05 06:59:32.986 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:32.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:32.997 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.66057ms] [2025/04/05 06:59:33.873 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:37.932 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136242083495938 commit_ts:457136242122555394 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:37.932 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136242083495938 commit_ts:457136242122555394 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:37.933 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136242083495938 commit_ts:457136242122555394 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:37.933 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:37.933 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:37.933 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:37.933 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:37.933 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:37.933 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:37.933 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:37.933 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:37.933 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:37.933 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:37.933 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:37.933 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:37.938 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.08s) === NAME === RUN TestPipelinedDMLDelete [2025/04/05 06:59:37.947 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:37.948 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:37.949 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:37.949 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:37.949 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:37.950 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:37.950 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:37.950 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:37.950 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:37.950 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:37.950 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:37.954 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:37.960 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:37.961 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:37.961 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:37.971 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:37.981 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:38.016 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1044] ["lease id"=3eaa9604bcf95319] [2025/04/05 06:59:38.018 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:38.106 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=157] ["elapsed time"=85.124893ms] [2025/04/05 06:59:38.106 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:38.108 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:38.118 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:38.119 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:38.121 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.122 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:38.124 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237182947328/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:38.124 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:38.124 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:38.124 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:38.125 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [2025/04/05 06:59:38.125 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95515] [ownerID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [op=none] [2025/04/05 06:59:38.125 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.126 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95515] [currRev=717] [2025/04/05 06:59:38.127 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:38.128 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95515] [ownerID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [op=none] [2025/04/05 06:59:38.128 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [op=none] [2025/04/05 06:59:38.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:38.128 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:38.128 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:38.129 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf95518] [ownerID=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [op=none] [2025/04/05 06:59:38.129 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [2025/04/05 06:59:38.129 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [ownerKey=/tidb/br-stream/owner/22319604bcf95518] [currRev=718] [2025/04/05 06:59:38.133 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:38.134 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:38.135 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:38.135 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:38.136 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:38.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:38.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:38.156 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:38.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:38.157 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:38.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:38.157 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:38.157 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:38.157 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:38.157 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:38.157 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:38.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:38.158 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:38.159 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:38.159 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:38.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:38.160 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:38.161 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf95323] [ownerID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [op=none] [2025/04/05 06:59:38.161 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.161 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ownerKey=/tidb/stats/owner/3eaa9604bcf95323] [currRev=720] [2025/04/05 06:59:38.161 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:38.164 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:38.164 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5da96ef2-451f-417b-bb7c-5bffc06feb4f] [2025/04/05 06:59:38.164 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ttl-worker=task-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [originalCount=0] [newCount=4] [2025/04/05 06:59:38.164 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ttl-worker=task-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [originalCount=0] [newCount=4] [2025/04/05 06:59:38.165 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.165 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:38.165 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:38.165 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836378165646575 [2025/04/05 06:59:38.172 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:38.178 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.364125ms] [2025/04/05 06:59:38.178 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:38.178 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:38.188 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:38.191 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=157] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 06:59:38.203 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:38.203 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 06:59:38.209 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.225 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=157] [neededSchemaVersion=158] ["elapsed time"=2.309128ms] [gotSchemaVersion=158] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:38.229 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=158] [2025/04/05 06:59:38.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=158] ["take time"=9.907452ms] [job="ID:211, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.241 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=158] [neededSchemaVersion=159] ["elapsed time"=2.20333ms] [gotSchemaVersion=159] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:38.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=159] [2025/04/05 06:59:38.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=159] ["take time"=8.972861ms] [job="ID:211, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.270 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.277 +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/05 06:59:38.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=159] [neededSchemaVersion=160] ["elapsed time"=1.155948ms] [gotSchemaVersion=160] [phyTblIDs="[209]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:38.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=211] [version=160] [2025/04/05 06:59:38.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=160] ["take time"=8.244531ms] [job="ID:211, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:209, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.306 +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/05 06:59:38.313 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=211] [jobType="drop table"] [2025/04/05 06:59:38.314 +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-05 06:59:38.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.332 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=211] [2025/04/05 06:59:38.333 +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: 1743836378333518738 [2025/04/05 06:59:38.337 +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/05 06:59:38.350 +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-05 06:59:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:38.350 +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-05 06:59:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:38.356 +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-05 06:59:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.360 +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/05 06:59:38.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=160] [neededSchemaVersion=161] ["elapsed time"=1.559858ms] [gotSchemaVersion=161] [phyTblIDs="[212]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:38.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=213] [version=161] [2025/04/05 06:59:38.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=161] ["take time"=8.547544ms] [job="ID:213, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.391 +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-05 06:59:38.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.403 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=213] [2025/04/05 06:59:38.403 +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/05 06:59:38.416 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:38.416 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:215, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:38.421 +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-05 06:59:38.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.426 +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/05 06:59:38.440 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=161] [neededSchemaVersion=162] ["elapsed time"=1.518171ms] [gotSchemaVersion=162] [phyTblIDs="[214]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:38.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=215] [version=162] [2025/04/05 06:59:38.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=162] ["take time"=8.386479ms] [job="ID:215, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:38.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.456 +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-05 06:59:38.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:38.467 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=215] [2025/04/05 06:59:38.468 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=162] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:38.471 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561802] [2025/04/05 06:59:38.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561806] [2025/04/05 06:59:38.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561809] [2025/04/05 06:59:38.483 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561813] [2025/04/05 06:59:38.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561816] [2025/04/05 06:59:38.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561819] [2025/04/05 06:59:38.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243590561822] [2025/04/05 06:59:38.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931139] [2025/04/05 06:59:38.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931142] [2025/04/05 06:59:38.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931145] [2025/04/05 06:59:38.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931148] [2025/04/05 06:59:38.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931151] [2025/04/05 06:59:38.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931154] [2025/04/05 06:59:38.521 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931157] [2025/04/05 06:59:38.525 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931160] [2025/04/05 06:59:38.528 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931163] [2025/04/05 06:59:38.532 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931167] [2025/04/05 06:59:38.536 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931170] [2025/04/05 06:59:38.540 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931173] [2025/04/05 06:59:38.544 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243603931176] [2025/04/05 06:59:38.548 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038339] [2025/04/05 06:59:38.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038342] [2025/04/05 06:59:38.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038345] [2025/04/05 06:59:38.559 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038348] [2025/04/05 06:59:38.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038351] [2025/04/05 06:59:38.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038354] [2025/04/05 06:59:38.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038357] [2025/04/05 06:59:38.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038360] [2025/04/05 06:59:38.578 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038363] [2025/04/05 06:59:38.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038367] [2025/04/05 06:59:38.588 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038370] [2025/04/05 06:59:38.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243617038373] [2025/04/05 06:59:38.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883393] [2025/04/05 06:59:38.600 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883396] [2025/04/05 06:59:38.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883399] [2025/04/05 06:59:38.607 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883402] [2025/04/05 06:59:38.611 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883405] [2025/04/05 06:59:38.615 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883408] [2025/04/05 06:59:38.619 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883411] [2025/04/05 06:59:38.622 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883414] [2025/04/05 06:59:38.626 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883418] [2025/04/05 06:59:38.630 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883424] [2025/04/05 06:59:38.635 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883427] [2025/04/05 06:59:38.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883430] [2025/04/05 06:59:38.642 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243629883433] [2025/04/05 06:59:38.646 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252738] [2025/04/05 06:59:38.650 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252741] [2025/04/05 06:59:38.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252744] [2025/04/05 06:59:38.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252747] [2025/04/05 06:59:38.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252750] [2025/04/05 06:59:38.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252753] [2025/04/05 06:59:38.669 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252756] [2025/04/05 06:59:38.673 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252759] [2025/04/05 06:59:38.677 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252762] [2025/04/05 06:59:38.681 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252766] [2025/04/05 06:59:38.685 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252769] [2025/04/05 06:59:38.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252772] [2025/04/05 06:59:38.692 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243643252775] [2025/04/05 06:59:38.696 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359938] [2025/04/05 06:59:38.700 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359941] [2025/04/05 06:59:38.704 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359944] [2025/04/05 06:59:38.708 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359947] [2025/04/05 06:59:38.712 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359950] [2025/04/05 06:59:38.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359953] [2025/04/05 06:59:38.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359956] [2025/04/05 06:59:38.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359959] [2025/04/05 06:59:38.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359962] [2025/04/05 06:59:38.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359966] [2025/04/05 06:59:38.735 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359969] [2025/04/05 06:59:38.739 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359972] [2025/04/05 06:59:38.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243656359975] [2025/04/05 06:59:38.747 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669204994] [2025/04/05 06:59:38.750 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669204997] [2025/04/05 06:59:38.754 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205000] [2025/04/05 06:59:38.758 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205003] [2025/04/05 06:59:38.762 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205006] [2025/04/05 06:59:38.766 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205009] [2025/04/05 06:59:38.770 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205013] [2025/04/05 06:59:38.773 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205016] [2025/04/05 06:59:38.777 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205019] [2025/04/05 06:59:38.781 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205023] [2025/04/05 06:59:38.785 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205026] [2025/04/05 06:59:38.789 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205029] [2025/04/05 06:59:38.792 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243669205032] [2025/04/05 06:59:38.796 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574338] [2025/04/05 06:59:38.800 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574341] [2025/04/05 06:59:38.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574344] [2025/04/05 06:59:38.808 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574347] [2025/04/05 06:59:38.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574350] [2025/04/05 06:59:38.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574353] [2025/04/05 06:59:38.819 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574356] [2025/04/05 06:59:38.823 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574359] [2025/04/05 06:59:38.827 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574362] [2025/04/05 06:59:38.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574366] [2025/04/05 06:59:38.834 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574369] [2025/04/05 06:59:38.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574372] [2025/04/05 06:59:38.842 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243682574375] [2025/04/05 06:59:38.846 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243695681538] [2025/04/05 06:59:38.850 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243695681541] [2025/04/05 06:59:38.853 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136243695681544] [2025/04/05 06:59:38.865 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136243695681548] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.593721ms] [2025/04/05 06:59:38.865 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.693779ms] [total_duration=4.205898ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457136243695681548] [2025/04/05 06:59:38.866 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136243695681548] [commitTS=457136243695681549] [2025/04/05 06:59:38.867 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136243695681548] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] [concurrency=8] [2025/04/05 06:59:38.872 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136243695681548] [startKey=7480000000000000d45f728000000000000000] [endKey=7480000000000000d45f728000000000000062] ["cost time"=4.966666ms] ["completed regions"=1] [2025/04/05 06:59:38.872 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136243695681548] [commitTS=457136243695681549] [session=19] [2025/04/05 06:59:38.881 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136243695681551] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.19609ms] [2025/04/05 06:59:38.882 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.288799ms] [total_duration=7.775434ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457136243695681551] [2025/04/05 06:59:38.883 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136243695681551] [commitTS=457136243695681556] [2025/04/05 06:59:38.883 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136243695681551] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/05 06:59:38.884 +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/05 06:59:38.886 +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:1 id:66 store_id:3 id:67 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 06:59:38.886 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=64] [2025/04/05 06:59:38.887 +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:1 id:66 store_id:3 id:67 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.887 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=68] [2025/04/05 06:59:38.888 +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:1 id:70 store_id:3 id:71 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.888 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=72] [2025/04/05 06:59:38.889 +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:1 id:74 store_id:3 id:75 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.889 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=76] [2025/04/05 06:59:38.890 +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:1 id:78 store_id:3 id:79 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.890 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=80] [2025/04/05 06:59:38.891 +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:1 id:82 store_id:3 id:83 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.891 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=84] [2025/04/05 06:59:38.892 +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:1 id:86 store_id:3 id:87 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.892 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=88] [2025/04/05 06:59:38.893 +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:1 id:90 store_id:3 id:91 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.893 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=92] [2025/04/05 06:59:38.894 +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:1 id:94 store_id:3 id:95 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.894 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=96] [2025/04/05 06:59:38.895 +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:1 id:98 store_id:3 id:99 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:38.895 +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/05 06:59:38.895 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=64] [backoff(ms)=299988] [2025/04/05 06:59:38.896 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=64] [2025/04/05 06:59:38.896 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=68] [backoff(ms)=299988] [2025/04/05 06:59:38.896 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=68] [2025/04/05 06:59:38.896 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=72] [backoff(ms)=299987] [2025/04/05 06:59:38.897 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=72] [2025/04/05 06:59:38.897 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=76] [backoff(ms)=299987] [2025/04/05 06:59:38.897 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=76] [2025/04/05 06:59:38.897 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=80] [backoff(ms)=299986] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=80] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=84] [backoff(ms)=299986] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=84] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=88] [backoff(ms)=299985] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=88] [2025/04/05 06:59:38.898 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=92] [backoff(ms)=299985] [2025/04/05 06:59:38.899 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=92] [2025/04/05 06:59:38.899 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=96] [backoff(ms)=299985] [2025/04/05 06:59:38.899 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=96] [2025/04/05 06:59:38.907 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136243695681551] [startKey=7480000000000000d45f728000000000000001] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=24.513916ms] ["completed regions"=10] [2025/04/05 06:59:38.908 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136243695681551] [commitTS=457136243695681556] [session=19] [2025/04/05 06:59:38.910 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136243708526595] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.854088ms] [2025/04/05 06:59:38.910 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.995361ms] [total_duration=8.655911ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457136243708526595] [2025/04/05 06:59:38.911 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136243708526595] [commitTS=457136243708526596] [2025/04/05 06:59:38.911 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136243708526595] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] [concurrency=8] [2025/04/05 06:59:38.919 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [] [2025/04/05 06:59:38.919 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:38.919 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:38.919 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.919 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:38.919 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:38.919 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=61.839µs] [2025/04/05 06:59:38.919 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136243708526595] [startKey=7480000000000000d45f728000000000000065] [endKey=7480000000000000d45f72800000000000270f] ["cost time"=7.302498ms] ["completed regions"=10] [2025/04/05 06:59:38.919 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=46.283µs] [2025/04/05 06:59:38.919 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136243708526595] [commitTS=457136243708526596] [session=19] [2025/04/05 06:59:38.919 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=46.081µs] [2025/04/05 06:59:38.919 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.919 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.920 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:38.920 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:38.922 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] ["take time"=3.404705ms] [2025/04/05 06:59:38.922 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.922 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:38.922 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5da96ef2-451f-417b-bb7c-5bffc06feb4f] [2025/04/05 06:59:38.922 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ttl-worker=task-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [originalCount=4] [newCount=0] [2025/04/05 06:59:38.922 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:38.922 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:38.922 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:38.922 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:38.922 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [ttl-worker=task-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [originalCount=4] [newCount=0] [2025/04/05 06:59:38.925 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:38.925 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:38.925 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:38.925 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:38.928 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.928 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1044] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:38.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:38.929 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:38.930 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:38.929 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:38.930 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:38.930 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:38.931 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:38.931 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:38.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:38.931 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=df7c0f8c-253c-4153-acf1-3b1207e02c2b] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:38.931 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:38.931 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:38.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:38.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:38.931 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:38.931 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:38.931 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:38.932 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [error="context canceled"] [2025/04/05 06:59:38.932 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [2025/04/05 06:59:38.949 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:38.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:38.999 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c78b474d-7cf9-49cc-a6ff-429b05d35aff] [error="context canceled"] [2025/04/05 06:59:38.999 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:38.999 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:39.010 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=91.189083ms] [2025/04/05 06:59:39.955 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:43.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136243695681548 commit_ts:457136243695681549 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:43.872 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136243695681548 commit_ts:457136243695681549 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:43.873 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136243695681548 commit_ts:457136243695681549 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:43.908 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136243695681551 commit_ts:457136243695681556 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:43.908 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136243695681551 commit_ts:457136243695681556 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:43.908 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136243695681551 commit_ts:457136243695681556 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136243708526595 commit_ts:457136243708526596 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136243708526595 commit_ts:457136243708526596 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136243708526595 commit_ts:457136243708526596 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:43.920 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:43.920 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:43.920 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:43.920 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:43.920 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:43.920 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:43.920 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:43.920 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:43.920 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:43.920 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:43.922 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (5.98s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/05 06:59:43.931 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:43.931 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:43.932 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:43.933 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:43.933 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:43.933 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:43.933 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:43.933 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:43.933 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:43.934 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:43.934 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:43.938 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:43.944 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:43.944 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:43.945 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:43.955 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:43.966 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:44.002 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1163] ["lease id"=22319604bcf9553b] [2025/04/05 06:59:44.004 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:44.095 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=162] ["elapsed time"=87.756299ms] [2025/04/05 06:59:44.095 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:44.097 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:44.108 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:44.108 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:44.110 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.111 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:44.111 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237182963712/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:44.111 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:44.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:44.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:44.112 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:44.112 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:44.112 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:44.112 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:44.112 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [2025/04/05 06:59:44.114 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95345] [ownerID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [op=none] [2025/04/05 06:59:44.114 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.114 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95345] [currRev=753] [2025/04/05 06:59:44.114 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:44.114 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:44.115 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:44.115 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf953bf] [ownerID=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [op=none] [2025/04/05 06:59:44.115 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [2025/04/05 06:59:44.115 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [ownerKey=/tidb/br-stream/owner/6f189604bcf953bf] [currRev=754] [2025/04/05 06:59:44.116 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95345] [ownerID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [op=none] [2025/04/05 06:59:44.116 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [op=none] [2025/04/05 06:59:44.116 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:44.125 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.126 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:44.127 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:44.129 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319604bcf95543] [ownerID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [op=none] [2025/04/05 06:59:44.129 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.129 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ownerKey=/tidb/bindinfo/owner/22319604bcf95543] [currRev=755] [2025/04/05 06:59:44.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:44.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:44.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:44.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:44.150 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:44.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:44.150 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:44.150 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:44.150 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:44.150 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:44.150 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:44.151 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:44.151 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:44.152 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:44.152 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:44.152 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:44.153 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:44.153 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:44.155 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf953c7] [ownerID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [op=none] [2025/04/05 06:59:44.155 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.155 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:44.155 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ownerKey=/tidb/stats/owner/6f189604bcf953c7] [currRev=756] [2025/04/05 06:59:44.157 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/a28f1dd1-3979-478e-8829-b43c85fea11c] [2025/04/05 06:59:44.158 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ttl-worker=task-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [originalCount=0] [newCount=4] [2025/04/05 06:59:44.158 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:44.158 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ttl-worker=task-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [originalCount=0] [newCount=4] [2025/04/05 06:59:44.158 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:44.158 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:44.158 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743836384158796691 [2025/04/05 06:59:44.158 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 06:59:44.163 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:44.170 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.961584ms] [2025/04/05 06:59:44.170 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:44.170 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:44.180 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:44.182 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:44.184 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=162] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:44.196 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:44.196 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:44.352 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.373 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=162] [neededSchemaVersion=163] ["elapsed time"=1.831764ms] [gotSchemaVersion=163] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.376 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=163] [2025/04/05 06:59:44.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=163] ["take time"=13.122782ms] [job="ID:216, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.389 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.403 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=163] [neededSchemaVersion=164] ["elapsed time"=1.773762ms] [gotSchemaVersion=164] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.407 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=164] [2025/04/05 06:59:44.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=164] ["take time"=8.566617ms] [job="ID:216, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.416 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.422 +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/05 06:59:44.435 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=164] [neededSchemaVersion=165] ["elapsed time"=966.939µs] [gotSchemaVersion=165] [phyTblIDs="[214]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.438 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=216] [version=165] [2025/04/05 06:59:44.440 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=165] ["take time"=7.567013ms] [job="ID:216, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:214, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.449 +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/05 06:59:44.456 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=216] [jobType="drop table"] [2025/04/05 06:59:44.457 +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-05 06:59:44.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.476 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=216] [2025/04/05 06:59:44.487 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:44.487 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:44.492 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.506 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=165] [neededSchemaVersion=166] ["elapsed time"=1.846934ms] [gotSchemaVersion=166] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.510 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=166] [2025/04/05 06:59:44.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=166] ["take time"=8.503491ms] [job="ID:217, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.521 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.536 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=166] [neededSchemaVersion=167] ["elapsed time"=1.913157ms] [gotSchemaVersion=167] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.539 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=167] [2025/04/05 06:59:44.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=167] ["take time"=8.907515ms] [job="ID:217, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.550 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.555 +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/05 06:59:44.570 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=167] [neededSchemaVersion=168] ["elapsed time"=3.487745ms] [gotSchemaVersion=168] [phyTblIDs="[212]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:44.575 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=217] [version=168] [2025/04/05 06:59:44.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=168] ["take time"=11.437706ms] [job="ID:217, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:212, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.587 +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/05 06:59:44.592 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=217] [jobType="drop table"] [2025/04/05 06:59:44.593 +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-05 06:59:44.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.610 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=217] [2025/04/05 06:59:44.611 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 20\n# Query_time: 0.426726065\n# Parse_time: 0.000068136\n# Compile_time: 0.000271111\n# Rewrite_time: 0.00000365\n# Optimize_time: 0.000042148\n# Wait_TS: 0.000362069\n# DB: test\n# Is_internal: false\n# Digest: 1d598c400a4fb4369dc077dca9a083040a8c43d93f07445071b1410ea9ffe67a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `_t`,`t`;"] [2025/04/05 06:59:44.611 +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: 1743836384611683853 [2025/04/05 06:59:44.636 +00:00] [INFO] [set.go:172] ["set global var"] [conn=21] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:44.640 +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/05 06:59:44.664 +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-05 06:59:44.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:44.664 +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-05 06:59:44.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:44.670 +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-05 06:59:44.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.676 +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/05 06:59:44.691 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=168] [neededSchemaVersion=169] ["elapsed time"=1.582139ms] [gotSchemaVersion=169] [phyTblIDs="[218]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:44.695 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=219] [version=169] [2025/04/05 06:59:44.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=169] ["take time"=10.030295ms] [job="ID:219, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.709 +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-05 06:59:44.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.721 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=219] [2025/04/05 06:59:44.722 +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/05 06:59:44.735 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:44.735 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:221, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:44.741 +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-05 06:59:44.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.745 +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/05 06:59:44.761 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=169] [neededSchemaVersion=170] ["elapsed time"=1.80649ms] [gotSchemaVersion=170] [phyTblIDs="[220]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:44.765 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=221] [version=170] [2025/04/05 06:59:44.767 +00:00] [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.936722ms] [job="ID:221, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:44.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.781 +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-05 06:59:44.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:44.794 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=221] [2025/04/05 06:59:44.794 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=170] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:44.798 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438338] [2025/04/05 06:59:44.802 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438342] [2025/04/05 06:59:44.807 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438345] [2025/04/05 06:59:44.811 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438348] [2025/04/05 06:59:44.815 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438351] [2025/04/05 06:59:44.819 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438355] [2025/04/05 06:59:44.824 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438358] [2025/04/05 06:59:44.828 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438361] [2025/04/05 06:59:44.832 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438364] [2025/04/05 06:59:44.836 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438367] [2025/04/05 06:59:44.840 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438370] [2025/04/05 06:59:44.844 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245255438373] [2025/04/05 06:59:44.848 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545539] [2025/04/05 06:59:44.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545542] [2025/04/05 06:59:44.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545545] [2025/04/05 06:59:44.859 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545548] [2025/04/05 06:59:44.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545552] [2025/04/05 06:59:44.868 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545558] [2025/04/05 06:59:44.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545561] [2025/04/05 06:59:44.876 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545564] [2025/04/05 06:59:44.879 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545567] [2025/04/05 06:59:44.883 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545570] [2025/04/05 06:59:44.887 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545573] [2025/04/05 06:59:44.891 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545576] [2025/04/05 06:59:44.894 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245268545579] [2025/04/05 06:59:44.899 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652739] [2025/04/05 06:59:44.903 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652742] [2025/04/05 06:59:44.907 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652745] [2025/04/05 06:59:44.913 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652748] [2025/04/05 06:59:44.916 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652751] [2025/04/05 06:59:44.920 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652755] [2025/04/05 06:59:44.924 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652758] [2025/04/05 06:59:44.928 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652761] [2025/04/05 06:59:44.932 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652764] [2025/04/05 06:59:44.936 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652767] [2025/04/05 06:59:44.939 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652770] [2025/04/05 06:59:44.943 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245281652773] [2025/04/05 06:59:44.946 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759938] [2025/04/05 06:59:44.950 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759941] [2025/04/05 06:59:44.954 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759944] [2025/04/05 06:59:44.957 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759947] [2025/04/05 06:59:44.961 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759950] [2025/04/05 06:59:44.964 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759953] [2025/04/05 06:59:44.968 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759957] [2025/04/05 06:59:44.972 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759961] [2025/04/05 06:59:44.975 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759964] [2025/04/05 06:59:44.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759969] [2025/04/05 06:59:44.982 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759972] [2025/04/05 06:59:44.986 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759975] [2025/04/05 06:59:44.990 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759978] [2025/04/05 06:59:44.993 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245294759981] [2025/04/05 06:59:44.997 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307604994] [2025/04/05 06:59:45.000 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307604997] [2025/04/05 06:59:45.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605000] [2025/04/05 06:59:45.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605003] [2025/04/05 06:59:45.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605006] [2025/04/05 06:59:45.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605009] [2025/04/05 06:59:45.020 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605013] [2025/04/05 06:59:45.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605016] [2025/04/05 06:59:45.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605019] [2025/04/05 06:59:45.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605022] [2025/04/05 06:59:45.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605025] [2025/04/05 06:59:45.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605028] [2025/04/05 06:59:45.042 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245307605031] [2025/04/05 06:59:45.045 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712193] [2025/04/05 06:59:45.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712196] [2025/04/05 06:59:45.052 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712199] [2025/04/05 06:59:45.056 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712202] [2025/04/05 06:59:45.060 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712205] [2025/04/05 06:59:45.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712209] [2025/04/05 06:59:45.067 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712212] [2025/04/05 06:59:45.071 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712216] [2025/04/05 06:59:45.075 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712219] [2025/04/05 06:59:45.079 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712222] [2025/04/05 06:59:45.083 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712225] [2025/04/05 06:59:45.087 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712228] [2025/04/05 06:59:45.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712231] [2025/04/05 06:59:45.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245320712234] [2025/04/05 06:59:45.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819395] [2025/04/05 06:59:45.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819398] [2025/04/05 06:59:45.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819401] [2025/04/05 06:59:45.109 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819404] [2025/04/05 06:59:45.113 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819408] [2025/04/05 06:59:45.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819414] [2025/04/05 06:59:45.120 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:45.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:45.120 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:45.120 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:45.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819419] [2025/04/05 06:59:45.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819422] [2025/04/05 06:59:45.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819425] [2025/04/05 06:59:45.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819428] [2025/04/05 06:59:45.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819431] [2025/04/05 06:59:45.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819434] [2025/04/05 06:59:45.143 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245333819437] [2025/04/05 06:59:45.147 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926595] [2025/04/05 06:59:45.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926598] [2025/04/05 06:59:45.154 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926601] [2025/04/05 06:59:45.158 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 06:59:45.158 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 06:59:45.158 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926605] [2025/04/05 06:59:45.158 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a28f1dd1-3979-478e-8829-b43c85fea11c] [watcherID=1d497384-c0b0-483b-95c9-1e8e981994e6] [2025/04/05 06:59:45.158 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 06:59:45.162 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926615] [2025/04/05 06:59:45.164 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 06:59:45.164 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 06:59:45.164 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 06:59:45.164 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 06:59:45.166 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926620] [2025/04/05 06:59:45.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926633] [2025/04/05 06:59:45.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926641] [2025/04/05 06:59:45.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136245346926644] [2025/04/05 06:59:45.194 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245346926649] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.184499ms] [2025/04/05 06:59:45.195 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245346926649] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.420193ms] [2025/04/05 06:59:45.197 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245346926649] [generation=3] [session=21] [keys=28] [size=812B] ["flushed keys"=63] ["flushed size"=1.827kB] ["take time"=1.349271ms] [2025/04/05 06:59:45.198 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245346926649] [generation=4] [session=21] [keys=28] [size=812B] ["flushed keys"=91] ["flushed size"=2.639kB] ["take time"=1.318172ms] [2025/04/05 06:59:45.199 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245346926649] [generation=5] [session=21] [keys=9] [size=261B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=958.86µs] [2025/04/05 06:59:45.200 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.884442ms] [total_duration=9.03003ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457136245346926649] [2025/04/05 06:59:45.201 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136245346926649] [commitTS=457136245360033794] [2025/04/05 06:59:45.201 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136245346926649] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] [concurrency=8] [2025/04/05 06:59:45.206 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136245346926649] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f728000000000000063] ["cost time"=4.671552ms] ["completed regions"=1] [2025/04/05 06:59:45.206 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136245346926649] [commitTS=457136245360033794] [session=21] [2025/04/05 06:59:45.212 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=993.341µs] [2025/04/05 06:59:45.213 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=2] [session=21] [keys=26] [size=624B] ["flushed keys"=36] ["flushed size"=864B] ["take time"=1.150744ms] [2025/04/05 06:59:45.215 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=3] [session=21] [keys=30] [size=720B] ["flushed keys"=66] ["flushed size"=1.584kB] ["take time"=1.240648ms] [2025/04/05 06:59:45.216 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=4] [session=21] [keys=32] [size=768B] ["flushed keys"=98] ["flushed size"=2.352kB] ["take time"=1.313714ms] [2025/04/05 06:59:45.218 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=5] [session=21] [keys=34] [size=816B] ["flushed keys"=132] ["flushed size"=3.168kB] ["take time"=1.323636ms] [2025/04/05 06:59:45.219 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=6] [session=21] [keys=32] [size=768B] ["flushed keys"=164] ["flushed size"=3.936kB] ["take time"=1.308324ms] [2025/04/05 06:59:45.220 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=7] [session=21] [keys=34] [size=816B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=1.243303ms] [2025/04/05 06:59:45.221 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245360033796] [generation=8] [session=21] [keys=0] [size=0B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=31.735µs] [2025/04/05 06:59:45.221 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.309871ms] [total_duration=11.659235ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457136245360033796] [2025/04/05 06:59:45.222 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136245360033796] [commitTS=457136245360033798] [2025/04/05 06:59:45.222 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136245360033796] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/05 06:59:45.223 +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/05 06:59:45.226 +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:1 id:102 store_id:3 id:103 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 06:59:45.226 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=100] [2025/04/05 06:59:45.226 +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:1 id:102 store_id:3 id:103 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.227 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=104] [2025/04/05 06:59:45.245 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136245360033796] [startKey=7480000000000000da5f728000000000000001] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=23.309175ms] ["completed regions"=10] [2025/04/05 06:59:45.245 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136245360033796] [commitTS=457136245360033798] [session=21] [2025/04/05 06:59:45.328 +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:1 id:106 store_id:3 id:107 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.328 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=108] [2025/04/05 06:59:45.329 +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:1 id:110 store_id:3 id:111 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.329 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=112] [2025/04/05 06:59:45.330 +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:1 id:114 store_id:3 id:115 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.330 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=116] [2025/04/05 06:59:45.331 +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:1 id:118 store_id:3 id:119 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.331 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=120] [2025/04/05 06:59:45.332 +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:1 id:122 store_id:3 id:123 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.332 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=124] [2025/04/05 06:59:45.332 +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:1 id:126 store_id:3 id:127 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.333 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=128] [2025/04/05 06:59:45.333 +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:1 id:130 store_id:3 id:131 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.333 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=132] [2025/04/05 06:59:45.334 +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:1 id:134 store_id:3 id:135 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 06:59:45.334 +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/05 06:59:45.334 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=100] [backoff(ms)=299888] [2025/04/05 06:59:45.335 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=100] [2025/04/05 06:59:45.335 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=104] [backoff(ms)=299887] [2025/04/05 06:59:45.335 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=104] [2025/04/05 06:59:45.335 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=108] [backoff(ms)=299887] [2025/04/05 06:59:45.336 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=108] [2025/04/05 06:59:45.336 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=112] [backoff(ms)=299887] [2025/04/05 06:59:45.336 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=112] [2025/04/05 06:59:45.336 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=116] [backoff(ms)=299886] [2025/04/05 06:59:45.337 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=116] [2025/04/05 06:59:45.337 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=120] [backoff(ms)=299886] [2025/04/05 06:59:45.337 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=120] [2025/04/05 06:59:45.337 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=124] [backoff(ms)=299885] [2025/04/05 06:59:45.338 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=124] [2025/04/05 06:59:45.338 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=128] [backoff(ms)=299885] [2025/04/05 06:59:45.338 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=128] [2025/04/05 06:59:45.338 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=132] [backoff(ms)=299884] [2025/04/05 06:59:45.338 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=132] [2025/04/05 06:59:45.345 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245386510344] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.18492ms] [2025/04/05 06:59:45.347 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245386510344] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.324744ms] [2025/04/05 06:59:45.348 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245386510344] [generation=3] [session=21] [keys=27] [size=783B] ["flushed keys"=62] ["flushed size"=1.798kB] ["take time"=1.527006ms] [2025/04/05 06:59:45.350 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245386510344] [generation=4] [session=21] [keys=30] [size=870B] ["flushed keys"=92] ["flushed size"=2.668kB] ["take time"=1.82998ms] [2025/04/05 06:59:45.351 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136245386510344] [generation=5] [session=21] [keys=8] [size=232B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.009746ms] [2025/04/05 06:59:45.351 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.38187ms] [total_duration=11.303003ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457136245386510344] [2025/04/05 06:59:45.353 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136245386510344] [commitTS=457136245399617537] [2025/04/05 06:59:45.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136245386510344] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] [concurrency=8] [2025/04/05 06:59:45.359 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136245386510344] [startKey=7480000000000000da5f728000000000000000] [endKey=7480000000000000da5f7280000000000026ac] ["cost time"=5.971831ms] ["completed regions"=10] [2025/04/05 06:59:45.359 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136245386510344] [commitTS=457136245399617537] [session=21] [2025/04/05 06:59:45.359 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:45.360 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:45.360 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [] [2025/04/05 06:59:45.360 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.360 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:45.360 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:45.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=75.126µs] [2025/04/05 06:59:45.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=48.39µs] [2025/04/05 06:59:45.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=37.047µs] [2025/04/05 06:59:45.360 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=48.328µs] [2025/04/05 06:59:45.360 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.360 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.361 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:45.361 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:45.364 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] ["take time"=4.410032ms] [2025/04/05 06:59:45.364 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.364 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:45.364 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/a28f1dd1-3979-478e-8829-b43c85fea11c] [watcherID=1d497384-c0b0-483b-95c9-1e8e981994e6] [2025/04/05 06:59:45.364 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 06:59:45.364 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/a28f1dd1-3979-478e-8829-b43c85fea11c] [2025/04/05 06:59:45.364 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ttl-worker=task-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [originalCount=4] [newCount=0] [2025/04/05 06:59:45.364 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:45.364 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:45.364 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:45.364 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:45.364 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [ttl-worker=task-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [originalCount=4] [newCount=0] [2025/04/05 06:59:45.367 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:45.367 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:45.367 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:45.368 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:45.370 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.370 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1163] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:45.372 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:45.371 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 06:59:45.372 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 06:59:45.372 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:45.372 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:45.372 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.372 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:45.371 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:45.372 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:45.372 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:45.372 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:45.372 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [] [2025/04/05 06:59:45.372 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:45.372 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:45.371 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:45.371 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.373 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.374 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:45.374 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:45.374 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:45.375 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:45.375 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d24da7ca-7bff-410a-9fa7-67f25e0149ae] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:45.375 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:45.375 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [] [2025/04/05 06:59:45.375 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:45.375 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.375 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:45.375 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [error="context canceled"] [2025/04/05 06:59:45.375 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=8eaabc29-8aa0-4baf-8deb-3ac84324621c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:45.391 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:45.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:45.434 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:45.434 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:45.445 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.014138ms] [2025/04/05 06:59:45.938 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:50.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136245346926649 commit_ts:457136245360033794 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:50.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136245346926649 commit_ts:457136245360033794 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:50.207 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136245346926649 commit_ts:457136245360033794 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:50.246 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136245360033796 commit_ts:457136245360033798 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:50.246 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136245360033796 commit_ts:457136245360033798 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:50.246 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136245360033796 commit_ts:457136245360033798 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136245386510344 commit_ts:457136245399617537 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136245386510344 commit_ts:457136245399617537 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136245386510344 commit_ts:457136245399617537 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:50.360 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:50.360 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:50.360 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:50.360 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:50.360 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:50.361 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:50.361 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:50.361 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:50.361 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:50.361 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:50.362 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.44s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/05 06:59:50.370 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:50.371 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:50.372 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:50.372 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:50.372 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:50.373 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:50.373 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:50.373 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:50.373 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:50.373 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:50.373 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:50.377 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:50.383 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:50.383 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:50.384 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:50.394 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:50.404 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:50.439 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1633] ["lease id"=22319604bcf9556b] [2025/04/05 06:59:50.441 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:50.531 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=170] ["elapsed time"=86.508823ms] [2025/04/05 06:59:50.531 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:50.533 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:50.544 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:50.544 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:50.546 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.547 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:50.547 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237182992384/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:50.548 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:50.548 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [2025/04/05 06:59:50.549 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95570] [ownerID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [op=none] [2025/04/05 06:59:50.550 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.550 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95570] [currRev=794] [2025/04/05 06:59:50.551 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:50.551 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:50.551 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:50.551 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf953f7] [ownerID=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [op=none] [2025/04/05 06:59:50.551 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [2025/04/05 06:59:50.551 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [ownerKey=/tidb/br-stream/owner/6f189604bcf953f7] [currRev=795] [2025/04/05 06:59:50.552 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95570] [ownerID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [op=none] [2025/04/05 06:59:50.552 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [op=none] [2025/04/05 06:59:50.552 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:50.565 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.566 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:50.566 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:50.575 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:50.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:50.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:50.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:50.588 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:50.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:50.588 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:50.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:50.588 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:50.588 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:50.588 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:50.589 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:50.589 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:50.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:50.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:50.590 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:50.591 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:50.591 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:50.591 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:50.591 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:50.593 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:50.593 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf95578] [ownerID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [op=none] [2025/04/05 06:59:50.593 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.593 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ownerKey=/tidb/stats/owner/22319604bcf95578] [currRev=797] [2025/04/05 06:59:50.595 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/aec75cfd-7998-40d9-ba4d-923618866563] [2025/04/05 06:59:50.595 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:50.596 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ttl-worker=task-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [originalCount=0] [newCount=4] [2025/04/05 06:59:50.596 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ttl-worker=task-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [originalCount=0] [newCount=4] [2025/04/05 06:59:50.596 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:50.596 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:50.596 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:50.596 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836390596661042 [2025/04/05 06:59:50.601 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:50.608 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.685102ms] [2025/04/05 06:59:50.608 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:50.608 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:50.611 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:50.613 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:50.614 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=170] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:50.628 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.628 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:222, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:50.634 +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-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.650 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=170] [neededSchemaVersion=171] ["elapsed time"=1.826773ms] [gotSchemaVersion=171] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.654 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=171] [2025/04/05 06:59:50.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=171] ["take time"=9.424753ms] [job="ID:222, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.665 +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-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=171] [neededSchemaVersion=172] ["elapsed time"=2.593776ms] [gotSchemaVersion=172] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=172] [2025/04/05 06:59:50.688 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=172] ["take time"=10.92089ms] [job="ID:222, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.697 +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-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.704 +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/05 06:59:50.717 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=172] [neededSchemaVersion=173] ["elapsed time"=1.055958ms] [gotSchemaVersion=173] [phyTblIDs="[220]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=222] [version=173] [2025/04/05 06:59:50.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=173] ["take time"=8.295207ms] [job="ID:222, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:220, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.731 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=222] [tableIDs="[220]"] [comment="drop table: table ID"] [2025/04/05 06:59:50.739 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=222] [jobType="drop table"] [2025/04/05 06:59:50.740 +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-05 06:59:50.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.758 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=222] [2025/04/05 06:59:50.769 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.769 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:50.774 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=173] [neededSchemaVersion=174] ["elapsed time"=1.830754ms] [gotSchemaVersion=174] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=174] [2025/04/05 06:59:50.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=174] ["take time"=8.560019ms] [job="ID:223, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.804 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.820 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=174] [neededSchemaVersion=175] ["elapsed time"=1.939432ms] [gotSchemaVersion=175] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.823 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=175] [2025/04/05 06:59:50.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=175] ["take time"=9.055098ms] [job="ID:223, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.833 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.840 +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/05 06:59:50.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=175] [neededSchemaVersion=176] ["elapsed time"=975.068µs] [gotSchemaVersion=176] [phyTblIDs="[218]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:50.857 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=223] [version=176] [2025/04/05 06:59:50.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=176] ["take time"=7.959725ms] [job="ID:223, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:218, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.867 +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/05 06:59:50.871 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=223] [jobType="drop table"] [2025/04/05 06:59:50.872 +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-05 06:59:50.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.889 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=223] [2025/04/05 06:59:50.889 +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: 1743836390889707955 testkit.go:123: RefreshSession rand seed: 1743836390891996120 [2025/04/05 06:59:50.905 +00:00] [INFO] [set.go:172] ["set global var"] [conn=24] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:50.908 +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/05 06:59:50.922 +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-05 06:59:50.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.922 +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-05 06:59:50.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:50.928 +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-05 06:59:50.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.932 +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/05 06:59:50.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=176] [neededSchemaVersion=177] ["elapsed time"=1.618443ms] [gotSchemaVersion=177] [phyTblIDs="[224]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:50.950 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=225] [version=177] [2025/04/05 06:59:50.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=177] ["take time"=8.454948ms] [job="ID:225, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.964 +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-05 06:59:50.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.975 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=225] [2025/04/05 06:59:50.975 +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/05 06:59:50.989 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:50.989 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:227, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:50.995 +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-05 06:59:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:50.999 +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/05 06:59:51.014 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=177] [neededSchemaVersion=178] ["elapsed time"=1.422935ms] [gotSchemaVersion=178] [phyTblIDs="[226]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:51.017 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=227] [version=178] [2025/04/05 06:59:51.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=178] ["take time"=8.55494ms] [job="ID:227, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:51.030 +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-05 06:59:50.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:51.041 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=227] [2025/04/05 06:59:51.042 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=178] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:51.044 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246880731152] [2025/04/05 06:59:51.049 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576195] [2025/04/05 06:59:51.053 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576201] [2025/04/05 06:59:51.057 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576205] [2025/04/05 06:59:51.061 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576208] [2025/04/05 06:59:51.064 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576211] [2025/04/05 06:59:51.068 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576214] [2025/04/05 06:59:51.072 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576217] [2025/04/05 06:59:51.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576220] [2025/04/05 06:59:51.080 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576223] [2025/04/05 06:59:51.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576226] [2025/04/05 06:59:51.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576229] [2025/04/05 06:59:51.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246893576232] [2025/04/05 06:59:51.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683393] [2025/04/05 06:59:51.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683396] [2025/04/05 06:59:51.103 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683399] [2025/04/05 06:59:51.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683403] [2025/04/05 06:59:51.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683406] [2025/04/05 06:59:51.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683409] [2025/04/05 06:59:51.118 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683412] [2025/04/05 06:59:51.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683415] [2025/04/05 06:59:51.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683418] [2025/04/05 06:59:51.129 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683421] [2025/04/05 06:59:51.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683424] [2025/04/05 06:59:51.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683427] [2025/04/05 06:59:51.141 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683430] [2025/04/05 06:59:51.145 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246906683433] [2025/04/05 06:59:51.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790595] [2025/04/05 06:59:51.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790598] [2025/04/05 06:59:51.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790602] [2025/04/05 06:59:51.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790605] [2025/04/05 06:59:51.163 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790608] [2025/04/05 06:59:51.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790611] [2025/04/05 06:59:51.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790614] [2025/04/05 06:59:51.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790617] [2025/04/05 06:59:51.178 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790620] [2025/04/05 06:59:51.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790623] [2025/04/05 06:59:51.186 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790626] [2025/04/05 06:59:51.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790629] [2025/04/05 06:59:51.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246919790632] [2025/04/05 06:59:51.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159939] [2025/04/05 06:59:51.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159943] [2025/04/05 06:59:51.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159947] [2025/04/05 06:59:51.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159950] [2025/04/05 06:59:51.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159953] [2025/04/05 06:59:51.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159956] [2025/04/05 06:59:51.224 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159959] [2025/04/05 06:59:51.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159962] [2025/04/05 06:59:51.232 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159965] [2025/04/05 06:59:51.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159968] [2025/04/05 06:59:51.240 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159971] [2025/04/05 06:59:51.244 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246933159974] [2025/04/05 06:59:51.248 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267138] [2025/04/05 06:59:51.252 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267141] [2025/04/05 06:59:51.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267145] [2025/04/05 06:59:51.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267148] [2025/04/05 06:59:51.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267151] [2025/04/05 06:59:51.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267154] [2025/04/05 06:59:51.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267157] [2025/04/05 06:59:51.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267160] [2025/04/05 06:59:51.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267163] [2025/04/05 06:59:51.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267166] [2025/04/05 06:59:51.288 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267169] [2025/04/05 06:59:51.292 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246946267172] [2025/04/05 06:59:51.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112194] [2025/04/05 06:59:51.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112198] [2025/04/05 06:59:51.304 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112203] [2025/04/05 06:59:51.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112207] [2025/04/05 06:59:51.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112210] [2025/04/05 06:59:51.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112213] [2025/04/05 06:59:51.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112216] [2025/04/05 06:59:51.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112219] [2025/04/05 06:59:51.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112222] [2025/04/05 06:59:51.331 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112225] [2025/04/05 06:59:51.334 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112228] [2025/04/05 06:59:51.338 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112231] [2025/04/05 06:59:51.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246959112234] [2025/04/05 06:59:51.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219394] [2025/04/05 06:59:51.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219397] [2025/04/05 06:59:51.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219400] [2025/04/05 06:59:51.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219404] [2025/04/05 06:59:51.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219407] [2025/04/05 06:59:51.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219410] [2025/04/05 06:59:51.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219413] [2025/04/05 06:59:51.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219416] [2025/04/05 06:59:51.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219419] [2025/04/05 06:59:51.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219422] [2025/04/05 06:59:51.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219425] [2025/04/05 06:59:51.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219428] [2025/04/05 06:59:51.393 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246972219431] [2025/04/05 06:59:51.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326594] [2025/04/05 06:59:51.401 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326597] [2025/04/05 06:59:51.405 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326601] [2025/04/05 06:59:51.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326604] [2025/04/05 06:59:51.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326607] [2025/04/05 06:59:51.416 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326610] [2025/04/05 06:59:51.420 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326613] [2025/04/05 06:59:51.423 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326616] [2025/04/05 06:59:51.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326619] [2025/04/05 06:59:51.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136246985326622] [2025/04/05 06:59:51.445 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136246985326626] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.349496ms] [2025/04/05 06:59:51.445 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136246985326626] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=33.475µs] [2025/04/05 06:59:51.445 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.432648ms] [total_duration=7.044695ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136246985326626] [2025/04/05 06:59:51.446 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136246985326626] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] [concurrency=8] [2025/04/05 06:59:51.446 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 06:59:51.446 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:51.446 +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/05 06:59:51.452 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136246985326626] [startKey=7480000000000000e25f728000000000000000] [endKey=7480000000000000e25f728000000000000063] ["cost time"=5.69814ms] ["completed regions"=1] [2025/04/05 06:59:51.452 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136246985326626] [commitTS=0] [session=23] [2025/04/05 06:59:51.452 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000000e25f728000000000000000, primary: 7480000000000000e25f728000000000000000, txnStartTS: 457136246985326626, lockForUpdateTS:0, minCommitTs:457136246985326627, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 06:59:51.462 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136246998695940] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.509217ms] [2025/04/05 06:59:51.462 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136246998695940] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=41.286µs] [2025/04/05 06:59:51.462 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.588955ms] [total_duration=7.364421ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136246998695940] [2025/04/05 06:59:51.463 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136246998695940] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] [concurrency=8] [2025/04/05 06:59:51.463 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 06:59:51.463 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:51.463 +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/05 06:59:51.466 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136246998695940] [startKey=7480000000000000e05f728000000000000064] [endKey=7480000000000000e05f7280000000000000c7] ["cost time"=3.150876ms] ["completed regions"=1] [2025/04/05 06:59:51.466 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136246998695940] [commitTS=0] [session=23] [2025/04/05 06:59:51.468 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [] [2025/04/05 06:59:51.468 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:51.468 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:51.468 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.468 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:51.468 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:51.468 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=58.941µs] [2025/04/05 06:59:51.468 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=38.069µs] [2025/04/05 06:59:51.468 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=31.345µs] [2025/04/05 06:59:51.468 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=38.877µs] [2025/04/05 06:59:51.468 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.468 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.469 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:51.469 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:51.471 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] ["take time"=3.208433ms] [2025/04/05 06:59:51.471 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.471 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:51.471 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/aec75cfd-7998-40d9-ba4d-923618866563] [2025/04/05 06:59:51.471 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ttl-worker=task-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [originalCount=4] [newCount=0] [2025/04/05 06:59:51.471 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:51.471 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:51.471 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:51.471 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:51.471 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [ttl-worker=task-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [originalCount=4] [newCount=0] [2025/04/05 06:59:51.473 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:51.474 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:51.474 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:51.474 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:51.476 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.476 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1633] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.478 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:51.477 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:51.478 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:51.478 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.478 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.477 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:51.478 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:51.477 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [2025/04/05 06:59:51.478 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.478 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:51.477 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:51.478 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:51.477 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:51.477 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:51.478 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:51.480 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:51.480 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:51.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:51.480 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:51.480 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8400b9e2-083d-4a2a-bed1-ee90a4170acf] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:51.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:51.480 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:51.480 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:51.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:51.480 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:51.480 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:51.481 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [error="context canceled"] [2025/04/05 06:59:51.481 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [2025/04/05 06:59:51.498 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:51.498 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:51.539 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ff6e4ef7-0345-48c8-99e1-05784e007b1e] [error="context canceled"] [2025/04/05 06:59:51.539 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:51.539 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:51.550 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.114608ms] [2025/04/05 06:59:52.378 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 06:59:56.453 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136246985326626 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:56.453 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136246985326626 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:56.453 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136246985326626 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136246998695940 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136246998695940 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136246998695940 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:56.467 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:56.467 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:56.467 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:56.467 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:56.467 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:56.467 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:56.467 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:56.467 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:56.467 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:56.467 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:56.468 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.11s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/05 06:59:56.477 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:56.477 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:56.478 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:56.479 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:56.479 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:56.479 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:56.479 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:56.479 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:56.479 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:56.480 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:56.480 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:56.484 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:56.489 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:56.490 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:56.490 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:56.501 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:56.511 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:56.545 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=617] ["lease id"=6f189604bcf95423] [2025/04/05 06:59:56.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/05 06:59:56.633 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=178] ["elapsed time"=83.692209ms] [2025/04/05 06:59:56.633 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:56.636 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:56.646 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:56.646 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:56.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.649 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:56.649 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183008768/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:56.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:56.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:56.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:56.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:56.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:56.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:56.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:56.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:56.650 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:56.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:56.650 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:56.650 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:56.650 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [2025/04/05 06:59:56.652 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95428] [ownerID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [op=none] [2025/04/05 06:59:56.652 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.652 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf95428] [currRev=836] [2025/04/05 06:59:56.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:56.652 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:56.653 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf95398] [ownerID=f09a6e5a-c088-4647-9909-b89a71a14a03] [op=none] [2025/04/05 06:59:56.653 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [2025/04/05 06:59:56.653 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf95398] [currRev=837] [2025/04/05 06:59:56.653 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:56.654 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95428] [ownerID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [op=none] [2025/04/05 06:59:56.654 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [op=none] [2025/04/05 06:59:56.654 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:56.666 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.667 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:56.667 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:56.677 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:56.685 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:56.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:56.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:56.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:56.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:56.689 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:56.689 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:56.689 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:56.690 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:56.690 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:56.691 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:56.691 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:56.692 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:56.692 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:56.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:56.694 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:56.694 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf95430] [ownerID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [op=none] [2025/04/05 06:59:56.694 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.694 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ownerKey=/tidb/stats/owner/6f189604bcf95430] [currRev=839] [2025/04/05 06:59:56.696 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/c505e04e-bec4-47ec-8b15-897146fff416] [2025/04/05 06:59:56.697 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ttl-worker=task-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [originalCount=0] [newCount=4] [2025/04/05 06:59:56.697 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ttl-worker=task-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [originalCount=0] [newCount=4] [2025/04/05 06:59:56.697 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:56.697 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:56.697 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:56.698 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 06:59:56.698 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743836396698207474 [2025/04/05 06:59:56.703 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:56.712 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.84663ms] [2025/04/05 06:59:56.712 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:56.712 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:56.720 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:56.723 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:56.724 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=178] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:56.737 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:56.737 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:228, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:56.743 +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-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.758 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=178] [neededSchemaVersion=179] ["elapsed time"=1.854151ms] [gotSchemaVersion=179] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.762 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=179] [2025/04/05 06:59:56.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=179] ["take time"=9.21397ms] [job="ID:228, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.774 +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-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.789 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=179] [neededSchemaVersion=180] ["elapsed time"=1.924497ms] [gotSchemaVersion=180] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.794 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=180] [2025/04/05 06:59:56.796 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=180] ["take time"=10.528137ms] [job="ID:228, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.804 +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-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.811 +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/05 06:59:56.824 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=180] [neededSchemaVersion=181] ["elapsed time"=1.095043ms] [gotSchemaVersion=181] [phyTblIDs="[226]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.827 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=228] [version=181] [2025/04/05 06:59:56.829 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=181] ["take time"=8.245369ms] [job="ID:228, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:226, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.839 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=228] [tableIDs="[226]"] [comment="drop table: table ID"] [2025/04/05 06:59:56.847 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=228] [jobType="drop table"] [2025/04/05 06:59:56.848 +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-05 06:59:56.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.867 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=228] [2025/04/05 06:59:56.877 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:56.877 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:56.883 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.898 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=181] [neededSchemaVersion=182] ["elapsed time"=1.9022ms] [gotSchemaVersion=182] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.902 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=182] [2025/04/05 06:59:56.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=182] ["take time"=8.902992ms] [job="ID:229, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.914 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.929 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=182] [neededSchemaVersion=183] ["elapsed time"=1.872202ms] [gotSchemaVersion=183] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.932 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=183] [2025/04/05 06:59:56.934 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=183] ["take time"=8.850988ms] [job="ID:229, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.942 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.948 +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/05 06:59:56.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=183] [neededSchemaVersion=184] ["elapsed time"=1.063437ms] [gotSchemaVersion=184] [phyTblIDs="[224]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:56.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=229] [version=184] [2025/04/05 06:59:56.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=184] ["take time"=7.983975ms] [job="ID:229, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:224, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.975 +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/05 06:59:56.980 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=229] [jobType="drop table"] [2025/04/05 06:59:56.981 +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-05 06:59:56.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:56.998 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=229] [2025/04/05 06:59:56.999 +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: 1743836396999438220 [2025/04/05 06:59:57.012 +00:00] [INFO] [set.go:172] ["set global var"] [conn=26] [name=tidb_schema_cache_size] [val=0] [2025/04/05 06:59:57.015 +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/05 06:59:57.029 +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-05 06:59:56.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 06:59:57.029 +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-05 06:59:56.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:57.035 +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-05 06:59:56.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.039 +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/05 06:59:57.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=184] [neededSchemaVersion=185] ["elapsed time"=1.44102ms] [gotSchemaVersion=185] [phyTblIDs="[230]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:57.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=231] [version=185] [2025/04/05 06:59:57.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=185] ["take time"=8.719936ms] [job="ID:231, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:56.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.071 +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-05 06:59:56.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.082 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=231] [2025/04/05 06:59:57.082 +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/05 06:59:57.095 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:57.095 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:233, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 06:59:57.101 +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-05 06:59:57.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.106 +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/05 06:59:57.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=185] [neededSchemaVersion=186] ["elapsed time"=1.561102ms] [gotSchemaVersion=186] [phyTblIDs="[232]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:57.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=233] [version=186] [2025/04/05 06:59:57.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=186] ["take time"=8.707628ms] [job="ID:233, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.137 +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-05 06:59:57.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.149 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=233] [2025/04/05 06:59:57.149 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=186] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 06:59:57.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654598] [2025/04/05 06:59:57.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654605] [2025/04/05 06:59:57.161 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654608] [2025/04/05 06:59:57.165 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654611] [2025/04/05 06:59:57.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654614] [2025/04/05 06:59:57.173 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654617] [2025/04/05 06:59:57.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654620] [2025/04/05 06:59:57.180 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654623] [2025/04/05 06:59:57.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654626] [2025/04/05 06:59:57.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654629] [2025/04/05 06:59:57.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248492654632] [2025/04/05 06:59:57.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023938] [2025/04/05 06:59:57.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023941] [2025/04/05 06:59:57.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023945] [2025/04/05 06:59:57.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023948] [2025/04/05 06:59:57.217 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023951] [2025/04/05 06:59:57.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023954] [2025/04/05 06:59:57.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023957] [2025/04/05 06:59:57.228 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023960] [2025/04/05 06:59:57.233 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023963] [2025/04/05 06:59:57.236 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023966] [2025/04/05 06:59:57.240 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023969] [2025/04/05 06:59:57.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248506023972] [2025/04/05 06:59:57.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131138] [2025/04/05 06:59:57.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131141] [2025/04/05 06:59:57.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131145] [2025/04/05 06:59:57.261 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131148] [2025/04/05 06:59:57.265 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131151] [2025/04/05 06:59:57.269 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131154] [2025/04/05 06:59:57.273 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131157] [2025/04/05 06:59:57.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131160] [2025/04/05 06:59:57.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131163] [2025/04/05 06:59:57.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131166] [2025/04/05 06:59:57.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131169] [2025/04/05 06:59:57.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248519131172] [2025/04/05 06:59:57.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976194] [2025/04/05 06:59:57.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976198] [2025/04/05 06:59:57.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976201] [2025/04/05 06:59:57.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976205] [2025/04/05 06:59:57.314 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976208] [2025/04/05 06:59:57.318 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976211] [2025/04/05 06:59:57.322 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976214] [2025/04/05 06:59:57.326 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976217] [2025/04/05 06:59:57.329 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976220] [2025/04/05 06:59:57.333 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976223] [2025/04/05 06:59:57.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976226] [2025/04/05 06:59:57.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976229] [2025/04/05 06:59:57.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248531976232] [2025/04/05 06:59:57.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345539] [2025/04/05 06:59:57.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345542] [2025/04/05 06:59:57.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345546] [2025/04/05 06:59:57.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345549] [2025/04/05 06:59:57.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345552] [2025/04/05 06:59:57.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345555] [2025/04/05 06:59:57.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345558] [2025/04/05 06:59:57.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345561] [2025/04/05 06:59:57.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345564] [2025/04/05 06:59:57.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345567] [2025/04/05 06:59:57.393 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248545345570] [2025/04/05 06:59:57.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452739] [2025/04/05 06:59:57.401 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452743] [2025/04/05 06:59:57.406 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452748] [2025/04/05 06:59:57.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452752] [2025/04/05 06:59:57.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452755] [2025/04/05 06:59:57.419 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452758] [2025/04/05 06:59:57.423 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452761] [2025/04/05 06:59:57.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452764] [2025/04/05 06:59:57.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452767] [2025/04/05 06:59:57.436 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452770] [2025/04/05 06:59:57.440 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452773] [2025/04/05 06:59:57.444 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248558452776] [2025/04/05 06:59:57.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559939] [2025/04/05 06:59:57.452 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559942] [2025/04/05 06:59:57.457 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559946] [2025/04/05 06:59:57.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559949] [2025/04/05 06:59:57.465 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559952] [2025/04/05 06:59:57.469 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559955] [2025/04/05 06:59:57.474 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559958] [2025/04/05 06:59:57.478 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559961] [2025/04/05 06:59:57.482 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559964] [2025/04/05 06:59:57.486 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559967] [2025/04/05 06:59:57.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559970] [2025/04/05 06:59:57.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248571559973] [2025/04/05 06:59:57.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584404995] [2025/04/05 06:59:57.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584404998] [2025/04/05 06:59:57.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405001] [2025/04/05 06:59:57.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405005] [2025/04/05 06:59:57.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405008] [2025/04/05 06:59:57.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405011] [2025/04/05 06:59:57.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405014] [2025/04/05 06:59:57.527 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405017] [2025/04/05 06:59:57.531 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405020] [2025/04/05 06:59:57.535 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405023] [2025/04/05 06:59:57.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405026] [2025/04/05 06:59:57.543 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248584405029] [2025/04/05 06:59:57.547 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248597774338] [2025/04/05 06:59:57.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248597774341] [2025/04/05 06:59:57.556 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248597774345] [2025/04/05 06:59:57.560 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248597774350] [2025/04/05 06:59:57.564 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248597774355] [2025/04/05 06:59:57.580 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136248597774359] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.63058ms] [2025/04/05 06:59:57.580 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136248597774359] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=31.904µs] [2025/04/05 06:59:57.580 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.739003ms] [total_duration=7.46897ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136248597774359] [2025/04/05 06:59:57.581 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136248597774359] [commitTS=457136248597774360] [2025/04/05 06:59:57.600 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136248597774363] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.652192ms] [2025/04/05 06:59:57.600 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136248597774363] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=32.37µs] [2025/04/05 06:59:57.600 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.708379ms] [total_duration=7.578462ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136248597774363] [2025/04/05 06:59:57.601 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136248597774363] [commitTS=457136248610881538] [2025/04/05 06:59:57.608 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [] [2025/04/05 06:59:57.608 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:57.608 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.608 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:57.608 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:57.608 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:57.608 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=46.309µs] [2025/04/05 06:59:57.608 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=69.236µs] [2025/04/05 06:59:57.608 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=56.531µs] [2025/04/05 06:59:57.608 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=44.213µs] [2025/04/05 06:59:57.608 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.608 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.609 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:57.610 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:57.612 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] ["take time"=5.085847ms] [2025/04/05 06:59:57.613 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.613 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:57.613 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/c505e04e-bec4-47ec-8b15-897146fff416] [2025/04/05 06:59:57.613 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ttl-worker=task-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [originalCount=4] [newCount=0] [2025/04/05 06:59:57.613 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:57.613 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:57.613 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:57.613 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:57.613 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [ttl-worker=task-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [originalCount=4] [newCount=0] [2025/04/05 06:59:57.616 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:57.616 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:57.616 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:57.616 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:57.618 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.618 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=617] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:57.619 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:57.619 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:57.619 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:57.620 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:57.620 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:57.621 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:57.620 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:57.621 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:57.621 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:57.622 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:57.622 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:57.622 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:57.622 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:57.622 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=f09a6e5a-c088-4647-9909-b89a71a14a03] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:57.622 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:57.622 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:57.622 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:57.622 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:57.622 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:57.623 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [error="context canceled"] [2025/04/05 06:59:57.623 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [2025/04/05 06:59:57.642 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:57.642 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:57.686 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=2b434e11-17f8-4aa1-ac2d-f8d91083d9d4] [error="context canceled"] [2025/04/05 06:59:57.687 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:57.687 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:57.698 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=90.649267ms] [2025/04/05 06:59:57.701 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 06:59:57.701 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 06:59:57.701 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 06:59:57.701 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 06:59:57.701 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 06:59:57.701 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 06:59:57.701 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 06:59:57.701 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 06:59:57.701 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 06:59:57.701 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 06:59:57.701 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:57.701 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 06:59:57.702 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.23s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/05 06:59:57.711 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 06:59:57.711 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 06:59:57.712 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 06:59:57.713 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 06:59:57.713 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 06:59:57.713 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 06:59:57.713 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 06:59:57.713 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 06:59:57.713 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 06:59:57.714 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 06:59:57.714 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 06:59:57.718 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 06:59:57.723 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:57.724 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:57.724 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 06:59:57.734 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 06:59:57.744 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 06:59:57.780 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=602] ["lease id"=3eaa9604bcf953ba] [2025/04/05 06:59:57.782 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 06:59:57.871 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=186] ["elapsed time"=86.217486ms] [2025/04/05 06:59:57.871 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 06:59:57.873 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 06:59:57.884 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [runWorker=true] [jobVersion=v2] [2025/04/05 06:59:57.884 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 06:59:57.886 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.887 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 06:59:57.887 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183033344/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:57.887 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:57.887 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:57.888 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [2025/04/05 06:59:57.889 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf9545c] [ownerID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [op=none] [2025/04/05 06:59:57.889 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.889 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf9545c] [currRev=878] [2025/04/05 06:59:57.890 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:57.890 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:57.891 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 06:59:57.891 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf955c4] [ownerID=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [op=none] [2025/04/05 06:59:57.891 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [2025/04/05 06:59:57.891 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [ownerKey=/tidb/br-stream/owner/22319604bcf955c4] [currRev=879] [2025/04/05 06:59:57.891 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf9545c] [ownerID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [op=none] [2025/04/05 06:59:57.891 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [op=none] [2025/04/05 06:59:57.891 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 06:59:57.903 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.904 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:57.904 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 06:59:57.913 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:57.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:57.926 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:57.926 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:57.926 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 06:59:57.926 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:57.926 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 06:59:57.926 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:57.926 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 06:59:57.926 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 06:59:57.926 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 06:59:57.927 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:57.927 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:57.928 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:57.929 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:57.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:57.931 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 06:59:57.931 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf953c4] [ownerID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [op=none] [2025/04/05 06:59:57.931 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.931 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ownerKey=/tidb/stats/owner/3eaa9604bcf953c4] [currRev=881] [2025/04/05 06:59:57.933 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ad861fda-7bad-441b-8951-ac6f47fa3097] [2025/04/05 06:59:57.934 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ttl-worker=task-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [originalCount=0] [newCount=4] [2025/04/05 06:59:57.934 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ttl-worker=task-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [originalCount=0] [newCount=4] [2025/04/05 06:59:57.934 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:57.934 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 06:59:57.934 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:57.935 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 06:59:57.935 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836397935428125 [2025/04/05 06:59:57.941 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 06:59:57.950 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.893924ms] [2025/04/05 06:59:57.950 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 06:59:57.950 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 06:59:57.950 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 06:59:57.953 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 06:59:57.954 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=186] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 06:59:57.967 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:57.967 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:234, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:57.973 +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-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:57.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=186] [neededSchemaVersion=187] ["elapsed time"=1.972828ms] [gotSchemaVersion=187] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:57.994 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=187] [2025/04/05 06:59:57.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=187] ["take time"=9.736319ms] [job="ID:234, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.009 +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-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.026 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=187] [neededSchemaVersion=188] ["elapsed time"=2.135292ms] [gotSchemaVersion=188] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:58.030 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=188] [2025/04/05 06:59:58.031 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=188] ["take time"=9.966356ms] [job="ID:234, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.041 +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-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.047 +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/05 06:59:58.060 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=188] [neededSchemaVersion=189] ["elapsed time"=1.14ms] [gotSchemaVersion=189] [phyTblIDs="[232]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:58.064 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=234] [version=189] [2025/04/05 06:59:58.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=189] ["take time"=8.683656ms] [job="ID:234, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:232, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.076 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=234] [tableIDs="[232]"] [comment="drop table: table ID"] [2025/04/05 06:59:58.084 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=234] [jobType="drop table"] [2025/04/05 06:59:58.085 +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-05 06:59:57.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.104 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=234] [2025/04/05 06:59:58.115 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:58.115 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 06:59:58.121 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.137 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=189] [neededSchemaVersion=190] ["elapsed time"=1.947204ms] [gotSchemaVersion=190] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:58.141 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=190] [2025/04/05 06:59:58.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=190] ["take time"=9.327195ms] [job="ID:235, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.153 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.168 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=190] [neededSchemaVersion=191] ["elapsed time"=1.86114ms] [gotSchemaVersion=191] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:58.171 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=191] [2025/04/05 06:59:58.173 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=191] ["take time"=9.172241ms] [job="ID:235, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.182 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.188 +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/05 06:59:58.200 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=191] [neededSchemaVersion=192] ["elapsed time"=1.065401ms] [gotSchemaVersion=192] [phyTblIDs="[230]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 06:59:58.204 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=235] [version=192] [2025/04/05 06:59:58.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=192] ["take time"=7.952307ms] [job="ID:235, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:230, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.215 +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/05 06:59:58.219 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=235] [jobType="drop table"] [2025/04/05 06:59:58.220 +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-05 06:59:58.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=235] [2025/04/05 06:59:58.238 +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: 1743836398239038355 [2025/04/05 06:59:58.252 +00:00] [INFO] [set.go:172] ["set global var"] [conn=28] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743836398254207883 [2025/04/05 06:59:58.258 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=192] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 06:59:58.272 +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-05 06:59:58.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 06:59:58.272 +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-05 06:59:58.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:58.278 +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-05 06:59:58.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.283 +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/05 06:59:58.297 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=192] [neededSchemaVersion=193] ["elapsed time"=1.546393ms] [gotSchemaVersion=193] [phyTblIDs="[236]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:58.301 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=237] [version=193] [2025/04/05 06:59:58.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=193] ["take time"=8.684056ms] [job="ID:237, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.313 +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-05 06:59:58.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.324 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=237] [2025/04/05 06:59:58.325 +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/05 06:59:58.338 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 06:59:58.338 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:239, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/05 06:59:58.344 +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-05 06:59:58.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.348 +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/05 06:59:58.363 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=193] [neededSchemaVersion=194] ["elapsed time"=1.594968ms] [gotSchemaVersion=194] [phyTblIDs="[238]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 06:59:58.367 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=239] [version=194] [2025/04/05 06:59:58.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=194] ["take time"=9.062855ms] [job="ID:239, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 06:59:58.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.380 +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-05 06:59:58.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 06:59:58.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=239] [2025/04/05 06:59:58.392 +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/05 06:59:58.896 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 06:59:58.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:58.896 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:58.897 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 06:59:58.901 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136248951406593] [2025/04/05 06:59:58.904 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136248820334596] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=821.371µs] [2025/04/05 06:59:58.904 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 06:59:58.905 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136248820334596] [startKey=7480000000000000ec5f728000000000000001] [endKey=7480000000000000ec5f728000000000000001] [2025/04/05 06:59:58.905 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136248820334596] [commitTS=0] [session=28] [2025/04/05 06:59:58.905 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457136248820334596\n# Conn_ID: 28\n# Query_time: 0.506311963\n# Parse_time: 0.000328249\n# Compile_time: 0.000939242\n# Rewrite_time: 0.000561942\n# Optimize_time: 0.000088621\n# Wait_TS: 0.00039255\n# Cop_time: 0.000697548 Wait_time: 0.000027004 Request_count: 1 Process_keys: 2 Total_keys: 3 Get_snapshot_time: 0.000 Rocksdb_key_skipped_count: 2\n# DB: test\n# Is_internal: false\n# Digest: 17ec1fbcf3620b11461e2eff18cd122e69a53042f1ba2502f253416afd1b6f79\n# Stats: t2:pseudo[10000;0]\n# Num_cop_tasks: 1\n# Cop_proc_avg: 0 Cop_proc_addr: 127.0.0.1:20162\n# Cop_wait_avg: 2.7004e-05 Cop_wait_addr: 127.0.0.1:20162\n# Mem_max: 17106\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: false\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Plan: tidb_decode_plan('8AbwmjAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDRtcywgb3BlbjoxMzYuN8K1cywgY2xvc2U6NzcuMcK1cywgbG9vcHM6MSwgcHJlcGFyZTogNTAzLjhtcywgaW5zZXJ0OjE1NS4ywrVzCTQwMiBCeXRlcwlOL0EKMQkxNF82CTAJMTAwMDAJdGVzdC50Mi5hCTIJdGltZToxLjE5bXMsDX8MMjcuNB1/DDQ2LjMFDwl/FDIJMzIwIAlcDQgcCjIJMzFfMTAVYUxkYXRhOlRhYmxlRnVsbFNjYW5fORFsEDkwMC4yBVAF7Qg5MC4J3QBjBewMMTguNgUdDW1wLCBjb3BfdGFzazoge251bTogMSwgbWF4OiA1ODUNKyhwcm9jX2tleXM6IAkwdHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBidWlsZAVOCF9kdQUaDG46IDERSKhtYXhfZGlzdHNxbF9jb25jdXJyZW5jeTogMX0sIHJwY19pbmZvOntDb3A6AYs0X3JwYzoxLCB0b3RhbF8pxjAxNi45wrVzfX0JMjg4LSU8Ti9BCjMJNDNfOQkxXzAJMSmDmGFibGU6dDIsIGtlZXAgb3JkZXI6ZmFsc2UsIHN0YXRzOnBzZXVkbyU2BGt2BbQEOnsFZQwwcywgKR4BmABzIV0gZGV0YWlsOiB7CYwYcHJvY2VzczkURhcAIF9zaXplOiA4MhHAKUA4MywgZ2V0X3NuYXBzaG90CdYMIDguOSmkaHJvY2tzZGI6IHtrZXlfc2tpcHBlZF9jb3VudCV8DGJsb2MhqRB9fX0sIAGtPpoACHdhaRFVBDI3JegAdAHeAGchXhG2ATgMOiAxN20EGSEdPQAxUZQFHgx3YWxsETdAMzQuMsK1c30JTi9BCU4vQQo=')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('xwfACsIHCghJbnNlcnRfMRLIBgoGU29ydF82EuMFCg5UYWJsZVJlYWRlcl8xMBKmAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvarYCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLEgzLCBnZXRfc25hcHNob3RfdGltASaILjkxwrVzLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQFaDBibG9jazoge319fSwgATw+mgAId2FpEVUEMjcFUwB0Ad4MZ3JwYxW2ATgQOiAxNy4+IQAdPQwxNi4zGT8Md2FsbBE3JDM0LjLCtXN9cP8RAQQBeBEKKP8BIWKNiDGVpxdBLpUBNAFAAVIUZGF0YTpUYWJsPcMEWjMFjAg5MDAFVCQsIG9wZW46OTAuKQ4kY2xvc2U6MTguNgWLNGxvb3BzOjJitgFjb3BfJbFEIHtudW06IDEsIG1heDogNTg1DSwhoi1zkDIsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBidWlsZF8BTghfZHUFGgxuOiAxEUhwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhVSRpbmZvOntDb3A6AYsUX3JwYzoxURAF3RA1MTYuOSExEH1woAJ4PSoYVC2mcdbmWkIqASwJdGVzdC50Mi5hWjIFQhAxLjE5bTEdFDEyNy40wkEsAGMlHgA0MaktHgxwwAI4IXAUA04vQVoxBUAINTA0GT8EMzYt9wk/BDc3LWwJP0AxYiFwcmVwYXJlOiA1MDMuOAE5BGluYaNgOjE1NS4ywrVzcJIDeP///////////wEYAQ==')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/05 06:59:58.906 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=194] [error="[kv:9007]Write conflict, txnStartTS=457136248820334596, conflictStartTS=457136248951406593, conflictCommitTS=457136248951406594, 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/05 06:59:58.906 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 06:59:58.906 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [] [2025/04/05 06:59:58.906 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 06:59:58.906 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.906 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:58.907 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 06:59:58.907 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=55.743µs] [2025/04/05 06:59:58.907 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=51.929µs] [2025/04/05 06:59:58.907 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=48.2µs] [2025/04/05 06:59:58.907 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=46.84µs] [2025/04/05 06:59:58.907 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.907 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.908 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 06:59:58.909 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 06:59:58.910 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] ["take time"=3.831688ms] [2025/04/05 06:59:58.910 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.910 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 06:59:58.910 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ad861fda-7bad-441b-8951-ac6f47fa3097] [2025/04/05 06:59:58.910 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ttl-worker=task-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [originalCount=4] [newCount=0] [2025/04/05 06:59:58.910 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:58.910 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:58.910 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:58.910 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 06:59:58.911 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [ttl-worker=task-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [originalCount=4] [newCount=0] [2025/04/05 06:59:58.913 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:58.913 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:58.913 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:58.913 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 06:59:58.916 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.916 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=602] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 06:59:58.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 06:59:58.917 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 06:59:58.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.917 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [2025/04/05 06:59:58.917 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 06:59:58.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [2025/04/05 06:59:58.917 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 06:59:58.917 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 06:59:58.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 06:59:58.918 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [2025/04/05 06:59:58.918 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 06:59:58.918 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 06:59:58.919 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 06:59:58.919 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 06:59:58.919 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 06:59:58.920 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 06:59:58.920 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 06:59:58.920 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=67012bd0-c5b7-4f03-93c9-d389f6ce4379] [daemon-id=LogBackup::Advancer] [2025/04/05 06:59:58.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 06:59:58.920 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 06:59:58.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 06:59:58.920 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 06:59:58.920 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 06:59:58.921 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [error="context canceled"] [2025/04/05 06:59:58.921 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [2025/04/05 06:59:58.921 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [error="context canceled"] [2025/04/05 06:59:58.921 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=ab9e46d4-6572-43ba-a42e-abfde85d8b6b] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 06:59:58.939 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 06:59:58.939 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 06:59:58.982 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 06:59:58.982 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 06:59:58.994 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.696153ms] [2025/04/05 06:59:59.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/05 07:00:03.905 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136248820334596 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:03.905 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136248820334596 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:03.905 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136248820334596 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:03.906 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:03.906 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:03.906 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:03.906 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:03.906 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:03.906 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:03.906 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:03.906 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:03.906 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:03.906 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:03.906 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:03.906 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:03.907 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.20s) === NAME === RUN TestReplaceRowCheck [2025/04/05 07:00:03.915 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:03.916 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:03.917 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:03.917 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:03.917 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:03.918 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:03.918 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:03.918 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:03.918 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:03.918 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:03.918 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:03.922 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:03.928 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:03.929 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:03.929 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:03.939 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:03.949 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:03.985 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=126] ["lease id"=6f189604bcf9548a] [2025/04/05 07:00:03.986 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:04.075 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=194] ["elapsed time"=85.717449ms] [2025/04/05 07:00:04.075 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:04.077 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:04.088 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=33f00323-9e09-45f2-a9e9-d3802cbf9245] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:04.088 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:04.089 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.090 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:04.091 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183049728/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:04.091 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:04.091 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:04.091 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [2025/04/05 07:00:04.093 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf955ee] [ownerID=33f00323-9e09-45f2-a9e9-d3802cbf9245] [op=none] [2025/04/05 07:00:04.093 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.093 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ownerKey=/tidb/ddl/fg/owner/22319604bcf955ee] [currRev=921] [2025/04/05 07:00:04.094 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:04.094 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=75bd1476-8bda-41dd-b220-393154a41a64] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:04.094 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:04.095 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf953e9] [ownerID=75bd1476-8bda-41dd-b220-393154a41a64] [op=none] [2025/04/05 07:00:04.095 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [2025/04/05 07:00:04.095 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf953e9] [currRev=922] [2025/04/05 07:00:04.095 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf955ee] [ownerID=33f00323-9e09-45f2-a9e9-d3802cbf9245] [op=none] [2025/04/05 07:00:04.095 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [op=none] [2025/04/05 07:00:04.095 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:04.103 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:04.104 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:04.105 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:04.105 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.106 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:04.106 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:04.116 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:04.123 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:04.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:04.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:04.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:04.128 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:04.128 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:04.128 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:04.128 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:04.128 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:04.128 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:04.129 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:04.129 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:04.130 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:04.130 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:04.131 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:04.131 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:04.131 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:04.132 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf95495] [ownerID=33f00323-9e09-45f2-a9e9-d3802cbf9245] [op=none] [2025/04/05 07:00:04.132 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.133 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ownerKey=/tidb/stats/owner/6f189604bcf95495] [currRev=924] [2025/04/05 07:00:04.133 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:04.135 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/06ef1790-0d07-4ce7-9e61-07a90bbc2de6] [2025/04/05 07:00:04.135 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ttl-worker=task-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [originalCount=0] [newCount=4] [2025/04/05 07:00:04.136 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ttl-worker=task-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [originalCount=0] [newCount=4] [2025/04/05 07:00:04.136 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.136 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:04.136 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:04.136 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:04.136 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836404137207541 [2025/04/05 07:00:04.141 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:04.150 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.094151ms] [2025/04/05 07:00:04.150 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:04.150 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:04.152 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:04.155 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:00:04.156 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=194] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 07:00:04.169 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 07:00:04.169 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.175 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=194] [neededSchemaVersion=195] ["elapsed time"=1.826134ms] [gotSchemaVersion=195] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=195] [2025/04/05 07:00:04.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=195] ["take time"=9.358836ms] [job="ID:240, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.206 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.221 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=195] [neededSchemaVersion=196] ["elapsed time"=2.083728ms] [gotSchemaVersion=196] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.225 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=196] [2025/04/05 07:00:04.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=196] ["take time"=9.56866ms] [job="ID:240, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.235 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.241 +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/05 07:00:04.255 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=196] [neededSchemaVersion=197] ["elapsed time"=1.032227ms] [gotSchemaVersion=197] [phyTblIDs="[236]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.258 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=240] [version=197] [2025/04/05 07:00:04.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=197] ["take time"=7.802911ms] [job="ID:240, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:236, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.269 +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/05 07:00:04.277 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=240] [jobType="drop table"] [2025/04/05 07:00:04.278 +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-05 07:00:04.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.297 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=240] [2025/04/05 07:00:04.308 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.308 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 07:00:04.314 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.329 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=197] [neededSchemaVersion=198] ["elapsed time"=1.87499ms] [gotSchemaVersion=198] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.333 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=198] [2025/04/05 07:00:04.334 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=198] ["take time"=8.951442ms] [job="ID:241, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.344 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.365 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=198] [neededSchemaVersion=199] ["elapsed time"=5.678419ms] [gotSchemaVersion=199] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.369 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=199] [2025/04/05 07:00:04.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=199] ["take time"=13.893978ms] [job="ID:241, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.381 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.387 +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/05 07:00:04.400 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=199] [neededSchemaVersion=200] ["elapsed time"=1.117039ms] [gotSchemaVersion=200] [phyTblIDs="[238]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:04.404 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=241] [version=200] [2025/04/05 07:00:04.406 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=200] ["take time"=8.55828ms] [job="ID:241, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:238, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.415 +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/05 07:00:04.419 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=241] [jobType="drop table"] [2025/04/05 07:00:04.420 +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-05 07:00:04.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.438 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=241] [2025/04/05 07:00:04.438 +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: 1743836404439064623 [2025/04/05 07:00:04.442 +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/05 07:00:04.456 +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-05 07:00:04.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.456 +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-05 07:00:04.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/05 07:00:04.462 +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-05 07:00:04.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.466 +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/05 07:00:04.480 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=200] [neededSchemaVersion=201] ["elapsed time"=1.442411ms] [gotSchemaVersion=201] [phyTblIDs="[242]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:04.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=243] [version=201] [2025/04/05 07:00:04.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=201] ["take time"=8.552982ms] [job="ID:243, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.496 +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-05 07:00:04.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.507 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=243] [2025/04/05 07:00:04.507 +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/05 07:00:04.521 +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-05 07:00:04.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 07:00:04.521 +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-05 07:00:04.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.527 +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-05 07:00:04.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.531 +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/05 07:00:04.545 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=201] [neededSchemaVersion=202] ["elapsed time"=1.36132ms] [gotSchemaVersion=202] [phyTblIDs="[244]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:04.549 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=245] [version=202] [2025/04/05 07:00:04.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=202] ["take time"=8.664323ms] [job="ID:245, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.563 +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-05 07:00:04.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.576 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=245] [2025/04/05 07:00:04.576 +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/05 07:00:04.588 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136250432520208] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.046896ms] [2025/04/05 07:00:04.589 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.149976ms] [total_duration=4.2245ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457136250432520208] [2025/04/05 07:00:04.590 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136250432520208] [commitTS=457136250432520209] [2025/04/05 07:00:04.590 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136250432520208] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] [concurrency=8] [2025/04/05 07:00:04.595 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136250432520208] [startKey=7480000000000000f45f728000000000000001] [endKey=7480000000000000f45f728000000000000002] ["cost time"=4.723014ms] ["completed regions"=1] [2025/04/05 07:00:04.595 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136250432520208] [commitTS=457136250432520209] [session=31] [2025/04/05 07:00:04.607 +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-05 07:00:04.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:00:04.607 +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-05 07:00:04.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.613 +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-05 07:00:04.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.621 +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/05 07:00:04.635 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=202] [neededSchemaVersion=203] ["elapsed time"=1.467575ms] [gotSchemaVersion=203] [phyTblIDs="[244,246]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:04.638 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=247] [version=203] [2025/04/05 07:00:04.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=203] ["take time"=8.738791ms] [job="ID:247, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:244, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.653 +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/05 07:00:04.658 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=247] [jobType="truncate table"] [2025/04/05 07:00:04.659 +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-05 07:00:04.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.677 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=247] [2025/04/05 07:00:04.677 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=203] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:00:04.682 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136250458734605] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=956.625µs] [2025/04/05 07:00:04.683 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.047136ms] [total_duration=3.793202ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457136250458734605] [2025/04/05 07:00:04.684 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136250458734605] [commitTS=457136250458734606] [2025/04/05 07:00:04.684 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136250458734605] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] [concurrency=8] [2025/04/05 07:00:04.686 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136250458734605] [startKey=7480000000000000f65f728000000000000001] [endKey=7480000000000000f65f728000000000000002] ["cost time"=2.259387ms] ["completed regions"=1] [2025/04/05 07:00:04.686 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136250458734605] [commitTS=457136250458734606] [session=31] [2025/04/05 07:00:04.699 +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-05 07:00:04.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:04.699 +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-05 07:00:04.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:00:04.705 +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-05 07:00:04.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.712 +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/05 07:00:04.727 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=203] [neededSchemaVersion=204] ["elapsed time"=1.547691ms] [gotSchemaVersion=204] [phyTblIDs="[246,248]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:00:04.730 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=249] [version=204] [2025/04/05 07:00:04.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=204] ["take time"=8.536628ms] [job="ID:249, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:246, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:04.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.745 +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/05 07:00:04.750 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=249] [jobType="truncate table"] [2025/04/05 07:00:04.751 +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-05 07:00:04.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:04.771 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=249] [2025/04/05 07:00:04.772 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=204] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:00:04.778 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136250485211147] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.319742ms] [2025/04/05 07:00:04.778 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.433448ms] [total_duration=4.675216ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457136250485211147] [2025/04/05 07:00:04.780 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136250485211147] [commitTS=457136250485211148] [2025/04/05 07:00:04.780 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136250485211147] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] [concurrency=8] [2025/04/05 07:00:04.782 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136250485211147] [startKey=7480000000000000f85f728000000000000001] [endKey=7480000000000000f85f728000000000000002] ["cost time"=2.414879ms] ["completed regions"=1] [2025/04/05 07:00:04.782 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136250485211147] [commitTS=457136250485211148] [session=31] [2025/04/05 07:00:04.784 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:04.784 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [] [2025/04/05 07:00:04.784 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.784 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:04.784 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:04.784 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=66.064µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=31.687µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=36.593µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=39.339µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=37.667µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=31.901µs] [2025/04/05 07:00:04.785 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.785 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.786 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:04.786 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:04.788 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=33f00323-9e09-45f2-a9e9-d3802cbf9245] ["take time"=4.263455ms] [2025/04/05 07:00:04.788 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.789 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:04.789 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/06ef1790-0d07-4ce7-9e61-07a90bbc2de6] [2025/04/05 07:00:04.789 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ttl-worker=task-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [originalCount=4] [newCount=0] [2025/04/05 07:00:04.789 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:04.789 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:04.789 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:04.789 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:04.789 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [ttl-worker=task-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [originalCount=4] [newCount=0] [2025/04/05 07:00:04.791 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:04.792 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:04.792 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:04.792 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:04.794 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.794 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=126] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.796 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:04.796 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:04.795 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:04.795 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=75bd1476-8bda-41dd-b220-393154a41a64] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:04.795 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:04.795 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:04.795 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [] [2025/04/05 07:00:04.796 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.796 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.798 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:04.798 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=75bd1476-8bda-41dd-b220-393154a41a64] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:04.798 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:04.798 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:04.798 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:04.798 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:04.798 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:04.798 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:04.798 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:04.798 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:04.798 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:04.799 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [error="context canceled"] [2025/04/05 07:00:04.799 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [2025/04/05 07:00:04.799 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [error="context canceled"] [2025/04/05 07:00:04.799 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=33f00323-9e09-45f2-a9e9-d3802cbf9245] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:04.819 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:04.819 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:04.860 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:04.860 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:04.872 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.002594ms] [2025/04/05 07:00:05.923 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:09.596 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136250432520208 commit_ts:457136250432520209 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:09.596 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136250432520208 commit_ts:457136250432520209 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:09.596 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136250432520208 commit_ts:457136250432520209 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:09.687 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136250458734605 commit_ts:457136250458734606 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:09.687 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136250458734605 commit_ts:457136250458734606 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:09.687 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136250458734605 commit_ts:457136250458734606 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:09.783 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136250485211147 commit_ts:457136250485211148 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:09.783 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136250485211147 commit_ts:457136250485211148 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:09.783 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136250485211147 commit_ts:457136250485211148 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:09.783 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:09.783 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:09.784 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:09.784 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:09.784 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:09.784 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:09.784 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:09.784 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:09.784 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:09.784 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:09.784 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:09.784 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:09.785 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.88s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/05 07:00:09.793 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:09.794 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:09.795 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:09.795 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:09.795 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:09.796 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:09.796 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:09.796 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:09.796 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:09.796 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:09.796 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:09.803 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:09.809 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:09.809 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:09.810 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:09.821 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:09.831 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:09.866 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=592] ["lease id"=3eaa9604bcf95412] [2025/04/05 07:00:09.868 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:09.958 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=204] ["elapsed time"=87.194073ms] [2025/04/05 07:00:09.958 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:09.960 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:09.971 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=dee0488c-79f6-4541-a703-78ffb1bf39e0] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:09.971 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:09.973 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:09.974 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:09.974 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183074304/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:09.974 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:09.974 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:09.974 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [2025/04/05 07:00:09.976 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95417] [ownerID=dee0488c-79f6-4541-a703-78ffb1bf39e0] [op=none] [2025/04/05 07:00:09.976 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:09.976 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95417] [currRev=968] [2025/04/05 07:00:09.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:09.977 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:09.978 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:09.978 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf9561b] [ownerID=989d7459-6faf-4eeb-90b6-be36d0b69648] [op=none] [2025/04/05 07:00:09.978 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [2025/04/05 07:00:09.978 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [ownerKey=/tidb/br-stream/owner/22319604bcf9561b] [currRev=969] [2025/04/05 07:00:09.979 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95417] [ownerID=dee0488c-79f6-4541-a703-78ffb1bf39e0] [op=none] [2025/04/05 07:00:09.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=dee0488c-79f6-4541-a703-78ffb1bf39e0] [op=none] [2025/04/05 07:00:09.979 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:09.986 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:09.987 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:09.988 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:09.988 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:09.989 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:09.989 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:09.998 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:10.005 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:10.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:10.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:10.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:10.010 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:10.010 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:10.010 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:10.010 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:10.010 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:10.011 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:10.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:10.012 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:10.013 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:10.013 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:10.013 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:10.014 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:10.015 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:10.015 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf9541f] [ownerID=dee0488c-79f6-4541-a703-78ffb1bf39e0] [op=none] [2025/04/05 07:00:10.015 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.016 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ownerKey=/tidb/stats/owner/3eaa9604bcf9541f] [currRev=971] [2025/04/05 07:00:10.018 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/07ea7e9e-db4f-4882-9995-2aa6780c1f53] [2025/04/05 07:00:10.018 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ttl-worker=task-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [originalCount=0] [newCount=4] [2025/04/05 07:00:10.019 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ttl-worker=task-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [originalCount=0] [newCount=4] [2025/04/05 07:00:10.019 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.019 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:10.019 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:10.019 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:10.019 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836410019695054 [2025/04/05 07:00:10.024 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:10.031 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.453424ms] [2025/04/05 07:00:10.032 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:10.032 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:10.034 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:10.037 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 07:00:10.039 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=204] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:00:10.052 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.052 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:00:10.058 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.075 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=204] [neededSchemaVersion=205] ["elapsed time"=1.915589ms] [gotSchemaVersion=205] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.079 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=205] [2025/04/05 07:00:10.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=205] ["take time"=9.981604ms] [job="ID:250, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.091 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=205] [neededSchemaVersion=206] ["elapsed time"=1.982991ms] [gotSchemaVersion=206] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.110 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=206] [2025/04/05 07:00:10.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=206] ["take time"=8.719634ms] [job="ID:250, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.120 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.126 +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/05 07:00:10.139 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=206] [neededSchemaVersion=207] ["elapsed time"=1.176301ms] [gotSchemaVersion=207] [phyTblIDs="[248]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.143 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=250] [version=207] [2025/04/05 07:00:10.144 +00:00] [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.134614ms] [job="ID:250, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:248, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.154 +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/05 07:00:10.162 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=250] [jobType="drop table"] [2025/04/05 07:00:10.163 +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-05 07:00:10.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.182 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=250] [2025/04/05 07:00:10.192 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.192 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:00:10.198 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.214 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=207] [neededSchemaVersion=208] ["elapsed time"=1.806334ms] [gotSchemaVersion=208] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.217 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=208] [2025/04/05 07:00:10.219 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=208] ["take time"=8.525095ms] [job="ID:251, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.229 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.245 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=208] [neededSchemaVersion=209] ["elapsed time"=1.869717ms] [gotSchemaVersion=209] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.248 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=209] [2025/04/05 07:00:10.250 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=209] ["take time"=9.022101ms] [job="ID:251, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.258 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.264 +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/05 07:00:10.277 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=209] [neededSchemaVersion=210] ["elapsed time"=1.119323ms] [gotSchemaVersion=210] [phyTblIDs="[242]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:10.281 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=251] [version=210] [2025/04/05 07:00:10.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=210] ["take time"=8.543116ms] [job="ID:251, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:242, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.292 +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/05 07:00:10.297 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=251] [jobType="drop table"] [2025/04/05 07:00:10.298 +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-05 07:00:10.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.315 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=251] [2025/04/05 07:00:10.316 +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: 1743836410316439169 [2025/04/05 07:00:10.320 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=210] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:00:10.334 +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-05 07:00:10.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:10.334 +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-05 07:00:10.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 07:00:10.340 +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-05 07:00:10.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.344 +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/05 07:00:10.359 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=210] [neededSchemaVersion=211] ["elapsed time"=1.471738ms] [gotSchemaVersion=211] [phyTblIDs="[252]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:10.362 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=253] [version=211] [2025/04/05 07:00:10.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=211] ["take time"=8.524078ms] [job="ID:253, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:10.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.375 +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-05 07:00:10.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:10.386 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=253] [2025/04/05 07:00:10.387 +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/05 07:00:10.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136251953217549] [2025/04/05 07:00:10.395 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136251966062593] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=726.615µs] [2025/04/05 07:00:10.396 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136251966062593] [startKey=7480000000000000fc5f728000000000000001] [endKey=7480000000000000fc5f728000000000000001] [2025/04/05 07:00:10.396 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136251966062593] [commitTS=0] [session=33] [2025/04/05 07:00:10.396 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:10.396 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [] [2025/04/05 07:00:10.396 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:10.396 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.396 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:10.396 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:10.396 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=57.118µs] [2025/04/05 07:00:10.396 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=38.414µs] [2025/04/05 07:00:10.396 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=39.847µs] [2025/04/05 07:00:10.396 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.397 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.397 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:10.397 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:10.399 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=dee0488c-79f6-4541-a703-78ffb1bf39e0] ["take time"=2.845413ms] [2025/04/05 07:00:10.399 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.399 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:10.399 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/07ea7e9e-db4f-4882-9995-2aa6780c1f53] [2025/04/05 07:00:10.399 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ttl-worker=task-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [originalCount=4] [newCount=0] [2025/04/05 07:00:10.399 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:10.399 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:10.399 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:10.399 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:10.399 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [ttl-worker=task-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [originalCount=4] [newCount=0] [2025/04/05 07:00:10.401 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:10.402 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:10.402 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:10.402 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:10.404 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.404 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=592] [2025/04/05 07:00:10.405 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:10.405 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:10.405 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:10.405 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:10.405 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:10.405 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:10.406 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:10.405 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.406 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [2025/04/05 07:00:10.406 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:10.406 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:10.406 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [] [2025/04/05 07:00:10.406 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.406 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.406 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.407 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=989d7459-6faf-4eeb-90b6-be36d0b69648] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:10.407 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:10.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:10.407 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:10.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:10.407 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:10.407 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:10.407 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:10.407 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [error="context canceled"] [2025/04/05 07:00:10.407 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:10.408 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:10.408 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:10.408 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [error="context canceled"] [2025/04/05 07:00:10.408 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [2025/04/05 07:00:10.409 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [error="context canceled"] [2025/04/05 07:00:10.409 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=dee0488c-79f6-4541-a703-78ffb1bf39e0] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:10.425 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:10.425 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:10.472 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:10.472 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:10.484 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.409498ms] [2025/04/05 07:00:11.804 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:15.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136251966062593 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:15.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136251966062593 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:15.397 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136251966062593 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:15.397 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:15.397 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:15.397 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:15.397 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:15.397 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:15.397 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:15.397 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:15.397 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:15.397 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:15.397 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:15.397 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.397 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:15.398 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.61s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/05 07:00:15.406 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:15.407 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:15.408 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:15.408 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:15.408 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:15.409 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:15.409 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:15.409 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:15.409 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:15.409 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:15.410 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:15.413 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:15.419 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:15.419 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:15.420 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:15.430 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:15.439 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:15.475 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1381] ["lease id"=22319604bcf9563f] [2025/04/05 07:00:15.477 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:15.566 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=211] ["elapsed time"=86.493717ms] [2025/04/05 07:00:15.567 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:15.569 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:15.579 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7cde0362-2a7b-4b10-b48f-5815fea8a928] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:15.579 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:15.581 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.582 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:15.582 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183094784/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:15.583 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:15.583 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:15.583 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [2025/04/05 07:00:15.585 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95644] [ownerID=7cde0362-2a7b-4b10-b48f-5815fea8a928] [op=none] [2025/04/05 07:00:15.585 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.585 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95644] [currRev=1006] [2025/04/05 07:00:15.585 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:15.585 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:15.586 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf95501] [ownerID=d91b41f1-541e-45d1-b61f-e264f4b31450] [op=none] [2025/04/05 07:00:15.586 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [2025/04/05 07:00:15.586 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:15.586 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [ownerKey=/tidb/br-stream/owner/6f189604bcf95501] [currRev=1007] [2025/04/05 07:00:15.587 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95644] [ownerID=7cde0362-2a7b-4b10-b48f-5815fea8a928] [op=none] [2025/04/05 07:00:15.587 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [op=none] [2025/04/05 07:00:15.587 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:15.594 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.595 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.595 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.596 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.597 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:15.597 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:15.606 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:15.614 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:15.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:15.620 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:15.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:15.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:15.620 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:15.620 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:15.620 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:15.620 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:15.620 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:15.622 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:15.622 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:15.623 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:15.624 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:15.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:15.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:15.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:15.624 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:15.626 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:15.626 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf9564c] [ownerID=7cde0362-2a7b-4b10-b48f-5815fea8a928] [op=none] [2025/04/05 07:00:15.626 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.626 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ownerKey=/tidb/stats/owner/22319604bcf9564c] [currRev=1009] [2025/04/05 07:00:15.628 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d255e5d3-003c-4954-8802-4bc969b49519] [2025/04/05 07:00:15.628 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ttl-worker=task-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [originalCount=0] [newCount=4] [2025/04/05 07:00:15.628 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ttl-worker=task-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [originalCount=0] [newCount=4] [2025/04/05 07:00:15.628 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.629 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:15.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:15.629 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:15.629 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836415630070841 [2025/04/05 07:00:15.634 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:15.643 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.398011ms] [2025/04/05 07:00:15.643 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:15.644 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:15.644 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:15.647 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=211] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:00:15.661 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:15.661 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 07:00:15.666 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.682 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=211] [neededSchemaVersion=212] ["elapsed time"=1.936183ms] [gotSchemaVersion=212] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:15.686 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=212] [2025/04/05 07:00:15.688 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=212] ["take time"=9.585206ms] [job="ID:254, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.699 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.715 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=212] [neededSchemaVersion=213] ["elapsed time"=2.053182ms] [gotSchemaVersion=213] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:15.720 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=213] [2025/04/05 07:00:15.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=213] ["take time"=10.459455ms] [job="ID:254, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.732 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.738 +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/05 07:00:15.755 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=213] [neededSchemaVersion=214] ["elapsed time"=1.175897ms] [gotSchemaVersion=214] [phyTblIDs="[252]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:15.759 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=254] [version=214] [2025/04/05 07:00:15.761 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=214] ["take time"=9.142475ms] [job="ID:254, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:252, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.771 +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/05 07:00:15.779 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=254] [jobType="drop table"] [2025/04/05 07:00:15.780 +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-05 07:00:15.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.801 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=254] [2025/04/05 07:00:15.801 +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: 1743836415801783823 [2025/04/05 07:00:15.821 +00:00] [INFO] [set.go:172] ["set global var"] [conn=35] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:00:15.824 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=214] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:00:15.839 +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-05 07:00:15.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:15.839 +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-05 07:00:15.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/05 07:00:15.843 +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-05 07:00:15.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.848 +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/05 07:00:15.864 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=214] [neededSchemaVersion=215] ["elapsed time"=1.643643ms] [gotSchemaVersion=215] [phyTblIDs="[255]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:15.868 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=256] [version=215] [2025/04/05 07:00:15.869 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=215] ["take time"=8.875486ms] [job="ID:256, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:15.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.881 +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-05 07:00:15.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:15.893 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=256] [2025/04/05 07:00:15.893 +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/05 07:00:15.899 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136253407854593] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.150827ms] [2025/04/05 07:00:15.899 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.273948ms] [total_duration=4.907034ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457136253407854593] [2025/04/05 07:00:15.901 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136253407854593] [commitTS=457136253407854597] [2025/04/05 07:00:15.901 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136253407854593] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] [concurrency=8] [2025/04/05 07:00:15.905 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136253407854593] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000002] ["cost time"=4.152943ms] ["completed regions"=1] [2025/04/05 07:00:15.905 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136253407854593] [commitTS=457136253407854597] [session=35] [2025/04/05 07:00:15.909 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136253407854598] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=835.421µs] [2025/04/05 07:00:15.909 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=950.724µs] [total_duration=6.461405ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457136253407854598] [2025/04/05 07:00:15.910 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136253407854598] [commitTS=457136253407854599] [2025/04/05 07:00:15.910 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136253407854598] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] [concurrency=8] [2025/04/05 07:00:15.912 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136253407854598] [startKey=7480000000000000ff5f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000000ff5f728000000000000001] ["cost time"=2.008062ms] ["completed regions"=1] [2025/04/05 07:00:15.912 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136253407854598] [commitTS=457136253407854599] [session=35] [2025/04/05 07:00:15.913 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [] [2025/04/05 07:00:15.913 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:15.913 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:15.913 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:15.913 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:15.913 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=52.59µs] [2025/04/05 07:00:15.914 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=38.444µs] [2025/04/05 07:00:15.914 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.914 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.915 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:15.915 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:15.916 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7cde0362-2a7b-4b10-b48f-5815fea8a928] ["take time"=2.554066ms] [2025/04/05 07:00:15.916 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.916 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:15.916 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d255e5d3-003c-4954-8802-4bc969b49519] [2025/04/05 07:00:15.916 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ttl-worker=task-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [originalCount=4] [newCount=0] [2025/04/05 07:00:15.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:15.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:15.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:15.916 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:15.916 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [ttl-worker=task-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [originalCount=4] [newCount=0] [2025/04/05 07:00:15.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:15.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:15.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:15.919 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:15.921 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.921 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1381] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:15.922 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:15.922 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:15.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:15.922 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:15.923 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:15.922 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:15.923 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:15.923 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.923 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.924 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=d91b41f1-541e-45d1-b61f-e264f4b31450] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:15.924 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:15.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:15.924 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:15.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:15.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:15.924 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:15.924 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [error="context canceled"] [2025/04/05 07:00:15.924 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:15.924 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:15.924 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:15.924 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:15.925 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [error="context canceled"] [2025/04/05 07:00:15.925 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [2025/04/05 07:00:15.925 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [error="context canceled"] [2025/04/05 07:00:15.925 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=7cde0362-2a7b-4b10-b48f-5815fea8a928] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:15.941 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:15.941 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:15.987 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:15.987 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:15.998 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.969827ms] [2025/04/05 07:00:17.414 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:20.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136253407854593 commit_ts:457136253407854597 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:20.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136253407854593 commit_ts:457136253407854597 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:20.906 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136253407854593 commit_ts:457136253407854597 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136253407854598 commit_ts:457136253407854599 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136253407854598 commit_ts:457136253407854599 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136253407854598 commit_ts:457136253407854599 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:20.913 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:20.913 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:20.913 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:20.913 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:20.914 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:20.914 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:20.914 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:20.914 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:20.914 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:20.914 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:20.915 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.52s) === NAME === RUN TestConflictError [2025/04/05 07:00:20.924 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:20.925 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:20.925 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:20.926 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:20.926 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:20.926 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:20.926 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:20.926 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:20.926 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:20.927 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:20.927 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:20.931 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:20.936 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:20.937 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:20.938 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:20.948 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:20.959 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:20.993 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1658] ["lease id"=3eaa9604bcf95462] [2025/04/05 07:00:20.995 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:21.085 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=215] ["elapsed time"=87.082517ms] [2025/04/05 07:00:21.085 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:21.088 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:21.098 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=30cef3e2-54a3-4a88-b111-f8b030c75641] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:21.099 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:21.100 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.102 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:21.102 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183102976/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:21.102 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:21.102 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [2025/04/05 07:00:21.104 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95467] [ownerID=30cef3e2-54a3-4a88-b111-f8b030c75641] [op=none] [2025/04/05 07:00:21.104 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.104 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95467] [currRev=1037] [2025/04/05 07:00:21.105 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:21.105 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:21.106 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:21.106 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf9566c] [ownerID=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [op=none] [2025/04/05 07:00:21.106 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [2025/04/05 07:00:21.106 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [ownerKey=/tidb/br-stream/owner/22319604bcf9566c] [currRev=1038] [2025/04/05 07:00:21.106 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95467] [ownerID=30cef3e2-54a3-4a88-b111-f8b030c75641] [op=none] [2025/04/05 07:00:21.106 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [op=none] [2025/04/05 07:00:21.106 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:21.112 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:21.113 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:21.114 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:21.114 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.115 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:21.115 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:21.124 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:21.132 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:21.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:21.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:21.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:21.137 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:21.137 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:21.137 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:21.137 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:21.137 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:21.137 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:21.138 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:21.138 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.139 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:21.140 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:21.140 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:21.142 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:21.142 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf9546f] [ownerID=30cef3e2-54a3-4a88-b111-f8b030c75641] [op=none] [2025/04/05 07:00:21.142 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.142 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [ownerKey=/tidb/stats/owner/3eaa9604bcf9546f] [currRev=1040] [2025/04/05 07:00:21.144 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/e310e7b2-4097-4925-a53e-ea5e9b50629f] [2025/04/05 07:00:21.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [ttl-worker=task-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [originalCount=0] [newCount=4] [2025/04/05 07:00:21.144 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [ttl-worker=task-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [originalCount=0] [newCount=4] [2025/04/05 07:00:21.145 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.145 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:21.145 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:21.145 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836421145830476 [2025/04/05 07:00:21.145 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:21.151 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:21.159 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:00:21.159 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.894724ms] [2025/04/05 07:00:21.160 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:21.160 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:21.180 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:21.183 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=215] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:00:21.196 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 07:00:21.196 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:21.202 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.219 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=215] [neededSchemaVersion=216] ["elapsed time"=2.280272ms] [gotSchemaVersion=216] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:21.223 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=216] [2025/04/05 07:00:21.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=216] ["take time"=9.581397ms] [job="ID:257, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.234 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.251 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=216] [neededSchemaVersion=217] ["elapsed time"=2.263532ms] [gotSchemaVersion=217] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:21.254 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=217] [2025/04/05 07:00:21.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=217] ["take time"=9.538461ms] [job="ID:257, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.265 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.272 +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/05 07:00:21.285 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=217] [neededSchemaVersion=218] ["elapsed time"=1.133801ms] [gotSchemaVersion=218] [phyTblIDs="[255]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:21.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=257] [version=218] [2025/04/05 07:00:21.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=218] ["take time"=8.496652ms] [job="ID:257, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:255, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.300 +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/05 07:00:21.308 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=257] [jobType="drop table"] [2025/04/05 07:00:21.309 +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-05 07:00:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.328 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=257] [2025/04/05 07:00:21.329 +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: 1743836421329502236 [2025/04/05 07:00:21.333 +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/05 07:00:21.346 +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-05 07:00:21.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:21.346 +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-05 07:00:21.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 07:00:21.352 +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-05 07:00:21.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.357 +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/05 07:00:21.371 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=218] [neededSchemaVersion=219] ["elapsed time"=1.49188ms] [gotSchemaVersion=219] [phyTblIDs="[258]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:21.375 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=259] [version=219] [2025/04/05 07:00:21.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=219] ["take time"=8.521202ms] [job="ID:259, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:21.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.387 +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-05 07:00:21.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.399 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=259] [2025/04/05 07:00:21.399 +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/05 07:00:21.413 +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-05 07:00:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:21.413 +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-05 07:00:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 07:00:21.419 +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-05 07:00:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.423 +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/05 07:00:21.437 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=219] [neededSchemaVersion=220] ["elapsed time"=1.531701ms] [gotSchemaVersion=220] [phyTblIDs="[260]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:21.441 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=261] [version=220] [2025/04/05 07:00:21.443 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=220] ["take time"=8.99576ms] [job="ID:261, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.454 +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-05 07:00:21.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:21.466 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=261] [2025/04/05 07:00:21.467 +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/05 07:00:21.486 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136254863015948] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.615296ms] [2025/04/05 07:00:21.486 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136254863015948] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=27.917µs] [2025/04/05 07:00:21.486 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.65736ms] [total_duration=7.049909ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136254863015948] [2025/04/05 07:00:21.487 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136254863015948] [commitTS=457136254863015949] [2025/04/05 07:00:21.487 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136254863015948] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/05 07:00:21.493 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136254863015948] [startKey=7480000000000001045f728000000000000000] [endKey=7480000000000001045f728000000000000063] ["cost time"=5.535961ms] ["completed regions"=1] [2025/04/05 07:00:21.493 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136254863015948] [commitTS=457136254863015949] [session=37] [2025/04/05 07:00:21.495 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136254863015950] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=718.581µs] [2025/04/05 07:00:21.495 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:00:21.496 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136254863015950] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f728000000000000063] [concurrency=8] [2025/04/05 07:00:21.496 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:21.496 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [] [2025/04/05 07:00:21.496 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.496 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:21.496 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:21.496 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:21.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=83.802µs] [2025/04/05 07:00:21.496 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=48.499µs] [2025/04/05 07:00:21.497 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=31.978µs] [2025/04/05 07:00:21.497 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.497 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.498 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:21.498 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:21.498 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136254863015950] [startKey=7480000000000001045f728000000000000001] [endKey=7480000000000001045f728000000000000063] ["cost time"=1.821171ms] ["completed regions"=1] [2025/04/05 07:00:21.498 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136254863015950] [commitTS=0] [session=37] [2025/04/05 07:00:21.499 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=30cef3e2-54a3-4a88-b111-f8b030c75641] ["take time"=2.920756ms] [2025/04/05 07:00:21.499 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.499 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:21.499 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/e310e7b2-4097-4925-a53e-ea5e9b50629f] [2025/04/05 07:00:21.499 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [ttl-worker=task-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [originalCount=4] [newCount=0] [2025/04/05 07:00:21.499 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:21.499 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:21.499 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:21.499 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:21.499 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [ttl-worker=task-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [originalCount=4] [newCount=0] [2025/04/05 07:00:21.501 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:21.502 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:21.502 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:21.502 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:21.504 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.504 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1658] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:21.506 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:21.506 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:21.505 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:21.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:21.506 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:21.506 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:21.505 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.506 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:21.505 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:21.506 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.506 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:21.506 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:21.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:21.507 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.507 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:21.507 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2b1a84d0-4668-493d-a257-afd4da2c6a8f] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:21.507 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:21.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:21.507 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:21.507 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:21.508 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:21.508 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:21.508 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [error="context canceled"] [2025/04/05 07:00:21.508 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:21.508 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:21.508 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:21.508 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [error="context canceled"] [2025/04/05 07:00:21.509 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [2025/04/05 07:00:21.525 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:21.525 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:21.568 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=30cef3e2-54a3-4a88-b111-f8b030c75641] [error="context canceled"] [2025/04/05 07:00:21.568 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:21.568 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:21.578 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.007743ms] [2025/04/05 07:00:22.932 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:26.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136254863015948 commit_ts:457136254863015949 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:26.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136254863015948 commit_ts:457136254863015949 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:26.494 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136254863015948 commit_ts:457136254863015949 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136254863015950 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136254863015950 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136254863015950 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:26.499 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:26.499 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:26.499 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:26.499 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:26.499 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:26.499 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:26.499 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:26.499 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:26.499 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:26.499 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:26.500 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.58s) === NAME === RUN TestRejectUnsupportedTables [2025/04/05 07:00:26.508 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:26.509 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:26.509 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:26.510 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:26.510 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:26.511 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:26.511 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:26.511 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:26.511 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:26.511 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:26.511 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:26.515 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:26.520 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:26.521 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:26.521 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:26.530 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:26.540 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:26.574 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=789] ["lease id"=6f189604bcf95559] [2025/04/05 07:00:26.575 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:26.663 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=220] ["elapsed time"=85.035088ms] [2025/04/05 07:00:26.663 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:26.666 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:26.675 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:26.675 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:26.677 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.678 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:26.678 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183115264/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:26.678 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:26.678 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:26.679 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:26.679 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:26.679 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [2025/04/05 07:00:26.681 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95694] [ownerID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [op=none] [2025/04/05 07:00:26.681 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.681 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95694] [currRev=1072] [2025/04/05 07:00:26.682 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:26.682 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:26.682 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:26.682 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf9548c] [ownerID=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [op=none] [2025/04/05 07:00:26.682 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [2025/04/05 07:00:26.682 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf9548c] [currRev=1073] [2025/04/05 07:00:26.683 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95694] [ownerID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [op=none] [2025/04/05 07:00:26.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=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [op=none] [2025/04/05 07:00:26.683 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:26.689 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:26.690 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:26.691 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:26.691 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.692 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:26.692 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:26.701 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:26.709 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:26.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:26.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:26.714 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:26.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:26.714 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:26.714 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:26.714 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:26.714 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:26.714 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:26.715 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:26.715 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:26.716 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:26.716 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:26.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:26.718 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf95564] [ownerID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [op=none] [2025/04/05 07:00:26.718 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.718 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ownerKey=/tidb/stats/owner/6f189604bcf95564] [currRev=1075] [2025/04/05 07:00:26.719 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:26.721 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/cc791720-303d-4064-bb5c-cc4aa44a9004] [2025/04/05 07:00:26.721 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ttl-worker=task-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [originalCount=0] [newCount=4] [2025/04/05 07:00:26.722 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ttl-worker=task-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [originalCount=0] [newCount=4] [2025/04/05 07:00:26.722 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:26.722 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:26.722 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:26.722 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743836426722533154 [2025/04/05 07:00:26.722 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 07:00:26.727 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:26.736 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=20.352615ms] [2025/04/05 07:00:26.736 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:26.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:26.737 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:26.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 07:00:26.742 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=220] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:00:26.755 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:26.755 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:00:26.761 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.778 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=220] [neededSchemaVersion=221] ["elapsed time"=1.925726ms] [gotSchemaVersion=221] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.782 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=221] [2025/04/05 07:00:26.783 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=221] ["take time"=9.414349ms] [job="ID:262, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.794 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.810 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=221] [neededSchemaVersion=222] ["elapsed time"=1.837382ms] [gotSchemaVersion=222] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.813 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=222] [2025/04/05 07:00:26.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=222] ["take time"=8.982795ms] [job="ID:262, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.824 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.830 +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/05 07:00:26.843 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=222] [neededSchemaVersion=223] ["elapsed time"=1.035036ms] [gotSchemaVersion=223] [phyTblIDs="[260]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.847 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=262] [version=223] [2025/04/05 07:00:26.849 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=223] ["take time"=8.418069ms] [job="ID:262, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:260, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.858 +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/05 07:00:26.866 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=262] [jobType="drop table"] [2025/04/05 07:00:26.867 +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-05 07:00:26.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.885 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=262] [2025/04/05 07:00:26.896 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:26.896 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:00:26.902 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.917 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=223] [neededSchemaVersion=224] ["elapsed time"=1.835895ms] [gotSchemaVersion=224] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.921 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=224] [2025/04/05 07:00:26.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=224] ["take time"=8.922747ms] [job="ID:263, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.932 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.947 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=224] [neededSchemaVersion=225] ["elapsed time"=1.818162ms] [gotSchemaVersion=225] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.951 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=225] [2025/04/05 07:00:26.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=225] ["take time"=8.56102ms] [job="ID:263, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.961 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.967 +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/05 07:00:26.979 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=225] [neededSchemaVersion=226] ["elapsed time"=1.008776ms] [gotSchemaVersion=226] [phyTblIDs="[258]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:26.983 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=263] [version=226] [2025/04/05 07:00: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=226] ["take time"=7.734556ms] [job="ID:263, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:258, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:26.993 +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/05 07:00:26.997 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=263] [jobType="drop table"] [2025/04/05 07:00:26.999 +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-05 07:00:26.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.016 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=263] [2025/04/05 07:00:27.016 +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: 1743836427016815768 [2025/04/05 07:00:27.020 +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/05 07:00:27.032 +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-05 07:00:26.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/05 07:00:27.032 +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-05 07:00:26.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:27.039 +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-05 07:00:26.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.043 +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/05 07:00:27.056 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=226] [neededSchemaVersion=227] ["elapsed time"=1.399441ms] [gotSchemaVersion=227] [phyTblIDs="[264]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:27.060 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=265] [version=227] [2025/04/05 07:00:27.062 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=227] ["take time"=8.39804ms] [job="ID:265, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:26.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.072 +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-05 07:00:26.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=265] [2025/04/05 07:00:27.083 +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/05 07:00:27.097 +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-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:27.097 +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-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/05 07:00:27.102 +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-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.119 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=227] [neededSchemaVersion=228] ["elapsed time"=1.612104ms] [gotSchemaVersion=228] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:27.122 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=228] [2025/04/05 07:00:27.124 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=228] ["take time"=8.742259ms] [job="ID:267, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.134 +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-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.139 +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/05 07:00:27.154 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=228] [neededSchemaVersion=229] ["elapsed time"=1.665512ms] [gotSchemaVersion=229] [phyTblIDs="[266]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:27.157 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=267] [version=229] [2025/04/05 07:00:27.159 +00:00] [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.839293ms] [job="ID:267, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.169 +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-05 07:00:27.043 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.181 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=267] [2025/04/05 07:00:27.181 +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/05 07:00:27.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136256357236751] [2025/04/05 07:00:27.197 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:00:27.197 +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/05 07:00:27.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136256370343938] [2025/04/05 07:00:27.213 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136256370343941] [2025/04/05 07:00:27.222 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136256370343944] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=874.707µs] [2025/04/05 07:00:27.222 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.004692ms] [total_duration=1.331102ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457136256370343944] [2025/04/05 07:00:27.223 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136256370343944] [commitTS=457136256370343945] [2025/04/05 07:00:27.223 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457136256370343944] [startKey=7480000000000001085f728000000000000004] [endKey=7480000000000001085f728000000000000004] [2025/04/05 07:00:27.223 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457136256370343944] [commitTS=457136256370343945] [session=39] [2025/04/05 07:00:27.227 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136256370343946] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=2.153497ms] [2025/04/05 07:00:27.227 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=2.263342ms] [total_duration=2.675236ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457136256370343946] [2025/04/05 07:00:27.228 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136256370343946] [commitTS=457136256370343947] [2025/04/05 07:00:27.228 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136256370343946] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] [concurrency=8] [2025/04/05 07:00:27.231 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136256370343946] [startKey=74800000000000010a5f698000000000000001038000000000000004038000000000000003] [endKey=74800000000000010a5f728000000000000003] ["cost time"=2.118851ms] ["completed regions"=1] [2025/04/05 07:00:27.231 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136256370343946] [commitTS=457136256370343947] [session=39] [2025/04/05 07:00:27.233 +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/05 07:00:27.247 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:27.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:27.247 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:270, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:27.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/05 07:00:27.253 +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-05 07:00:27.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.258 +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/05 07:00:27.271 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=229] [neededSchemaVersion=230] ["elapsed time"=1.472204ms] [gotSchemaVersion=230] [phyTblIDs="[269]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:27.274 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=270] [version=230] [2025/04/05 07:00:27.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=230] ["take time"=8.676029ms] [job="ID:270, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:27.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.287 +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-05 07:00:27.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.298 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=270] [2025/04/05 07:00:27.298 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=230] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/05 07:00:27.315 +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-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/05 07:00:27.315 +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-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:27.321 +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-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.336 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=230] [neededSchemaVersion=231] ["elapsed time"=1.899362ms] [gotSchemaVersion=231] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 07:00:27.340 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=231] [2025/04/05 07:00:27.341 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=231] ["take time"=9.012166ms] [job="ID:271, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.351 +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-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.366 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=231] [neededSchemaVersion=232] ["elapsed time"=1.501281ms] [gotSchemaVersion=232] [phyTblIDs="[269]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 07:00:27.370 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=271] [version=232] [2025/04/05 07:00:27.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=232] ["take time"=8.843509ms] [job="ID:271, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.381 +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-05 07:00:27.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:27.392 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=271] [2025/04/05 07:00:27.392 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=232] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/05 07:00:27.408 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:27.408 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:27.408 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.408 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:27.408 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 73, tp general"] ["take time"=55.897µs] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 74, tp general"] ["take time"=42.709µs] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 75, tp general"] ["take time"=31.777µs] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 76, tp general"] ["take time"=36.31µs] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 77, tp general"] ["take time"=37.15µs] [2025/04/05 07:00:27.408 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 78, tp general"] ["take time"=28.345µs] [2025/04/05 07:00:27.409 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.409 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.409 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:27.409 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:27.411 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] ["take time"=3.623861ms] [2025/04/05 07:00:27.411 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.411 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:27.411 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/cc791720-303d-4064-bb5c-cc4aa44a9004] [2025/04/05 07:00:27.412 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ttl-worker=task-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [originalCount=4] [newCount=0] [2025/04/05 07:00:27.412 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:27.412 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:27.412 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:27.412 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:27.412 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [ttl-worker=task-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [originalCount=4] [newCount=0] [2025/04/05 07:00:27.414 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:27.414 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:27.414 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:27.415 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:27.417 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.417 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=789] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:27.419 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:27.419 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.419 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.418 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [2025/04/05 07:00:27.419 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:27.420 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8fada3d7-9a12-4efe-9752-b2f19d8b6809] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:27.420 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:27.421 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:27.421 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:27.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:27.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:27.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:27.421 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:27.421 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:27.421 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:27.421 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:27.421 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [error="context canceled"] [2025/04/05 07:00:27.421 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [2025/04/05 07:00:27.422 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [error="context canceled"] [2025/04/05 07:00:27.422 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c671bac0-18e5-49a0-ab2e-0d66ffef6c2f] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:27.439 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:27.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:27.481 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:27.482 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:27.491 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.806834ms] [2025/04/05 07:00:28.515 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:32.224 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136256370343944 commit_ts:457136256370343945 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:32.224 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136256370343944 commit_ts:457136256370343945 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:32.224 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136256370343944 commit_ts:457136256370343945 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:32.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136256370343946 commit_ts:457136256370343947 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:32.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136256370343946 commit_ts:457136256370343947 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:32.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136256370343946 commit_ts:457136256370343947 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:32.231 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:32.231 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:32.231 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:32.231 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:32.231 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:32.231 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:32.231 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:32.232 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:32.231 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:32.232 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:32.232 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:32.232 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:32.233 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestRejectUnsupportedTables (5.73s) === NAME FAIL ================================================================================ ==================== Test output for //tests/realtikvtest/pipelineddmltest:pipelineddmltest_test: === RUN TestVariable [2025/04/05 07:00:34.270 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:34.271 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:34.272 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:34.273 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:34.273 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:34.273 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:34.273 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:34.273 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:34.273 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:34.274 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:34.274 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:34.279 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:34.286 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:34.287 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:34.287 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:34.304 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:34.326 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:34.361 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=867] ["lease id"=6f189604bcf955a3] [2025/04/05 07:00:34.363 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:34.457 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=232] ["elapsed time"=84.77624ms] [2025/04/05 07:00:34.457 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:34.470 +00:00] [INFO] [ddl.go:964] ["change job version in use"] [category=ddl] [old=v1] [new=v2] [2025/04/05 07:00:34.470 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:34.470 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:34.472 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.473 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:34.473 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183139840/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:34.473 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:34.474 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:34.474 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:34.474 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [2025/04/05 07:00:34.475 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf954be] [ownerID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [op=none] [2025/04/05 07:00:34.476 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.476 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf954be] [currRev=1124] [2025/04/05 07:00:34.477 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:34.477 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:34.477 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf954c0] [ownerID=484a603c-a9c8-4071-a8c6-529e6bd871f5] [op=none] [2025/04/05 07:00:34.477 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [2025/04/05 07:00:34.477 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:34.477 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf954c0] [currRev=1125] [2025/04/05 07:00:34.478 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf954be] [ownerID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [op=none] [2025/04/05 07:00:34.478 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [op=none] [2025/04/05 07:00:34.478 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:34.483 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:34.484 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:34.485 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:35\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:34.486 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.486 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:34.487 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:34.493 +00:00] [INFO] [sysvar.go:2967] ["set resource control"] [enable=true] [2025/04/05 07:00:34.496 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:34.497 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:34.504 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:34.508 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:34.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:34.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:34.509 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:34.509 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:34.509 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:34.509 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:34.509 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:34.509 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:34.510 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:34.510 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:34.511 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:34.511 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=10] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:34.511 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:34.512 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:34.513 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf955ad] [ownerID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [op=none] [2025/04/05 07:00:34.513 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.513 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ownerKey=/tidb/stats/owner/6f189604bcf955ad] [currRev=1127] [2025/04/05 07:00:34.513 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=52] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:34.517 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/5ee83694-14f2-4f1b-bb29-aade133f7e0b] [2025/04/05 07:00:34.517 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:34.518 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ttl-worker=task-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [originalCount=0] [newCount=4] [2025/04/05 07:00:34.518 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ttl-worker=task-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [originalCount=0] [newCount=4] [2025/04/05 07:00:34.518 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:34.520 +00:00] [INFO] [helper.go:189] ["set random timezone for getStmtTimestamp"] [timezone=Asia/Shanghai] [2025/04/05 07:00:34.521 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:34.521 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:34.522 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836434522604153 [2025/04/05 07:00:34.524 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:34.532 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=21.982838ms] [2025/04/05 07:00:34.532 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:34.532 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:34.544 +00:00] [INFO] [set.go:172] ["set global var"] [conn=1] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:34.561 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:34.561 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table `cached` nocache"] [2025/04/05 07:00:34.567 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:queueing, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=232] [neededSchemaVersion=233] ["elapsed time"=1.650703ms] [gotSchemaVersion=233] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/05 07:00:34.588 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=233] [2025/04/05 07:00:34.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=233] ["take time"=9.521896ms] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.601 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:running, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.616 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=233] [neededSchemaVersion=234] ["elapsed time"=1.413146ms] [gotSchemaVersion=234] [phyTblIDs="[269]"] [actionTypes="[59]"] [diffTypes="[\"alter table nocache\"]"] [2025/04/05 07:00:34.620 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=272] [version=234] [2025/04/05 07:00:34.621 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=234] ["take time"=8.390732ms] [job="ID:272, Type:alter table nocache, State:done, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.631 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=272] [conn=1] [job="ID:272, Type:alter table nocache, State:synced, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.642 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=272] [2025/04/05 07:00:34.642 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `cached` nocache"] [user=] [2025/04/05 07:00:34.644 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `child` nocache"] [user=] [2025/04/05 07:00:34.645 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=1] [schemaVersion=234] [cur_db=test] [sql="alter table `parent` nocache"] [user=] [2025/04/05 07:00:34.657 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:34.657 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 07:00:34.663 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.681 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=234] [neededSchemaVersion=235] ["elapsed time"=1.780735ms] [gotSchemaVersion=235] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.685 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=235] [2025/04/05 07:00:34.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=235] ["take time"=9.056526ms] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.696 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.711 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=235] [neededSchemaVersion=236] ["elapsed time"=1.681877ms] [gotSchemaVersion=236] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=236] [2025/04/05 07:00:34.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=236] ["take time"=8.560142ms] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.724 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:269, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.731 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 269, Old Table Name: cached)"] [2025/04/05 07:00:34.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=236] [neededSchemaVersion=237] ["elapsed time"=1.101478ms] [gotSchemaVersion=237] [phyTblIDs="[269]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.748 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=273] [version=237] [2025/04/05 07:00:34.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=237] ["take time"=8.864551ms] [job="ID:273, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.760 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=273] [tableIDs="[269]"] [comment="drop table: table ID"] [2025/04/05 07:00:34.768 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=273] [jobType="drop table"] [2025/04/05 07:00:34.769 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=273] [conn=1] [job="ID:273, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:269, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.643 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.789 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=273] [2025/04/05 07:00:34.805 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 07:00:34.805 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:34.811 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.828 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=237] [neededSchemaVersion=238] ["elapsed time"=2.246781ms] [gotSchemaVersion=238] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.832 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=238] [2025/04/05 07:00:34.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=238] ["take time"=9.831676ms] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.845 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.861 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=238] [neededSchemaVersion=239] ["elapsed time"=2.138576ms] [gotSchemaVersion=239] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.864 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=239] [2025/04/05 07:00:34.866 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=239] ["take time"=9.268356ms] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.875 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:266, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.881 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 266, Old Table Name: child)"] [2025/04/05 07:00:34.894 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=239] [neededSchemaVersion=240] ["elapsed time"=1.12368ms] [gotSchemaVersion=240] [phyTblIDs="[266]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=274] [version=240] [2025/04/05 07:00:34.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=240] ["take time"=7.84559ms] [job="ID:274, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.909 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=274] [tableIDs="[266]"] [comment="drop table: table ID"] [2025/04/05 07:00:34.913 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=274] [jobType="drop table"] [2025/04/05 07:00:34.914 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=274] [conn=1] [job="ID:274, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:266, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.932 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=274] [2025/04/05 07:00:34.942 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:34.942 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `cached`,`child`,`parent`"] [2025/04/05 07:00:34.947 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=240] [neededSchemaVersion=241] ["elapsed time"=1.51777ms] [gotSchemaVersion=241] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.964 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=241] [2025/04/05 07:00:34.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=241] ["take time"=8.089647ms] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.976 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:34.990 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=241] [neededSchemaVersion=242] ["elapsed time"=1.498297ms] [gotSchemaVersion=242] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:34.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=242] [2025/04/05 07:00:34.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=242] ["take time"=8.142848ms] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.002 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:264, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.008 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 264, Old Table Name: parent)"] [2025/04/05 07:00:35.019 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=242] [neededSchemaVersion=243] ["elapsed time"=961.726µs] [gotSchemaVersion=243] [phyTblIDs="[264]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:35.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=275] [version=243] [2025/04/05 07:00:35.024 +00:00] [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.330703ms] [job="ID:275, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.033 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=275] [tableIDs="[264]"] [comment="drop table: table ID"] [2025/04/05 07:00:35.037 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=275] [jobType="drop table"] [2025/04/05 07:00:35.038 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=275] [conn=1] [job="ID:275, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:264, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:34.893 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.054 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=275] [2025/04/05 07:00:35.055 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 1\n# Query_time: 0.409279682\n# Parse_time: 0.000155019\n# Compile_time: 0.00031405\n# Rewrite_time: 0.000006398\n# Optimize_time: 0.000049977\n# Wait_TS: 0.000412059\n# DB: test\n# Is_internal: false\n# Digest: 3e7fdbdb1a71f46f0a6898433864b2b2ecda43740dcdab1f93c5812a586d288f\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `cached`,`child`,`parent`;"] [2025/04/05 07:00:35.055 +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: 1743836435055592705 [2025/04/05 07:00:35.073 +00:00] [INFO] [set.go:172] ["set global var"] [conn=2] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:00:35.076 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[expression:1305]FUNCTION test.bulk does not exist"] [errorVerbose="[expression:1305]FUNCTION test.bulk does not exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/expression.newFunctionImpl\n\tpkg/expression/scalar_function.go:238\ngithub.com/pingcap/tidb/pkg/expression.NewFunction\n\tpkg/expression/scalar_function.go:313\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunctionWithInit\n\tpkg/planner/core/expression_rewriter.go:1641\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).newFunction\n\tpkg/planner/core/expression_rewriter.go:1651\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).funcCallToExpression\n\tpkg/planner/core/expression_rewriter.go:2409\ngithub.com/pingcap/tidb/pkg/planner/core.(*expressionRewriter).Leave\n\tpkg/planner/core/expression_rewriter.go:1475\ngithub.com/pingcap/tidb/pkg/parser/ast.(*FuncCallExpr).Accept\n\tpkg/parser/ast/functions.go:590\ngithub.com/pingcap/tidb/pkg/planner/core.rewriteExprNode\n\tpkg/planner/core/expression_rewriter.go:300\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewriteWithPreprocess\n\tpkg/planner/core/expression_rewriter.go:239\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).rewrite\n\tpkg/planner/core/expression_rewriter.go:206\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildSet\n\tpkg/planner/core/planbuilder.go:707\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:551\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:46\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL="set session tidb_dml_type = bulk(10)"] [2025/04/05 07:00:35.085 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:102\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.085 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:108\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.086 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:112\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.087 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:116\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.087 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:118\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.088 +00:00] [WARN] [session.go:2137] ["compile SQL failed"] [error="[planner:8112]Wrong parameter count"] [errorVerbose="[planner:8112]Wrong parameter count\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.planCachePreprocess\n\tpkg/planner/core/plan_cache.go:108\ngithub.com/pingcap/tidb/pkg/planner/core.GetPlanFromPlanCache\n\tpkg/planner/core/plan_cache.go:199\ngithub.com/pingcap/tidb/pkg/planner.OptimizeExecStmt\n\tpkg/planner/optimize.go:524\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:173\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecutePreparedStmt\n\tpkg/session/session.go:2511\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:462\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestVariable\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:122\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [SQL=] [2025/04/05 07:00:35.098 +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: 1743836435098756921 [2025/04/05 07:00:35.114 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:35.114 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t(id int)"] [2025/04/05 07:00:35.119 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.123 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 276, Table Name: t)"] [2025/04/05 07:00:35.136 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=243] [neededSchemaVersion=244] ["elapsed time"=1.386122ms] [gotSchemaVersion=244] [phyTblIDs="[276]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:35.140 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=277] [version=244] [2025/04/05 07:00:35.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=244] ["take time"=8.441577ms] [job="ID:277, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:35.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.152 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=277] [conn=2] [job="ID:277, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:35.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:35.162 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=277] [2025/04/05 07:00:35.162 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=2] [schemaVersion=244] [cur_db=test] [sql="create table t(id int)"] [user=] [2025/04/05 07:00:35.172 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136258454388748] [generation=1] [session=2] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=982.671µs] [2025/04/05 07:00:35.172 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=1.071513ms] [total_duration=2.557642ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136258454388748] [2025/04/05 07:00:35.173 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136258454388748] [commitTS=457136258454388749] [2025/04/05 07:00:35.173 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457136258454388748] [startKey=7480000000000001145f728000000000000001] [endKey=7480000000000001145f728000000000000001] [2025/04/05 07:00:35.173 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457136258454388748] [commitTS=457136258454388749] [session=2] [2025/04/05 07:00:35.177 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:00:35.177 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [] [2025/04/05 07:00:35.177 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:00:35.177 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.177 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:35.177 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:00:35.177 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 1, tp general"] ["take time"=42.228µs] [2025/04/05 07:00:35.177 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 2, tp general"] ["take time"=36.472µs] [2025/04/05 07:00:35.178 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 3, tp general"] ["take time"=27.927µs] [2025/04/05 07:00:35.178 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 4, tp general"] ["take time"=36.838µs] [2025/04/05 07:00:35.178 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 5, tp general"] ["take time"=38.457µs] [2025/04/05 07:00:35.178 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.178 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.179 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:00:35.179 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:00:35.180 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] ["take time"=3.303629ms] [2025/04/05 07:00:35.180 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.180 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:00:35.181 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/5ee83694-14f2-4f1b-bb29-aade133f7e0b] [2025/04/05 07:00:35.181 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ttl-worker=task-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [originalCount=4] [newCount=0] [2025/04/05 07:00:35.181 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:35.181 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:35.181 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:35.181 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:00:35.181 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [ttl-worker=task-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [originalCount=4] [newCount=0] [2025/04/05 07:00:35.183 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:35.183 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:35.184 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:35.184 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:00:35.186 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.186 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=867] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:00:35.188 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:35.188 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:35.187 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:35.188 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:35.188 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:00:35.188 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.188 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:35.188 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.188 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.189 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:00:35.189 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:00:35.189 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=484a603c-a9c8-4071-a8c6-529e6bd871f5] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:35.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:35.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:35.189 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:00:35.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:35.189 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:00:35.189 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [error="context canceled"] [2025/04/05 07:00:35.189 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:00:35.189 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:00:35.189 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:35.190 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [error="context canceled"] [2025/04/05 07:00:35.190 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [2025/04/05 07:00:35.190 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [error="context canceled"] [2025/04/05 07:00:35.190 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=6d4ab4cb-5bc2-4578-8d0d-504ecbf80c45] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:35.207 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:00:35.207 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:35.254 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:00:35.254 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:35.264 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=87.199416ms] [2025/04/05 07:00:36.279 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:40.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136258454388748 commit_ts:457136258454388749 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:00:40.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136258454388748 commit_ts:457136258454388749 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:00:40.175 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136258454388748 commit_ts:457136258454388749 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:00:40.175 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:00:40.175 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:00:40.175 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:00:40.175 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:00:40.175 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:00:40.175 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:00:40.175 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:00:40.175 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:00:40.175 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-1] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:40.175 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:00:40.175 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:00:40.175 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:00:40.177 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestVariable (5.92s) === NAME === RUN TestPipelinedDMLPositive [2025/04/05 07:00:40.184 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:00:40.185 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:00:40.186 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:00:40.186 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:00:40.186 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:00:40.186 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:00:40.186 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:00:40.186 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:00:40.187 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:00:40.187 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:00:40.187 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:00:40.191 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:00:40.196 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:40.197 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:40.197 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:00:40.207 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:00:40.216 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:00:40.252 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1848] ["lease id"=6f189604bcf955e9] [2025/04/05 07:00:40.254 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:00:40.340 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=244] ["elapsed time"=83.304095ms] [2025/04/05 07:00:40.340 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:00:40.343 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:00:40.352 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [runWorker=true] [jobVersion=v2] [2025/04/05 07:00:40.352 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:00:40.354 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.355 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:00:40.356 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183160320/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:00:40.356 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:00:40.356 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:40.356 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [2025/04/05 07:00:40.358 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf955ee] [ownerID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [op=none] [2025/04/05 07:00:40.358 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.358 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf955ee] [currRev=1176] [2025/04/05 07:00:40.359 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:00:40.359 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:00:40.359 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:40.360 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf955ee] [ownerID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [op=none] [2025/04/05 07:00:40.360 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf954f1] [ownerID=710b3b1b-50bb-44e7-a680-da0fcb29666a] [op=none] [2025/04/05 07:00:40.360 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [2025/04/05 07:00:40.360 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [op=none] [2025/04/05 07:00:40.360 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf954f1] [currRev=1177] [2025/04/05 07:00:40.360 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:00:40.365 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[planner:1054]Unknown column 'b' in 'field list'"] [errorVerbose="[planner:1054]Unknown column 'b' in 'field list'\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.(*Error).GenWithStackByArgs\n\texternal/com_github_pingcap_errors/normalize.go:175\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdateLists\n\tpkg/planner/core/logical_plan_builder.go:5685\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildUpdate\n\tpkg/planner/core/logical_plan_builder.go:5548\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:545\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).buildExplain\n\tpkg/planner/core/planbuilder.go:5469\ngithub.com/pingcap/tidb/pkg/planner/core.(*PlanBuilder).Build\n\tpkg/planner/core/planbuilder.go:514\ngithub.com/pingcap/tidb/pkg/planner.buildLogicalPlan\n\tpkg/planner/optimize.go:547\ngithub.com/pingcap/tidb/pkg/planner.optimize\n\tpkg/planner/optimize.go:466\ngithub.com/pingcap/tidb/pkg/planner.Optimize\n\tpkg/planner/optimize.go:333\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:101\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLPositive\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:174\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:00:40.369 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.370 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:00:40.370 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:00:40.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:00:40.386 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:00:40.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:00:40.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:00:40.390 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:00:40.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:00:40.390 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:00:40.390 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:00:40.391 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:00:40.391 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:00:40.391 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:00:40.391 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:00:40.392 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.392 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:00:40.392 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:00:40.393 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:40.393 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:00:40.393 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:00:40.395 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf955f6] [ownerID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [op=none] [2025/04/05 07:00:40.395 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.395 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:00:40.395 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ownerKey=/tidb/stats/owner/6f189604bcf955f6] [currRev=1179] [2025/04/05 07:00:40.397 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/d35cede1-67c2-4c45-aa28-19345f59ed1e] [2025/04/05 07:00:40.398 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ttl-worker=task-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [originalCount=0] [newCount=4] [2025/04/05 07:00:40.398 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ttl-worker=task-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [originalCount=0] [newCount=4] [2025/04/05 07:00:40.398 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:00:40.398 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:40.401 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:00:40.402 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:00:40.402 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836440402182883 [2025/04/05 07:00:40.403 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:00:40.409 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.652279ms] [2025/04/05 07:00:40.409 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:00:40.409 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:00:40.422 +00:00] [INFO] [set.go:172] ["set global var"] [conn=4] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:00:40.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=4] [schemaVersion=244] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:00:40.436 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 07:00:40.436 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:40.442 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.457 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=244] [neededSchemaVersion=245] ["elapsed time"=1.601327ms] [gotSchemaVersion=245] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:40.461 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=245] [2025/04/05 07:00:40.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=245] ["take time"=9.036531ms] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.472 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.486 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=245] [neededSchemaVersion=246] ["elapsed time"=1.693825ms] [gotSchemaVersion=246] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:40.490 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=246] [2025/04/05 07:00:40.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=246] ["take time"=8.716891ms] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.500 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:276, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.506 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 276, Old Table Name: t)"] [2025/04/05 07:00:40.518 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=246] [neededSchemaVersion=247] ["elapsed time"=1.028948ms] [gotSchemaVersion=247] [phyTblIDs="[276]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:00:40.521 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=278] [version=247] [2025/04/05 07:00:40.523 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=247] ["take time"=7.809305ms] [job="ID:278, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.532 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=278] [tableIDs="[276]"] [comment="drop table: table ID"] [2025/04/05 07:00:40.539 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=278] [jobType="drop table"] [2025/04/05 07:00:40.540 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=278] [conn=4] [job="ID:278, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:276, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.557 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=278] [2025/04/05 07:00:40.558 +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: 1743836440558300101 [2025/04/05 07:00:40.562 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=247] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 07:00:40.574 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:00:40.574 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int, b int)"] [2025/04/05 07:00:40.580 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:40.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.585 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 279, Table Name: t)"] [2025/04/05 07:00:40.599 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=247] [neededSchemaVersion=248] ["elapsed time"=1.581681ms] [gotSchemaVersion=248] [phyTblIDs="[279]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:00:40.602 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=280] [version=248] [2025/04/05 07:00:40.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=248] ["take time"=8.594776ms] [job="ID:280, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:00:40.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.615 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=280] [conn=5] [job="ID:280, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 07:00:40.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:00:40.626 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=280] [2025/04/05 07:00:40.627 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create table t (a int, b int)"] [user=] [2025/04/05 07:00:40.635 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136259882811412] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=914.925µs] [2025/04/05 07:00:40.635 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=996.749µs] [total_duration=1.405163ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136259882811412] [2025/04/05 07:00:40.635 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136259882811412] [startKey=7480000000000001175f728000000000000002] [endKey=7480000000000001175f728000000000000002] [2025/04/05 07:00:40.635 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136259882811412] [commitTS=0] [session=5] [2025/04/05 07:00:40.639 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136259882811414] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=2.110059ms] [2025/04/05 07:00:40.639 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=2.209217ms] [total_duration=2.625496ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136259882811414] [2025/04/05 07:00:40.639 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136259882811414] [startKey=7480000000000001175f728000000000000003] [endKey=7480000000000001175f728000000000000003] [2025/04/05 07:00:40.639 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136259882811414] [commitTS=0] [session=5] [2025/04/05 07:00:40.646 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136259882811416] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=835.613µs] [2025/04/05 07:00:40.646 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=926.652µs] [total_duration=5.444255ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136259882811416] [2025/04/05 07:00:40.647 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136259882811416] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:40.647 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136259882811416] [commitTS=0] [session=5] [2025/04/05 07:00:40.654 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:40.708 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:40.826 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:41.147 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:41.364 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 07:00:41.365 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:00:41.365 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:00:41.365 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:00:41.398 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 07:00:41.398 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 07:00:41.398 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d35cede1-67c2-4c45-aa28-19345f59ed1e] [watcherID=41e99d2b-2a30-4877-8edc-f899586c3121] [2025/04/05 07:00:41.402 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 07:00:41.408 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 07:00:41.408 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 07:00:41.408 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 07:00:41.408 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 07:00:41.713 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:42.191 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:00:42.356 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 07:00:43.041 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:43.396 +00:00] [INFO] [read.go:801] ["Table statistics item not found, possibly due to table being dropped"] [category=stats] [sampled=] [tableID=24] [indexID=1] [2025/04/05 07:00:43.396 +00:00] [INFO] [read.go:686] ["Column information not found, possibly due to column being dropped"] [category=stats] [sampled=] [tableID=30] [columnID=8] [2025/04/05 07:00:44.657 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:44.681 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/6f189604bcf955f4] [ownerID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [op=none] [2025/04/05 07:00:44.681 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:00:44.681 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ownerKey=/tidb/bindinfo/owner/6f189604bcf955f4] [currRev=1192] [2025/04/05 07:00:45.659 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136259896180738] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.660 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259882811416, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.662 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136259896180738] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=5.008437573s] [2025/04/05 07:00:45.662 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=5.008544632s] [total_duration=5.013902382s] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136259896180738] [2025/04/05 07:00:45.663 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136259896180738] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:45.663 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136259896180738] [commitTS=0] [session=5] [2025/04/05 07:00:45.667 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000002, primary: 7480000000000001175f728000000000000002, txnStartTS: 457136259882811412, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.669 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000003, primary: 7480000000000001175f728000000000000003, txnStartTS: 457136259882811414, lockForUpdateTS:0, minCommitTs:457136259896180739, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.670 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.671 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.672 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.673 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.674 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.675 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.676 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.677 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.678 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.679 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.679 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.680 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.681 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.682 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.683 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.684 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.685 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.686 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.687 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.687 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.688 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.689 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.690 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.691 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.692 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.693 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.693 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.694 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.695 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.696 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.697 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.698 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.699 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.699 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.700 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.701 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.702 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.703 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.704 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.704 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.705 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.706 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.707 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.708 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.709 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.709 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.710 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.711 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261206900739] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.712 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136259896180738, lockForUpdateTS:0, minCommitTs:457136261206900740, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.714 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136261206900739] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=44.14944ms] [2025/04/05 07:00:45.714 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=44.252674ms] [total_duration=49.98596ms] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136261206900739] [2025/04/05 07:00:45.714 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136261206900739] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:45.714 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136261206900739] [commitTS=0] [session=5] [2025/04/05 07:00:45.719 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.799 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:45.943 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:46.226 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:46.629 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:47.938 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.692 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.693 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.694 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.695 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.696 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.697 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.698 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.699 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.700 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.701 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.701 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.702 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.703 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.704 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.705 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.706 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.707 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.708 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.709 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.710 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.710 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.711 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136261220007939] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.713 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261206900739, lockForUpdateTS:0, minCommitTs:457136261220007940, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.715 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136261220007939] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=4.996238372s] [2025/04/05 07:00:50.715 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=4.996349979s] [total_duration=4.999125686s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136261220007939] [2025/04/05 07:00:50.715 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136261220007939] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:50.715 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136261220007939] [commitTS=0] [session=5] [2025/04/05 07:00:50.718 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136262530465795] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=812.937µs] [2025/04/05 07:00:50.718 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=893.238µs] [total_duration=1.355262ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136262530465795] [2025/04/05 07:00:50.718 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136262530465795] [startKey=7480000000000001175f728000000000000004] [endKey=7480000000000001175f728000000000000004] [2025/04/05 07:00:50.718 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136262530465795] [commitTS=0] [session=5] [2025/04/05 07:00:50.726 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.728 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.730 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.732 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.734 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.736 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.738 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.740 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.742 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.744 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.746 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.749 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.752 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.755 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.758 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.760 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.762 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262530465797] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.763 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136261220007939, lockForUpdateTS:0, minCommitTs:457136262530465798, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.765 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136262530465797] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=40.139865ms] [2025/04/05 07:00:50.765 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=40.234481ms] [total_duration=44.537938ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136262530465797] [2025/04/05 07:00:50.766 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136262530465797] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:50.766 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136262530465797] [commitTS=0] [session=5] [2025/04/05 07:00:50.773 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136262543835139] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=813.637µs] [2025/04/05 07:00:50.773 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=911.332µs] [total_duration=5.232731ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136262543835139] [2025/04/05 07:00:50.773 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136262543835139] [startKey=7480000000000001175f728000000000000005] [endKey=7480000000000001175f728000000000000005] [2025/04/05 07:00:50.773 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136262543835139] [commitTS=0] [session=5] [2025/04/05 07:00:50.780 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.836 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:50.956 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:51.346 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:52.057 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:52.359 +00:00] [INFO] [owner_daemon.go:56] ["daemon became owner"] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:00:52.359 +00:00] [INFO] [advancer.go:518] ["Subscription handler spawned."] [category="log backup subscription manager"] [2025/04/05 07:00:52.359 +00:00] [INFO] [advancer.go:669] ["No tasks yet, skipping advancing."] [2025/04/05 07:00:53.245 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.746 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136262543835141] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.747 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262530465797, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.749 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136262543835141] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=4.968960019s] [2025/04/05 07:00:55.749 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=4.96905765s] [total_duration=4.974325615s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136262543835141] [2025/04/05 07:00:55.750 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136262543835141] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:55.750 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136262543835141] [commitTS=0] [session=5] [2025/04/05 07:00:55.783 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for update t set b = b + 1 using update /*+ SET_VAR(tidb_dml_type=bulk) */ t set b = b + 1"] [user=] [2025/04/05 07:00:55.812 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for insert into t select * from t using insert /*+ SET_VAR(tidb_dml_type=bulk) */ into t select * from t"] [user=] [2025/04/05 07:00:55.839 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=5] [schemaVersion=248] [cur_db=test] [sql="create global binding for delete from t using delete /*+ SET_VAR(tidb_dml_type=bulk) */ from t"] [user=] [2025/04/05 07:00:55.843 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136262543835141, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Del, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.844 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000004, primary: 7480000000000001175f728000000000000004, txnStartTS: 457136262530465795, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.846 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000005, primary: 7480000000000001175f728000000000000005, txnStartTS: 457136262543835139, lockForUpdateTS:0, minCommitTs:457136262543835142, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.847 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136263867662349] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=870.053µs] [2025/04/05 07:00:55.848 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=960.309µs] [total_duration=6.975528ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=1] [size=33B] [startTS=457136263867662349] [2025/04/05 07:00:55.848 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136263867662349] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:00:55.848 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136263867662349] [commitTS=0] [session=5] [2025/04/05 07:00:55.853 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136263880769538] [generation=1] [session=5] [keys=1] [size=33B] ["flushed keys"=1] ["flushed size"=33B] ["take time"=905.924µs] [2025/04/05 07:00:55.853 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=999.332µs] [total_duration=3.84973ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=33B] [startTS=457136263880769538] [2025/04/05 07:00:55.854 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136263880769538] [startKey=7480000000000001175f728000000000000006] [endKey=7480000000000001175f728000000000000006] [2025/04/05 07:00:55.854 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136263880769538] [commitTS=0] [session=5] [2025/04/05 07:00:55.860 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:55.954 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:56.088 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:56.418 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:57.087 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:00:58.152 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.280 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.831 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.832 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.834 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.834 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.835 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.836 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.837 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.838 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.839 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.840 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.841 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.842 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.842 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.843 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.844 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.845 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.846 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.847 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.847 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.848 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.849 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.850 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.851 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.852 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.853 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.853 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.854 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.855 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.856 +00:00] [INFO] [pipelined_flush.go:232] ["[pipelined dml] flush encounters lock. More locks belonging to the same transaction may be omitted"] [txnID=457136263880769540] [generation=1] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.857 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001175f728000000000000001, primary: 7480000000000001175f728000000000000001, txnStartTS: 457136263867662349, lockForUpdateTS:0, minCommitTs:457136263880769541, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:00.859 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136263880769540] [generation=1] [session=5] [keys=1] [size=19B] ["flushed keys"=1] ["flushed size"=19B] ["take time"=4.9997222s] [2025/04/05 07:01:00.859 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=4.999802931s] [total_duration=5.003813645s] ["memdb traversal cache hit"=1] ["memdb traversal cache miss"=2] [size=19B] [startTS=457136263880769540] [2025/04/05 07:01:00.860 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136263880769540] [startKey=7480000000000001175f728000000000000001] [endKey=7480000000000001175f728000000000000001] [2025/04/05 07:01:00.860 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136263880769540] [commitTS=0] [session=5] [2025/04/05 07:01:00.860 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:00.860 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [] [2025/04/05 07:01:00.860 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.860 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:00.860 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:00.860 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:00.860 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 6, tp general"] ["take time"=44.259µs] [2025/04/05 07:01:00.860 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 7, tp general"] ["take time"=46.035µs] [2025/04/05 07:01:00.860 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.860 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.861 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:00.861 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:00.862 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] ["take time"=2.617164ms] [2025/04/05 07:01:00.862 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.863 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:00.863 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/d35cede1-67c2-4c45-aa28-19345f59ed1e] [watcherID=41e99d2b-2a30-4877-8edc-f899586c3121] [2025/04/05 07:01:00.863 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 07:01:00.863 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/d35cede1-67c2-4c45-aa28-19345f59ed1e] [2025/04/05 07:01:00.863 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ttl-worker=task-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [originalCount=4] [newCount=0] [2025/04/05 07:01:00.863 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:00.863 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:00.863 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:00.863 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:00.863 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [ttl-worker=task-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [originalCount=4] [newCount=0] [2025/04/05 07:01:00.865 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:00.866 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:00.866 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:00.866 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:00.868 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.868 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1848] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [] [2025/04/05 07:01:00.870 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:00.869 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:00.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.869 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.869 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:00.869 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [] [2025/04/05 07:01:00.870 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:00.870 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [2025/04/05 07:01:00.870 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:00.870 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:00.870 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:00.871 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:00.871 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:00.871 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:00.872 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:00.872 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [] [2025/04/05 07:01:00.872 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=710b3b1b-50bb-44e7-a680-da0fcb29666a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:00.872 +00:00] [INFO] [flush_subscriber.go:108] [Clearing.] [category="log backup flush subscriber"] [timeout=1m0s] [2025/04/05 07:01:00.872 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:00.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:00.872 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [2025/04/05 07:01:00.872 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [error="context canceled"] [2025/04/05 07:01:00.872 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=56d6f474-ef29-4f87-8047-0a6fb5ca8c3a] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:00.888 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:00.888 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:00.935 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:00.935 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:00.946 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.933138ms] [2025/04/05 07:01:05.860 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136263880769540 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:05.860 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136263880769540 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:05.860 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136263880769540 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:05.861 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:05.861 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:05.861 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:05.861 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:05.861 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:05.861 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:05.861 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:05.861 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:05.861 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:05.861 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-2] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:05.861 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:05.861 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:05.862 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLPositive (25.69s) === NAME === RUN TestPipelinedDMLNegative [2025/04/05 07:01:05.870 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:05.870 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:05.871 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:05.871 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:05.872 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:05.872 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:05.872 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:05.872 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:05.872 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:05.872 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:05.872 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:05.876 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:05.881 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:05.881 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:05.882 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:05.891 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:05.900 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:05.934 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1466] ["lease id"=3eaa9604bcf95535] [2025/04/05 07:01:05.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/05 07:01:06.020 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=248] ["elapsed time"=81.212926ms] [2025/04/05 07:01:06.020 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:06.022 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:06.031 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=50c3b3ed-1e5a-4503-a581-976f3344c96c] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:06.031 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:06.033 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.034 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:06.034 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183180800/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:06.034 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:06.034 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:06.034 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [2025/04/05 07:01:06.036 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf9553a] [ownerID=50c3b3ed-1e5a-4503-a581-976f3344c96c] [op=none] [2025/04/05 07:01:06.036 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.036 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf9553a] [currRev=1215] [2025/04/05 07:01:06.036 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:06.037 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=2407550a-6532-4eef-89ef-c35b8015814c] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:06.037 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf95751] [ownerID=2407550a-6532-4eef-89ef-c35b8015814c] [op=none] [2025/04/05 07:01:06.037 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [2025/04/05 07:01:06.037 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [ownerKey=/tidb/br-stream/owner/22319604bcf95751] [currRev=1215] [2025/04/05 07:01:06.037 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:06.038 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf9553a] [ownerID=50c3b3ed-1e5a-4503-a581-976f3344c96c] [op=none] [2025/04/05 07:01:06.038 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [op=none] [2025/04/05 07:01:06.038 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:06.048 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.049 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:06.049 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:06.057 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:06.063 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:06.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:06.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:06.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:06.067 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:06.067 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:06.067 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:06.067 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:06.067 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:06.067 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:06.068 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:06.068 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:06.069 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:06.069 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:06.071 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf95542] [ownerID=50c3b3ed-1e5a-4503-a581-976f3344c96c] [op=none] [2025/04/05 07:01:06.071 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.071 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ownerKey=/tidb/stats/owner/3eaa9604bcf95542] [currRev=1217] [2025/04/05 07:01:06.071 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:06.073 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/37fd68a0-1df7-409a-a7a0-5bfaa617d2ee] [2025/04/05 07:01:06.073 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:06.073 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ttl-worker=task-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [originalCount=0] [newCount=4] [2025/04/05 07:01:06.073 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ttl-worker=task-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [originalCount=0] [newCount=4] [2025/04/05 07:01:06.073 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.074 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:06.074 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:06.074 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836466075088480 [2025/04/05 07:01:06.077 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:06.084 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.229788ms] [2025/04/05 07:01:06.084 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:06.084 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:06.087 +00:00] [INFO] [set.go:172] ["set global var"] [conn=6] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:06.089 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=6] [schemaVersion=248] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:06.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:06.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 07:01:06.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=248] [neededSchemaVersion=249] ["elapsed time"=1.825489ms] [gotSchemaVersion=249] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.124 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=249] [2025/04/05 07:01:06.126 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=249] ["take time"=8.711175ms] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.135 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.149 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=249] [neededSchemaVersion=250] ["elapsed time"=1.669137ms] [gotSchemaVersion=250] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.152 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=250] [2025/04/05 07:01:06.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=250] ["take time"=8.231565ms] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.161 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:279, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.167 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 279, Old Table Name: t)"] [2025/04/05 07:01:06.179 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=250] [neededSchemaVersion=251] ["elapsed time"=1.039578ms] [gotSchemaVersion=251] [phyTblIDs="[279]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.182 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=281] [version=251] [2025/04/05 07:01:06.184 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=251] ["take time"=7.748369ms] [job="ID:281, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.193 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=281] [tableIDs="[279]"] [comment="drop table: table ID"] [2025/04/05 07:01:06.200 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=281] [jobType="drop table"] [2025/04/05 07:01:06.201 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=281] [conn=6] [job="ID:281, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:279, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.093 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.218 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=281] [2025/04/05 07:01:06.218 +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: 1743836466218516872 [2025/04/05 07:01:06.221 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=251] [cur_db=test] [sql="drop table if exists t"] [user=] [2025/04/05 07:01:06.233 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:06.233 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:06.238 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.243 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 282, Table Name: t)"] [2025/04/05 07:01:06.256 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=251] [neededSchemaVersion=252] ["elapsed time"=1.490747ms] [gotSchemaVersion=252] [phyTblIDs="[282]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:06.260 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=283] [version=252] [2025/04/05 07:01:06.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=252] ["take time"=8.098013ms] [job="ID:283, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.271 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=283] [conn=7] [job="ID:283, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.281 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=283] [2025/04/05 07:01:06.281 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=7] [schemaVersion=252] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:06.283 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266607067148] [2025/04/05 07:01:06.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266607067158] [2025/04/05 07:01:06.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266620174339] [2025/04/05 07:01:06.306 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266620174342] [2025/04/05 07:01:06.320 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=false] [2025/04/05 07:01:06.335 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=off] [2025/04/05 07:01:06.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266620174357] [2025/04/05 07:01:06.346 +00:00] [INFO] [ddl.go:1174] ["switch metadata lock feature"] [category=ddl] [enable=true] [2025/04/05 07:01:06.364 +00:00] [INFO] [set.go:172] ["set global var"] [conn=7] [name=tidb_enable_metadata_lock] [val=ON] [2025/04/05 07:01:06.369 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:06.369 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [] [2025/04/05 07:01:06.369 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:06.369 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.369 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:06.369 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:06.369 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 8, tp general"] ["take time"=43.553µs] [2025/04/05 07:01:06.369 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 9, tp general"] ["take time"=34.09µs] [2025/04/05 07:01:06.369 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.369 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.370 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:06.370 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:06.371 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=50c3b3ed-1e5a-4503-a581-976f3344c96c] ["take time"=2.241103ms] [2025/04/05 07:01:06.371 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.371 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:06.371 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/37fd68a0-1df7-409a-a7a0-5bfaa617d2ee] [2025/04/05 07:01:06.371 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ttl-worker=task-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [originalCount=4] [newCount=0] [2025/04/05 07:01:06.371 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:06.371 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:06.371 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:06.371 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:06.372 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [ttl-worker=task-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [originalCount=4] [newCount=0] [2025/04/05 07:01:06.374 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:06.374 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:06.374 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:06.374 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:06.376 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.376 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1466] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:06.378 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.377 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:06.378 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=2407550a-6532-4eef-89ef-c35b8015814c] [2025/04/05 07:01:06.378 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:06.378 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:06.377 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:06.377 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:06.378 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:06.377 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:06.378 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:06.379 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:06.379 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:06.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:06.379 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:06.379 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:06.379 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:06.379 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=2407550a-6532-4eef-89ef-c35b8015814c] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:06.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:06.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:06.379 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:06.379 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:06.379 +00:00] [WARN] [txn.go:692] ["wait tso failed"] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/tikv/pd/client/clients/tso.(*Request).waitCtx\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:98\ngithub.com/tikv/pd/client/clients/tso.(*Request).Wait\n\texternal/com_github_tikv_pd_client/clients/tso/request.go:73\ngithub.com/tikv/client-go/v2/util.interceptedTsFuture.Wait\n\texternal/com_github_tikv_client_go_v2/util/pd_interceptor.go:81\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:239\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700\ngithub.com/tikv/client-go/v2/oracle/oracles.(*tsFuture).Wait\n\texternal/com_github_tikv_client_go_v2/oracle/oracles/pd.go:242\ngithub.com/pingcap/tidb/pkg/session.(*txnFuture).wait\n\tpkg/session/txn.go:684\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).changePendingToValid\n\tpkg/session/txn.go:293\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Wait\n\tpkg/session/txn.go:609\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).ActivateTxn\n\tpkg/sessiontxn/isolation/base.go:299\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*baseTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/base.go:189\ngithub.com/pingcap/tidb/pkg/sessiontxn/isolation.(*OptimisticTxnContextProvider).GetStmtReadTS\n\tpkg/sessiontxn/isolation/optimistic.go:111\ngithub.com/pingcap/tidb/pkg/session.(*txnManager).GetStmtReadTS\n\tpkg/session/txnmanager.go:98\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).getSnapshotTS\n\tpkg/executor/builder.go:2142\ngithub.com/pingcap/tidb/pkg/executor.buildNoRangeIndexLookUpReader\n\tpkg/executor/builder.go:4137\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildIndexLookUpReader\n\tpkg/executor/builder.go:4198\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:297\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildHashAgg\n\tpkg/executor/builder.go:1918\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:275\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).buildProjection\n\tpkg/executor/builder.go:2090\ngithub.com/pingcap/tidb/pkg/executor.(*executorBuilder).build\n\tpkg/executor/builder.go:279\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).buildExecutor\n\tpkg/executor/adapter.go:1234\ngithub.com/pingcap/tidb/pkg/executor.(*ExecStmt).Exec\n\tpkg/executor/adapter.go:575\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2305\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/util/sqlexec.ExecSQL\n\tpkg/util/sqlexec/restricted_sql_executor.go:256\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID.func1\n\tpkg/disttask/framework/storage/task_table.go:317\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).WithNewSession\n\tpkg/disttask/framework/storage/task_table.go:169\ngithub.com/pingcap/tidb/pkg/disttask/framework/storage.(*TaskManager).GetTaskExecInfoByExecID\n\tpkg/disttask/framework/storage/task_table.go:313\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:172\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:06.380 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [error="context canceled"] [2025/04/05 07:01:06.380 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [2025/04/05 07:01:06.380 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [error="context canceled"] [2025/04/05 07:01:06.380 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=50c3b3ed-1e5a-4503-a581-976f3344c96c] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:06.382 +00:00] [ERROR] [select_result.go:556] ["invalid cop task execution summaries length"] [expected=1] [received=0] [stack="github.com/pingcap/tidb/pkg/distsql.(*selectResult).updateCopRuntimeStats\n\tpkg/distsql/select_result.go:556\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Close\n\tpkg/distsql/select_result.go:611\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:810\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243"] [2025/04/05 07:01:06.382 +00:00] [ERROR] [manager.go:373] ["task manager met error"] [server-id=:4000] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).extractTaskHandles\n\tpkg/executor/distsql.go:1142\ngithub.com/pingcap/tidb/pkg/executor.(*indexWorker).fetchHandles\n\tpkg/executor/distsql.go:1064\ngithub.com/pingcap/tidb/pkg/executor.(*IndexLookUpExecutor).startIndexWorker.func1\n\tpkg/executor/distsql.go:807\ngithub.com/pingcap/tidb/pkg/executor.(*workerPool).run\n\tpkg/executor/utils.go:243\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [stack="github.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).logErr\n\tpkg/disttask/framework/taskexecutor/manager.go:373\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasks\n\tpkg/disttask/framework/taskexecutor/manager.go:174\ngithub.com/pingcap/tidb/pkg/disttask/framework/taskexecutor.(*Manager).handleTasksLoop\n\tpkg/disttask/framework/taskexecutor/manager.go:151\ngithub.com/pingcap/tidb/pkg/util.(*WaitGroupWrapper).Run.func1\n\tpkg/util/wait_group_wrapper.go:167"] [2025/04/05 07:01:06.383 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:06.383 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:06.383 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:06.396 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:06.396 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:06.439 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:06.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:06.450 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.150772ms] [2025/04/05 07:01:06.452 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:06.452 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:06.452 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:06.452 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:06.452 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:06.452 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:06.452 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:06.452 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:06.452 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-3] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:06.452 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:06.452 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:06.452 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:06.453 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLNegative (0.59s) === NAME === RUN TestPipelinedDMLInsert [2025/04/05 07:01:06.459 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:06.460 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:06.461 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:06.461 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:06.461 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:06.461 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:06.461 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:06.461 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:06.462 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:06.462 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:06.462 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:06.465 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:06.470 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:06.471 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:06.471 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:06.480 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:06.492 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:06.526 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1195] ["lease id"=6f189604bcf95693] [2025/04/05 07:01:06.528 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:06.613 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=252] ["elapsed time"=82.037748ms] [2025/04/05 07:01:06.613 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:06.615 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:06.623 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=810247d3-fa84-4914-b61c-ac71b7af3a81] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:06.624 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:06.625 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.626 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:06.626 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183193088/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:06.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:06.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:06.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:06.627 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:06.627 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:06.627 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [2025/04/05 07:01:06.627 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:06.628 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95555] [ownerID=810247d3-fa84-4914-b61c-ac71b7af3a81] [op=none] [2025/04/05 07:01:06.629 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.629 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95555] [currRev=1246] [2025/04/05 07:01:06.629 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:06.629 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:06.630 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf95557] [ownerID=e653c261-058e-4fb7-87eb-62915b8e4444] [op=none] [2025/04/05 07:01:06.630 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [2025/04/05 07:01:06.630 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf95557] [currRev=1247] [2025/04/05 07:01:06.630 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:06.631 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95555] [ownerID=810247d3-fa84-4914-b61c-ac71b7af3a81] [op=none] [2025/04/05 07:01:06.631 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [op=none] [2025/04/05 07:01:06.631 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:06.640 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.641 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:06.641 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:06.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:06.655 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:06.659 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:06.659 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:06.659 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:06.659 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:06.659 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:06.659 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:06.660 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:06.660 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:06.660 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:06.660 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:06.660 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:06.661 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:06.661 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:06.662 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:06.662 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:06.662 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:06.662 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:06.662 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:06.662 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:06.662 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:06.663 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf9569d] [ownerID=810247d3-fa84-4914-b61c-ac71b7af3a81] [op=none] [2025/04/05 07:01:06.664 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.664 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:06.664 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [ownerKey=/tidb/stats/owner/6f189604bcf9569d] [currRev=1249] [2025/04/05 07:01:06.665 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6db1ffb1-dd29-4bf6-abe7-8ae0a07ddb99] [2025/04/05 07:01:06.666 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [ttl-worker=task-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [originalCount=0] [newCount=4] [2025/04/05 07:01:06.666 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [ttl-worker=task-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [originalCount=0] [newCount=4] [2025/04/05 07:01:06.666 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:06.666 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:06.666 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:06.667 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:06.667 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836466667118332 [2025/04/05 07:01:06.670 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:06.677 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=16.40857ms] [2025/04/05 07:01:06.677 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:06.677 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:06.678 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:01:06.697 +00:00] [INFO] [set.go:172] ["set global var"] [conn=8] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:06.700 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=8] [schemaVersion=252] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:06.712 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:06.712 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t`"] [2025/04/05 07:01:06.717 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.732 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=252] [neededSchemaVersion=253] ["elapsed time"=1.824183ms] [gotSchemaVersion=253] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.735 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=253] [2025/04/05 07:01:06.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=253] ["take time"=8.587735ms] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.746 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.761 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=253] [neededSchemaVersion=254] ["elapsed time"=1.71592ms] [gotSchemaVersion=254] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.764 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=254] [2025/04/05 07:01:06.765 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=254] ["take time"=8.372146ms] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.774 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:282, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.779 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 282, Old Table Name: t)"] [2025/04/05 07:01:06.792 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=254] [neededSchemaVersion=255] ["elapsed time"=1.036057ms] [gotSchemaVersion=255] [phyTblIDs="[282]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:06.795 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=284] [version=255] [2025/04/05 07:01:06.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=255] ["take time"=7.890201ms] [job="ID:284, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.806 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=284] [tableIDs="[282]"] [comment="drop table: table ID"] [2025/04/05 07:01:06.813 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=284] [jobType="drop table"] [2025/04/05 07:01:06.814 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=284] [conn=8] [job="ID:284, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:282, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.831 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=284] [2025/04/05 07:01:06.831 +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: 1743836466832235854 [2025/04/05 07:01:06.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=255] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:06.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:06.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:06.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.857 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 285, Table Name: t)"] [2025/04/05 07:01:06.870 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=255] [neededSchemaVersion=256] ["elapsed time"=1.420017ms] [gotSchemaVersion=256] [phyTblIDs="[285]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:06.874 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=286] [version=256] [2025/04/05 07:01:06.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=256] ["take time"=8.029086ms] [job="ID:286, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.886 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=286] [conn=9] [job="ID:286, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.897 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=286] [2025/04/05 07:01:06.897 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=256] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:06.910 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:06.910 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:06.915 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.920 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 287, Table Name: _t)"] [2025/04/05 07:01:06.934 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=256] [neededSchemaVersion=257] ["elapsed time"=1.521195ms] [gotSchemaVersion=257] [phyTblIDs="[287]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:06.937 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=288] [version=257] [2025/04/05 07:01:06.939 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=257] ["take time"=8.442953ms] [job="ID:288, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:06.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.949 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=288] [conn=9] [job="ID:288, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:06.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:06.960 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=288] [2025/04/05 07:01:06.960 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=257] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:06.963 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305799] [2025/04/05 07:01:06.967 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305803] [2025/04/05 07:01:06.971 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305807] [2025/04/05 07:01:06.975 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305810] [2025/04/05 07:01:06.979 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305813] [2025/04/05 07:01:06.983 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305816] [2025/04/05 07:01:06.987 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305820] [2025/04/05 07:01:06.991 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305823] [2025/04/05 07:01:06.994 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266790305826] [2025/04/05 07:01:06.998 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675139] [2025/04/05 07:01:07.002 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675142] [2025/04/05 07:01:07.006 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675145] [2025/04/05 07:01:07.009 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675148] [2025/04/05 07:01:07.013 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675151] [2025/04/05 07:01:07.017 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675154] [2025/04/05 07:01:07.021 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675157] [2025/04/05 07:01:07.024 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675160] [2025/04/05 07:01:07.028 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675163] [2025/04/05 07:01:07.032 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675166] [2025/04/05 07:01:07.035 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675170] [2025/04/05 07:01:07.039 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675173] [2025/04/05 07:01:07.043 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266803675176] [2025/04/05 07:01:07.047 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782338] [2025/04/05 07:01:07.051 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782341] [2025/04/05 07:01:07.054 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782344] [2025/04/05 07:01:07.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782347] [2025/04/05 07:01:07.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782350] [2025/04/05 07:01:07.065 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782353] [2025/04/05 07:01:07.069 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782356] [2025/04/05 07:01:07.073 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782360] [2025/04/05 07:01:07.076 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782364] [2025/04/05 07:01:07.080 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782367] [2025/04/05 07:01:07.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782372] [2025/04/05 07:01:07.088 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782375] [2025/04/05 07:01:07.091 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782378] [2025/04/05 07:01:07.095 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266816782381] [2025/04/05 07:01:07.099 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889539] [2025/04/05 07:01:07.102 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889542] [2025/04/05 07:01:07.106 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889545] [2025/04/05 07:01:07.110 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889548] [2025/04/05 07:01:07.114 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889551] [2025/04/05 07:01:07.117 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889554] [2025/04/05 07:01:07.121 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889557] [2025/04/05 07:01:07.125 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889560] [2025/04/05 07:01:07.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889563] [2025/04/05 07:01:07.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889569] [2025/04/05 07:01:07.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889573] [2025/04/05 07:01:07.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889576] [2025/04/05 07:01:07.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266829889579] [2025/04/05 07:01:07.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996739] [2025/04/05 07:01:07.151 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996742] [2025/04/05 07:01:07.155 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996745] [2025/04/05 07:01:07.158 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996748] [2025/04/05 07:01:07.162 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996751] [2025/04/05 07:01:07.166 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996754] [2025/04/05 07:01:07.169 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996757] [2025/04/05 07:01:07.173 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996760] [2025/04/05 07:01:07.177 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996763] [2025/04/05 07:01:07.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996766] [2025/04/05 07:01:07.184 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996770] [2025/04/05 07:01:07.188 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996773] [2025/04/05 07:01:07.192 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266842996776] [2025/04/05 07:01:07.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841794] [2025/04/05 07:01:07.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841797] [2025/04/05 07:01:07.203 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841800] [2025/04/05 07:01:07.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841803] [2025/04/05 07:01:07.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841806] [2025/04/05 07:01:07.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841809] [2025/04/05 07:01:07.218 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841812] [2025/04/05 07:01:07.221 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841815] [2025/04/05 07:01:07.225 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841818] [2025/04/05 07:01:07.229 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841821] [2025/04/05 07:01:07.233 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841824] [2025/04/05 07:01:07.237 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841828] [2025/04/05 07:01:07.241 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841831] [2025/04/05 07:01:07.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266855841834] [2025/04/05 07:01:07.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211139] [2025/04/05 07:01:07.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211142] [2025/04/05 07:01:07.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211145] [2025/04/05 07:01:07.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211148] [2025/04/05 07:01:07.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211151] [2025/04/05 07:01:07.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211154] [2025/04/05 07:01:07.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211158] [2025/04/05 07:01:07.276 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211161] [2025/04/05 07:01:07.280 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211164] [2025/04/05 07:01:07.283 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211168] [2025/04/05 07:01:07.287 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211171] [2025/04/05 07:01:07.291 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266869211174] [2025/04/05 07:01:07.295 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056193] [2025/04/05 07:01:07.298 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056196] [2025/04/05 07:01:07.302 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056199] [2025/04/05 07:01:07.306 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056202] [2025/04/05 07:01:07.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056205] [2025/04/05 07:01:07.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056208] [2025/04/05 07:01:07.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056211] [2025/04/05 07:01:07.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056214] [2025/04/05 07:01:07.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056217] [2025/04/05 07:01:07.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056220] [2025/04/05 07:01:07.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056223] [2025/04/05 07:01:07.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136266882056227] [2025/04/05 07:01:07.349 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266882056231] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.623101ms] [2025/04/05 07:01:07.350 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266882056231] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=34.626µs] [2025/04/05 07:01:07.350 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.749253ms] [total_duration=7.134456ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136266882056231] [2025/04/05 07:01:07.351 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136266882056231] [commitTS=457136266895163393] [2025/04/05 07:01:07.351 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136266882056231] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] [concurrency=8] [2025/04/05 07:01:07.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136266882056231] [startKey=74800000000000011f5f728000000000000000] [endKey=74800000000000011f5f728000000000000063] ["cost time"=5.340629ms] ["completed regions"=1] [2025/04/05 07:01:07.357 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136266882056231] [commitTS=457136266895163393] [session=9] [2025/04/05 07:01:07.367 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266895163396] [generation=1] [session=9] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.671734ms] [2025/04/05 07:01:07.367 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266895163396] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=30.76µs] [2025/04/05 07:01:07.367 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.676769ms] [total_duration=7.13807ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136266895163396] [2025/04/05 07:01:07.368 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136266895163396] [commitTS=457136266895163397] [2025/04/05 07:01:07.369 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136266895163396] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] [concurrency=8] [2025/04/05 07:01:07.372 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136266895163396] [startKey=74800000000000011d5f728000000000002710] [endKey=74800000000000011d5f728000000000002773] ["cost time"=3.165449ms] ["completed regions"=1] [2025/04/05 07:01:07.372 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136266895163396] [commitTS=457136266895163397] [session=9] [2025/04/05 07:01:07.385 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:07.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:07.385 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:07.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t"] [2025/04/05 07:01:07.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:287, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:07.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:07.397 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 289, Table Name: _t, Old Table ID: 287, Old Table Name: _t)"] [2025/04/05 07:01:07.411 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=257] [neededSchemaVersion=258] ["elapsed time"=1.476976ms] [gotSchemaVersion=258] [phyTblIDs="[287,289]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:07.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=290] [version=258] [2025/04/05 07:01:07.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=258] ["take time"=8.395009ms] [job="ID:290, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:07.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:07.427 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=290] [tableIDs="[287]"] [comment="truncate table: table ID"] [2025/04/05 07:01:07.431 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=290] [jobType="truncate table"] [2025/04/05 07:01:07.432 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=290] [conn=9] [job="ID:290, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:287, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:07.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:07.448 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=290] [2025/04/05 07:01:07.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=9] [schemaVersion=258] [cur_db=test] [sql="truncate table _t"] [user=] [2025/04/05 07:01:07.449 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001215f7280000000000003e8] [2025/04/05 07:01:07.452 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001215f7280000000000003e8] ["first new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:1 id:138 store_id:3 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 07:01:07.452 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=136] [2025/04/05 07:01:07.453 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000003e8] ["new region left"="{Id:136 StartKey:7480000000000000ffda5f728000000000ff0023280000000000fa EndKey:7480000000000001ff215f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:137 store_id:1 id:138 store_id:3 id:139 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.453 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=140] [2025/04/05 07:01:07.454 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f7280000000000007d0] ["new region left"="{Id:140 StartKey:7480000000000001ff215f728000000000ff0003e80000000000fa EndKey:7480000000000001ff215f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:141 store_id:1 id:142 store_id:3 id:143 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.454 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=144] [2025/04/05 07:01:07.455 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000bb8] ["new region left"="{Id:144 StartKey:7480000000000001ff215f728000000000ff0007d00000000000fa EndKey:7480000000000001ff215f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:145 store_id:1 id:146 store_id:3 id:147 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.455 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=148] [2025/04/05 07:01:07.456 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000000fa0] ["new region left"="{Id:148 StartKey:7480000000000001ff215f728000000000ff000bb80000000000fa EndKey:7480000000000001ff215f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:149 store_id:1 id:150 store_id:3 id:151 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.456 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=152] [2025/04/05 07:01:07.457 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001388] ["new region left"="{Id:152 StartKey:7480000000000001ff215f728000000000ff000fa00000000000fa EndKey:7480000000000001ff215f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:153 store_id:1 id:154 store_id:3 id:155 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.457 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=156] [2025/04/05 07:01:07.457 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001770] ["new region left"="{Id:156 StartKey:7480000000000001ff215f728000000000ff0013880000000000fa EndKey:7480000000000001ff215f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:157 store_id:1 id:158 store_id:3 id:159 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.458 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=160] [2025/04/05 07:01:07.458 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001b58] ["new region left"="{Id:160 StartKey:7480000000000001ff215f728000000000ff0017700000000000fa EndKey:7480000000000001ff215f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:161 store_id:1 id:162 store_id:3 id:163 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.458 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=164] [2025/04/05 07:01:07.459 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000001f40] ["new region left"="{Id:164 StartKey:7480000000000001ff215f728000000000ff001b580000000000fa EndKey:7480000000000001ff215f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:165 store_id:1 id:166 store_id:3 id:167 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.459 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=168] [2025/04/05 07:01:07.460 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001215f728000000000002328] ["new region left"="{Id:168 StartKey:7480000000000001ff215f728000000000ff001f400000000000fa EndKey:7480000000000001ff215f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:41} Peers:[id:169 store_id:1 id:170 store_id:3 id:171 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:07.460 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[136,140,144,148,152,156,160,164,168]"] [2025/04/05 07:01:07.460 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=136] [backoff(ms)=299988] [2025/04/05 07:01:07.461 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=136] [2025/04/05 07:01:07.461 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=140] [backoff(ms)=299988] [2025/04/05 07:01:07.461 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=140] [2025/04/05 07:01:07.461 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=144] [backoff(ms)=299987] [2025/04/05 07:01:07.462 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=144] [2025/04/05 07:01:07.462 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=148] [backoff(ms)=299987] [2025/04/05 07:01:07.462 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=148] [2025/04/05 07:01:07.462 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=152] [backoff(ms)=299986] [2025/04/05 07:01:07.463 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=152] [2025/04/05 07:01:07.463 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=156] [backoff(ms)=299986] [2025/04/05 07:01:07.463 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=156] [2025/04/05 07:01:07.463 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=160] [backoff(ms)=299986] [2025/04/05 07:01:07.464 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=160] [2025/04/05 07:01:07.464 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=164] [backoff(ms)=299985] [2025/04/05 07:01:07.464 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=164] [2025/04/05 07:01:07.464 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=168] [backoff(ms)=299985] [2025/04/05 07:01:07.464 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=168] [2025/04/05 07:01:07.499 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266921377811] [generation=1] [session=9] [keys=200] [size=5.8kB] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=3.305052ms] [2025/04/05 07:01:07.500 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136266921377811] [generation=2] [session=9] [keys=0] [size=0B] ["flushed keys"=200] ["flushed size"=5.8kB] ["take time"=43.929µs] [2025/04/05 07:01:07.500 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=200] [flush_wait_duration=3.424356ms] [total_duration=10.713068ms] ["memdb traversal cache hit"=400] ["memdb traversal cache miss"=400] [size=5.8kB] [startTS=457136266921377811] [2025/04/05 07:01:07.501 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136266921377811] [commitTS=457136266934747137] [2025/04/05 07:01:07.501 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136266921377811] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] [concurrency=8] [2025/04/05 07:01:07.509 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136266921377811] [startKey=7480000000000001215f728000000000000000] [endKey=7480000000000001215f728000000000002773] ["cost time"=7.933333ms] ["completed regions"=10] [2025/04/05 07:01:07.509 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136266921377811] [commitTS=457136266934747137] [session=9] [2025/04/05 07:01:07.512 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [] [2025/04/05 07:01:07.512 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:07.512 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.512 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:07.512 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:07.512 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:07.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 10, tp general"] ["take time"=44.41µs] [2025/04/05 07:01:07.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 11, tp general"] ["take time"=40.616µs] [2025/04/05 07:01:07.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 12, tp general"] ["take time"=38.322µs] [2025/04/05 07:01:07.512 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 13, tp general"] ["take time"=35.332µs] [2025/04/05 07:01:07.512 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.512 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.513 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:07.513 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:07.515 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=810247d3-fa84-4914-b61c-ac71b7af3a81] ["take time"=3.06926ms] [2025/04/05 07:01:07.515 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.515 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:07.515 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6db1ffb1-dd29-4bf6-abe7-8ae0a07ddb99] [2025/04/05 07:01:07.515 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [ttl-worker=task-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [originalCount=4] [newCount=0] [2025/04/05 07:01:07.515 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:07.515 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:07.515 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:07.515 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:07.515 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [ttl-worker=task-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [originalCount=4] [newCount=0] [2025/04/05 07:01:07.517 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:07.518 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:07.518 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:07.518 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:07.520 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.520 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1195] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:07.521 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:07.521 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:07.521 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [2025/04/05 07:01:07.522 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:07.522 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [2025/04/05 07:01:07.521 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.522 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.522 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.523 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:07.523 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e653c261-058e-4fb7-87eb-62915b8e4444] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:07.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:07.524 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:07.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:07.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:07.524 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:07.524 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [error="context canceled"] [2025/04/05 07:01:07.524 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:07.524 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:07.524 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:07.524 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:07.524 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [error="context canceled"] [2025/04/05 07:01:07.525 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [2025/04/05 07:01:07.525 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [error="context canceled"] [2025/04/05 07:01:07.525 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=810247d3-fa84-4914-b61c-ac71b7af3a81] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:07.541 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:07.541 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:07.583 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:07.583 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:07.593 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=81.4467ms] [2025/04/05 07:01:08.466 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:12.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136266882056231 commit_ts:457136266895163393 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:12.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136266882056231 commit_ts:457136266895163393 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:12.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136266882056231 commit_ts:457136266895163393 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:12.373 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136266895163396 commit_ts:457136266895163397 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:12.373 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136266895163396 commit_ts:457136266895163397 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:12.373 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136266895163396 commit_ts:457136266895163397 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:12.510 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136266921377811 commit_ts:457136266934747137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:12.510 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136266921377811 commit_ts:457136266934747137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:12.510 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136266921377811 commit_ts:457136266934747137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:12.510 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:12.510 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:12.510 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:12.510 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:12.510 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:12.511 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:12.511 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:12.511 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:12.511 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-4] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:12.511 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:12.511 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:12.511 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:12.512 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsert (6.06s) === NAME === RUN TestPipelinedDMLInsertIgnore [2025/04/05 07:01:12.519 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:12.520 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:12.520 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:12.521 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:12.521 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:12.521 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:12.521 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:12.521 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:12.521 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:12.521 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:12.522 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:12.525 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:12.529 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:12.530 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:12.530 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:12.539 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:12.548 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:12.582 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1632] ["lease id"=3eaa9604bcf9557e] [2025/04/05 07:01:12.584 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:12.668 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=258] ["elapsed time"=81.346151ms] [2025/04/05 07:01:12.668 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:12.670 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:12.679 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:12.679 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:12.681 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.682 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:12.682 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183205376/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:12.683 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:12.683 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:12.683 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [2025/04/05 07:01:12.685 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf956d2] [ownerID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [op=none] [2025/04/05 07:01:12.685 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.685 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf956d2] [currRev=1285] [2025/04/05 07:01:12.685 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:12.685 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:12.686 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf95799] [ownerID=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [op=none] [2025/04/05 07:01:12.686 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [2025/04/05 07:01:12.686 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [ownerKey=/tidb/br-stream/owner/22319604bcf95799] [currRev=1285] [2025/04/05 07:01:12.686 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:12.687 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf956d2] [ownerID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [op=none] [2025/04/05 07:01:12.687 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [op=none] [2025/04/05 07:01:12.687 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:12.697 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.698 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:12.698 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:12.706 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:12.712 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:12.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:12.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:12.717 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:12.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:12.717 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:12.717 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:12.717 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:12.717 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:12.717 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:12.718 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:12.718 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:12.719 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:12.719 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:12.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:12.720 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:12.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:12.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:12.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:12.720 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:12.721 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf95588] [ownerID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [op=none] [2025/04/05 07:01:12.721 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.721 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ownerKey=/tidb/stats/owner/3eaa9604bcf95588] [currRev=1287] [2025/04/05 07:01:12.722 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:12.723 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/57b3a386-af9c-47c5-bb8d-84a4ca730eff] [2025/04/05 07:01:12.724 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ttl-worker=task-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [originalCount=0] [newCount=4] [2025/04/05 07:01:12.724 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ttl-worker=task-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [originalCount=0] [newCount=4] [2025/04/05 07:01:12.724 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:12.724 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:12.725 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:12.725 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:12.725 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836472725387722 [2025/04/05 07:01:12.728 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:12.736 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=17.442126ms] [2025/04/05 07:01:12.736 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:12.736 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:12.737 +00:00] [INFO] [set.go:172] ["set global var"] [conn=10] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:12.740 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:12.741 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=10] [schemaVersion=258] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:12.753 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:12.753 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:12.759 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.774 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=258] [neededSchemaVersion=259] ["elapsed time"=1.763876ms] [gotSchemaVersion=259] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.777 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=259] [2025/04/05 07:01:12.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=259] ["take time"=8.788694ms] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.787 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.802 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=259] [neededSchemaVersion=260] ["elapsed time"=1.705911ms] [gotSchemaVersion=260] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.805 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=260] [2025/04/05 07:01:12.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=260] ["take time"=8.228103ms] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.815 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:289, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.821 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 289, Old Table Name: _t)"] [2025/04/05 07:01:12.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=260] [neededSchemaVersion=261] ["elapsed time"=967.344µs] [gotSchemaVersion=261] [phyTblIDs="[289]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=291] [version=261] [2025/04/05 07:01:12.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=261] ["take time"=7.690773ms] [job="ID:291, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.846 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=291] [tableIDs="[289]"] [comment="drop table: table ID"] [2025/04/05 07:01:12.853 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=291] [jobType="drop table"] [2025/04/05 07:01:12.854 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=291] [conn=10] [job="ID:291, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:289, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.871 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=291] [2025/04/05 07:01:12.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:12.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:12.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=261] [neededSchemaVersion=262] ["elapsed time"=1.841465ms] [gotSchemaVersion=262] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=262] [2025/04/05 07:01:12.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=262] ["take time"=8.657485ms] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.930 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=262] [neededSchemaVersion=263] ["elapsed time"=1.814101ms] [gotSchemaVersion=263] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.934 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=263] [2025/04/05 07:01:12.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=263] ["take time"=8.461152ms] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:285, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.949 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 285, Old Table Name: t)"] [2025/04/05 07:01:12.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=263] [neededSchemaVersion=264] ["elapsed time"=1.034243ms] [gotSchemaVersion=264] [phyTblIDs="[285]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:12.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=292] [version=264] [2025/04/05 07:01: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=264] ["take time"=7.770605ms] [job="ID:292, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.975 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=292] [tableIDs="[285]"] [comment="drop table: table ID"] [2025/04/05 07:01:12.979 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=292] [jobType="drop table"] [2025/04/05 07:01:12.980 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=292] [conn=10] [job="ID:292, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:285, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.843 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:12.997 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=292] [2025/04/05 07:01:12.997 +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: 1743836472998246228 [2025/04/05 07:01:13.001 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=264] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:13.014 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:13.014 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:13.019 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 293, Table Name: t)"] [2025/04/05 07:01:13.038 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=264] [neededSchemaVersion=265] ["elapsed time"=1.884622ms] [gotSchemaVersion=265] [phyTblIDs="[293]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:13.041 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=294] [version=265] [2025/04/05 07:01:13.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=265] ["take time"=8.67397ms] [job="ID:294, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:12.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.053 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=294] [conn=11] [job="ID:294, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:12.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.064 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=294] [2025/04/05 07:01:13.064 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=265] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:13.076 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:13.076 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:13.081 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.085 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 295, Table Name: _t)"] [2025/04/05 07:01:13.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=265] [neededSchemaVersion=266] ["elapsed time"=1.550205ms] [gotSchemaVersion=266] [phyTblIDs="[295]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:13.103 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=296] [version=266] [2025/04/05 07:01:13.104 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=266] ["take time"=8.309779ms] [job="ID:296, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.114 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=296] [conn=11] [job="ID:296, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:13.125 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=296] [2025/04/05 07:01:13.125 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=11] [schemaVersion=266] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:13.128 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268402753549] [2025/04/05 07:01:13.132 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268402753553] [2025/04/05 07:01:13.136 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268402753556] [2025/04/05 07:01:13.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268402753560] [2025/04/05 07:01:13.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268402753563] [2025/04/05 07:01:13.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860739] [2025/04/05 07:01:13.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860742] [2025/04/05 07:01:13.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860745] [2025/04/05 07:01:13.162 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860748] [2025/04/05 07:01:13.167 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860751] [2025/04/05 07:01:13.171 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860754] [2025/04/05 07:01:13.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860757] [2025/04/05 07:01:13.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860760] [2025/04/05 07:01:13.183 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860763] [2025/04/05 07:01:13.187 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860767] [2025/04/05 07:01:13.191 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860773] [2025/04/05 07:01:13.195 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268415860776] [2025/04/05 07:01:13.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705795] [2025/04/05 07:01:13.202 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705798] [2025/04/05 07:01:13.207 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705801] [2025/04/05 07:01:13.210 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705804] [2025/04/05 07:01:13.214 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705807] [2025/04/05 07:01:13.218 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705810] [2025/04/05 07:01:13.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705813] [2025/04/05 07:01:13.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705816] [2025/04/05 07:01:13.230 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705819] [2025/04/05 07:01:13.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705822] [2025/04/05 07:01:13.237 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705825] [2025/04/05 07:01:13.241 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705829] [2025/04/05 07:01:13.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268428705832] [2025/04/05 07:01:13.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075139] [2025/04/05 07:01:13.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075142] [2025/04/05 07:01:13.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075145] [2025/04/05 07:01:13.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075148] [2025/04/05 07:01:13.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075151] [2025/04/05 07:01:13.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075154] [2025/04/05 07:01:13.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075157] [2025/04/05 07:01:13.275 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075160] [2025/04/05 07:01:13.278 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075163] [2025/04/05 07:01:13.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075166] [2025/04/05 07:01:13.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075169] [2025/04/05 07:01:13.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075173] [2025/04/05 07:01:13.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268442075176] [2025/04/05 07:01:13.297 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920195] [2025/04/05 07:01:13.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920198] [2025/04/05 07:01:13.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920201] [2025/04/05 07:01:13.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920204] [2025/04/05 07:01:13.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920207] [2025/04/05 07:01:13.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920210] [2025/04/05 07:01:13.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920214] [2025/04/05 07:01:13.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920217] [2025/04/05 07:01:13.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920220] [2025/04/05 07:01:13.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920224] [2025/04/05 07:01:13.344 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268454920227] [2025/04/05 07:01:13.347 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027395] [2025/04/05 07:01:13.351 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027398] [2025/04/05 07:01:13.355 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027401] [2025/04/05 07:01:13.358 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027404] [2025/04/05 07:01:13.362 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027407] [2025/04/05 07:01:13.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027410] [2025/04/05 07:01:13.369 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027413] [2025/04/05 07:01:13.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027416] [2025/04/05 07:01:13.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027419] [2025/04/05 07:01:13.380 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027422] [2025/04/05 07:01:13.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027425] [2025/04/05 07:01:13.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027428] [2025/04/05 07:01:13.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268468027432] [2025/04/05 07:01:13.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396738] [2025/04/05 07:01:13.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396741] [2025/04/05 07:01:13.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396744] [2025/04/05 07:01:13.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396747] [2025/04/05 07:01:13.411 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396750] [2025/04/05 07:01:13.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396753] [2025/04/05 07:01:13.419 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396756] [2025/04/05 07:01:13.423 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396759] [2025/04/05 07:01:13.427 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396762] [2025/04/05 07:01:13.431 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396765] [2025/04/05 07:01:13.434 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396769] [2025/04/05 07:01:13.438 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396774] [2025/04/05 07:01:13.442 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268481396778] [2025/04/05 07:01:13.446 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241794] [2025/04/05 07:01:13.450 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241797] [2025/04/05 07:01:13.453 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241800] [2025/04/05 07:01:13.457 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241803] [2025/04/05 07:01:13.461 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241806] [2025/04/05 07:01:13.464 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241809] [2025/04/05 07:01:13.468 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241812] [2025/04/05 07:01:13.472 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241815] [2025/04/05 07:01:13.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241818] [2025/04/05 07:01:13.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241821] [2025/04/05 07:01:13.483 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241824] [2025/04/05 07:01:13.487 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241827] [2025/04/05 07:01:13.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241831] [2025/04/05 07:01:13.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268494241834] [2025/04/05 07:01:13.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507348995] [2025/04/05 07:01:13.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507348998] [2025/04/05 07:01:13.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507349001] [2025/04/05 07:01:13.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507349004] [2025/04/05 07:01:13.513 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507349007] [2025/04/05 07:01:13.517 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136268507349010] [2025/04/05 07:01:13.527 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136268507349014] [generation=1] [session=11] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.184903ms] [2025/04/05 07:01:13.527 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136268507349014] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=36.525µs] [2025/04/05 07:01:13.527 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.39698ms] [total_duration=2.226616ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=290B] [startTS=457136268507349014] [2025/04/05 07:01:13.528 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136268507349014] [commitTS=457136268507349015] [2025/04/05 07:01:13.528 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136268507349014] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] [concurrency=8] [2025/04/05 07:01:13.533 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136268507349014] [startKey=7480000000000001275f728000000000000000] [endKey=7480000000000001275f728000000000000063] ["cost time"=4.889842ms] ["completed regions"=1] [2025/04/05 07:01:13.533 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136268507349014] [commitTS=457136268507349015] [session=11] [2025/04/05 07:01:13.541 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136268507349016] [generation=1] [session=11] [keys=90] [size=2.61kB] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=2.167605ms] [2025/04/05 07:01:13.541 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136268507349016] [generation=2] [session=11] [keys=0] [size=0B] ["flushed keys"=90] ["flushed size"=2.61kB] ["take time"=34.411µs] [2025/04/05 07:01:13.541 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=90] [flush_wait_duration=2.299176ms] [total_duration=10.817346ms] ["memdb traversal cache hit"=180] ["memdb traversal cache miss"=290] [size=2.61kB] [startTS=457136268507349016] [2025/04/05 07:01:13.542 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136268507349016] [commitTS=457136268507349018] [2025/04/05 07:01:13.542 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136268507349016] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] [concurrency=8] [2025/04/05 07:01:13.545 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136268507349016] [startKey=7480000000000001275f728000000000000001] [endKey=7480000000000001275f728000000000000062] ["cost time"=2.84082ms] ["completed regions"=1] [2025/04/05 07:01:13.545 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136268507349016] [commitTS=457136268507349018] [session=11] [2025/04/05 07:01:13.548 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:13.548 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [] [2025/04/05 07:01:13.548 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:13.548 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.548 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:13.549 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:13.549 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 14, tp general"] ["take time"=82.176µs] [2025/04/05 07:01:13.549 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 15, tp general"] ["take time"=60.531µs] [2025/04/05 07:01:13.549 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 16, tp general"] ["take time"=42.643µs] [2025/04/05 07:01:13.549 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 17, tp general"] ["take time"=42.481µs] [2025/04/05 07:01:13.549 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.549 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.550 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:13.550 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:13.552 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] ["take time"=3.971487ms] [2025/04/05 07:01:13.552 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.552 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:13.552 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/57b3a386-af9c-47c5-bb8d-84a4ca730eff] [2025/04/05 07:01:13.552 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ttl-worker=task-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [originalCount=4] [newCount=0] [2025/04/05 07:01:13.553 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:13.553 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:13.553 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:13.553 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:13.553 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [ttl-worker=task-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [originalCount=4] [newCount=0] [2025/04/05 07:01:13.555 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:13.555 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:13.556 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:13.556 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:13.558 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.558 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1632] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:13.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:13.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:13.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:13.559 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:13.559 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:13.559 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.560 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:13.560 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [2025/04/05 07:01:13.561 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.561 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [2025/04/05 07:01:13.560 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:13.561 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.561 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [2025/04/05 07:01:13.562 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:13.562 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:13.562 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6a8443ad-a48e-414d-b65b-07f8ffb20b37] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:13.562 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:13.562 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:13.562 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:13.562 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:13.562 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:13.562 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:13.562 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:13.562 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:13.563 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [error="context canceled"] [2025/04/05 07:01:13.563 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [2025/04/05 07:01:13.580 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:13.580 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:13.623 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=b02ed083-17be-4b5f-8f88-7b0b5de52cfe] [error="context canceled"] [2025/04/05 07:01:13.623 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:13.623 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:13.633 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.853786ms] [2025/04/05 07:01:14.525 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:18.534 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136268507349014 commit_ts:457136268507349015 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:18.535 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136268507349014 commit_ts:457136268507349015 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:18.535 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136268507349014 commit_ts:457136268507349015 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:18.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136268507349016 commit_ts:457136268507349018 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:18.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136268507349016 commit_ts:457136268507349018 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:18.546 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136268507349016 commit_ts:457136268507349018 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:18.547 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:18.547 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:18.547 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:18.547 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:18.547 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:18.547 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:18.547 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:18.547 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:18.547 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:18.547 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-5] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:18.547 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:18.547 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:18.548 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertIgnore (6.04s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdate [2025/04/05 07:01:18.558 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:18.558 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:18.559 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:18.560 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:18.560 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:18.560 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:18.560 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:18.560 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:18.560 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:18.560 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:18.561 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:18.564 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:18.570 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:18.570 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:18.571 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:18.581 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:18.591 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:18.626 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1621] ["lease id"=6f189604bcf95706] [2025/04/05 07:01:18.628 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:18.716 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=266] ["elapsed time"=85.381657ms] [2025/04/05 07:01:18.716 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:18.719 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:18.730 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=585e1632-1022-4da0-879c-246fa3bb534e] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:18.730 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:18.733 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.734 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:18.734 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183221760/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:18.734 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:18.735 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:18.735 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [2025/04/05 07:01:18.736 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf955ad] [ownerID=585e1632-1022-4da0-879c-246fa3bb534e] [op=none] [2025/04/05 07:01:18.736 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.737 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf955ad] [currRev=1325] [2025/04/05 07:01:18.737 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:18.737 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:18.738 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf955af] [ownerID=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [op=none] [2025/04/05 07:01:18.738 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [2025/04/05 07:01:18.738 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:18.738 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf955af] [currRev=1326] [2025/04/05 07:01:18.739 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf955ad] [ownerID=585e1632-1022-4da0-879c-246fa3bb534e] [op=none] [2025/04/05 07:01:18.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=585e1632-1022-4da0-879c-246fa3bb534e] [op=none] [2025/04/05 07:01:18.739 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:18.748 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.749 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:18.749 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:18.759 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:18.766 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:18.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:18.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:18.770 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:18.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:18.770 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:18.770 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:18.770 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:18.771 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:18.771 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:18.772 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:18.772 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:18.773 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:18.773 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:18.773 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:18.775 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf95710] [ownerID=585e1632-1022-4da0-879c-246fa3bb534e] [op=none] [2025/04/05 07:01:18.775 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.775 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:18.775 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [ownerKey=/tidb/stats/owner/6f189604bcf95710] [currRev=1328] [2025/04/05 07:01:18.778 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/8433cf40-37e5-426b-9a78-b36f4751b18e] [2025/04/05 07:01:18.778 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [ttl-worker=task-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [originalCount=0] [newCount=4] [2025/04/05 07:01:18.778 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:18.778 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [ttl-worker=task-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [originalCount=0] [newCount=4] [2025/04/05 07:01:18.778 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:18.778 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:18.778 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 07:01:18.778 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743836478779126335 [2025/04/05 07:01:18.784 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:18.790 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.57903ms] [2025/04/05 07:01:18.790 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:18.790 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:18.793 +00:00] [INFO] [set.go:172] ["set global var"] [conn=12] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:18.797 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:18.798 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=12] [schemaVersion=266] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:18.812 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:18.812 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:18.818 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.834 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=266] [neededSchemaVersion=267] ["elapsed time"=1.916172ms] [gotSchemaVersion=267] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:18.838 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=267] [2025/04/05 07:01:18.840 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=267] ["take time"=9.878122ms] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.851 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.866 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=267] [neededSchemaVersion=268] ["elapsed time"=1.941347ms] [gotSchemaVersion=268] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:18.870 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=268] [2025/04/05 07:01:18.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=268] ["take time"=9.07339ms] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.880 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:295, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.886 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 295, Old Table Name: _t)"] [2025/04/05 07:01:18.899 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=268] [neededSchemaVersion=269] ["elapsed time"=964.098µs] [gotSchemaVersion=269] [phyTblIDs="[295]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:18.903 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=297] [version=269] [2025/04/05 07:01:18.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=269] ["take time"=7.866265ms] [job="ID:297, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.914 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=297] [tableIDs="[295]"] [comment="drop table: table ID"] [2025/04/05 07:01:18.921 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=297] [jobType="drop table"] [2025/04/05 07:01:18.922 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=297] [conn=12] [job="ID:297, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:295, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.941 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=297] [2025/04/05 07:01:18.952 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:18.952 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:18.958 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.973 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=269] [neededSchemaVersion=270] ["elapsed time"=1.947426ms] [gotSchemaVersion=270] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:18.977 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=270] [2025/04/05 07:01:18.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=270] ["take time"=9.049882ms] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:18.988 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.003 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=270] [neededSchemaVersion=271] ["elapsed time"=1.878492ms] [gotSchemaVersion=271] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:19.007 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=271] [2025/04/05 07:01:19.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=271] ["take time"=8.995893ms] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.016 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:293, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.023 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 293, Old Table Name: t)"] [2025/04/05 07:01:19.035 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=271] [neededSchemaVersion=272] ["elapsed time"=1.073225ms] [gotSchemaVersion=272] [phyTblIDs="[293]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:19.038 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=298] [version=272] [2025/04/05 07:01:19.040 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=272] ["take time"=7.901468ms] [job="ID:298, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.049 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=298] [tableIDs="[293]"] [comment="drop table: table ID"] [2025/04/05 07:01:19.054 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=298] [jobType="drop table"] [2025/04/05 07:01:19.055 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=298] [conn=12] [job="ID:298, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:293, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:18.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.072 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=298] [2025/04/05 07:01:19.072 +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: 1743836479073071450 [2025/04/05 07:01:19.085 +00:00] [INFO] [set.go:172] ["set global var"] [conn=13] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:01:19.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=272] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:19.104 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:19.104 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:19.111 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.115 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 299, Table Name: t)"] [2025/04/05 07:01:19.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=272] [neededSchemaVersion=273] ["elapsed time"=1.589313ms] [gotSchemaVersion=273] [phyTblIDs="[299]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:19.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=300] [version=273] [2025/04/05 07:01:19.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=273] ["take time"=8.914438ms] [job="ID:300, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=300] [conn=13] [job="ID:300, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=300] [2025/04/05 07:01:19.159 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=273] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:19.172 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:19.172 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:19.178 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.182 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 301, Table Name: _t)"] [2025/04/05 07:01:19.196 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=273] [neededSchemaVersion=274] ["elapsed time"=1.575613ms] [gotSchemaVersion=274] [phyTblIDs="[301]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:19.200 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=302] [version=274] [2025/04/05 07:01:19.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=274] ["take time"=8.983653ms] [job="ID:302, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.213 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=302] [conn=13] [job="ID:302, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:19.224 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=302] [2025/04/05 07:01:19.224 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=13] [schemaVersion=274] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:19.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270001831947] [2025/04/05 07:01:19.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270001831951] [2025/04/05 07:01:19.235 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270001831954] [2025/04/05 07:01:19.239 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270001831960] [2025/04/05 07:01:19.243 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270001831964] [2025/04/05 07:01:19.247 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014676995] [2025/04/05 07:01:19.251 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014676998] [2025/04/05 07:01:19.255 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677001] [2025/04/05 07:01:19.259 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677004] [2025/04/05 07:01:19.263 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677007] [2025/04/05 07:01:19.266 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677010] [2025/04/05 07:01:19.270 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677013] [2025/04/05 07:01:19.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677016] [2025/04/05 07:01:19.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677019] [2025/04/05 07:01:19.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677022] [2025/04/05 07:01:19.285 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677025] [2025/04/05 07:01:19.289 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677028] [2025/04/05 07:01:19.293 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270014677032] [2025/04/05 07:01:19.296 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046338] [2025/04/05 07:01:19.300 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046341] [2025/04/05 07:01:19.304 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046344] [2025/04/05 07:01:19.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046347] [2025/04/05 07:01:19.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046350] [2025/04/05 07:01:19.316 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046353] [2025/04/05 07:01:19.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046356] [2025/04/05 07:01:19.323 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046359] [2025/04/05 07:01:19.327 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046362] [2025/04/05 07:01:19.330 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046365] [2025/04/05 07:01:19.334 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046368] [2025/04/05 07:01:19.337 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046371] [2025/04/05 07:01:19.341 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046375] [2025/04/05 07:01:19.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270028046378] [2025/04/05 07:01:19.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153539] [2025/04/05 07:01:19.352 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153542] [2025/04/05 07:01:19.356 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153545] [2025/04/05 07:01:19.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153548] [2025/04/05 07:01:19.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153551] [2025/04/05 07:01:19.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153554] [2025/04/05 07:01:19.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153557] [2025/04/05 07:01:19.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153560] [2025/04/05 07:01:19.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153563] [2025/04/05 07:01:19.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153567] [2025/04/05 07:01:19.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153570] [2025/04/05 07:01:19.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153573] [2025/04/05 07:01:19.393 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270041153577] [2025/04/05 07:01:19.397 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260738] [2025/04/05 07:01:19.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260741] [2025/04/05 07:01:19.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260744] [2025/04/05 07:01:19.408 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260747] [2025/04/05 07:01:19.412 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260750] [2025/04/05 07:01:19.415 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260753] [2025/04/05 07:01:19.419 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260756] [2025/04/05 07:01:19.422 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260759] [2025/04/05 07:01:19.426 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260762] [2025/04/05 07:01:19.430 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260765] [2025/04/05 07:01:19.433 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260768] [2025/04/05 07:01:19.437 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260771] [2025/04/05 07:01:19.441 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260775] [2025/04/05 07:01:19.445 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270054260778] [2025/04/05 07:01:19.448 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105795] [2025/04/05 07:01:19.452 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105798] [2025/04/05 07:01:19.456 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105801] [2025/04/05 07:01:19.468 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105806] [2025/04/05 07:01:19.473 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105809] [2025/04/05 07:01:19.477 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105812] [2025/04/05 07:01:19.481 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105815] [2025/04/05 07:01:19.486 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105818] [2025/04/05 07:01:19.490 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105824] [2025/04/05 07:01:19.494 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270067105828] [2025/04/05 07:01:19.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475139] [2025/04/05 07:01:19.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475142] [2025/04/05 07:01:19.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475145] [2025/04/05 07:01:19.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475148] [2025/04/05 07:01:19.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475151] [2025/04/05 07:01:19.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475154] [2025/04/05 07:01:19.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475157] [2025/04/05 07:01:19.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475160] [2025/04/05 07:01:19.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475163] [2025/04/05 07:01:19.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475166] [2025/04/05 07:01:19.538 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475169] [2025/04/05 07:01:19.542 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270080475173] [2025/04/05 07:01:19.546 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320194] [2025/04/05 07:01:19.550 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320197] [2025/04/05 07:01:19.554 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320200] [2025/04/05 07:01:19.558 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320203] [2025/04/05 07:01:19.562 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320206] [2025/04/05 07:01:19.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320209] [2025/04/05 07:01:19.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320212] [2025/04/05 07:01:19.573 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320215] [2025/04/05 07:01:19.577 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320218] [2025/04/05 07:01:19.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320221] [2025/04/05 07:01:19.585 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320224] [2025/04/05 07:01:19.589 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320227] [2025/04/05 07:01:19.593 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270093320231] [2025/04/05 07:01:19.597 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427394] [2025/04/05 07:01:19.601 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427397] [2025/04/05 07:01:19.605 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427400] [2025/04/05 07:01:19.608 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427403] [2025/04/05 07:01:19.612 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427406] [2025/04/05 07:01:19.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136270106427409] [2025/04/05 07:01:19.641 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:19.641 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [] [2025/04/05 07:01:19.641 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.642 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:19.642 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:19.642 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:19.642 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 18, tp general"] ["take time"=83.096µs] [2025/04/05 07:01:19.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 19, tp general"] ["take time"=90.69µs] [2025/04/05 07:01:19.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 20, tp general"] ["take time"=72.588µs] [2025/04/05 07:01:19.643 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 21, tp general"] ["take time"=75.104µs] [2025/04/05 07:01:19.643 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.643 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.644 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:19.644 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:19.647 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=585e1632-1022-4da0-879c-246fa3bb534e] ["take time"=5.91538ms] [2025/04/05 07:01:19.647 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.647 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:19.647 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/8433cf40-37e5-426b-9a78-b36f4751b18e] [2025/04/05 07:01:19.647 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [ttl-worker=task-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [originalCount=4] [newCount=0] [2025/04/05 07:01:19.648 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:19.648 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:19.648 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:19.648 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:19.648 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [ttl-worker=task-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [originalCount=4] [newCount=0] [2025/04/05 07:01:19.650 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:19.651 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:19.651 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:19.651 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:19.653 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.653 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1621] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:19.655 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:19.654 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [2025/04/05 07:01:19.654 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:19.654 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [2025/04/05 07:01:19.655 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.654 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:19.655 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [2025/04/05 07:01:19.655 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:19.655 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:19.656 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.656 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.657 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:19.657 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:19.657 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:19.657 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:19.657 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:19.657 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:19.657 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:19.657 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=3e5b3f1d-07d7-416c-9487-e30d818cfd17] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:19.657 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:19.657 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:19.658 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:19.659 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [error="context canceled"] [2025/04/05 07:01:19.659 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [2025/04/05 07:01:19.659 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [error="context canceled"] [2025/04/05 07:01:19.659 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=585e1632-1022-4da0-879c-246fa3bb534e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:19.677 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:19.677 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:19.723 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:19.723 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:19.734 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=92.572898ms] [2025/04/05 07:01:19.736 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:19.736 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:19.736 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:19.736 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:19.736 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:19.736 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:19.736 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:19.737 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:19.737 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:19.736 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-6] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:19.737 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:19.737 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:19.738 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.19s) === NAME === RUN TestPipelinedDMLInsertRPC [2025/04/05 07:01:19.745 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:19.746 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:19.747 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:19.747 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:19.747 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:19.748 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:19.748 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:19.748 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:19.748 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:19.748 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:19.748 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:19.753 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:19.758 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:19.759 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:19.759 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:19.769 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:19.779 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:19.814 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1625] ["lease id"=3eaa9604bcf955cb] [2025/04/05 07:01:19.815 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:19.904 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=274] ["elapsed time"=86.460777ms] [2025/04/05 07:01:19.905 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:19.907 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:19.917 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=fab246e1-5a2f-49ea-999a-aa8785ed132f] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:19.917 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:19.919 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.920 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:19.920 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237183246336/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:19.920 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:19.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:19.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:19.921 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:19.921 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:19.921 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:19.921 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:19.921 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [2025/04/05 07:01:19.922 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf957e3] [ownerID=fab246e1-5a2f-49ea-999a-aa8785ed132f] [op=none] [2025/04/05 07:01:19.922 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.923 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ownerKey=/tidb/ddl/fg/owner/22319604bcf957e3] [currRev=1365] [2025/04/05 07:01:19.923 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:19.923 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:19.924 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:19.924 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf957e5] [ownerID=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [op=none] [2025/04/05 07:01:19.924 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [2025/04/05 07:01:19.924 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [ownerKey=/tidb/br-stream/owner/22319604bcf957e5] [currRev=1366] [2025/04/05 07:01:19.924 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf957e3] [ownerID=fab246e1-5a2f-49ea-999a-aa8785ed132f] [op=none] [2025/04/05 07:01:19.924 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [op=none] [2025/04/05 07:01:19.924 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:19.934 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.935 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:19.935 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:19.944 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:19.951 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:19.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:19.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:19.955 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:19.956 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:19.955 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:19.956 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:19.956 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:19.956 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:19.956 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:19.957 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:19.957 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:19.958 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:19.958 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:19.960 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/3eaa9604bcf955d5] [ownerID=fab246e1-5a2f-49ea-999a-aa8785ed132f] [op=none] [2025/04/05 07:01:19.960 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.960 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ownerKey=/tidb/stats/owner/3eaa9604bcf955d5] [currRev=1368] [2025/04/05 07:01:19.960 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:19.962 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/6bc17d22-3f16-44f3-b98e-0fa89a95b505] [2025/04/05 07:01:19.963 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ttl-worker=task-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [originalCount=0] [newCount=4] [2025/04/05 07:01:19.963 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ttl-worker=task-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [originalCount=0] [newCount=4] [2025/04/05 07:01:19.963 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:19.963 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:19.963 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:19.963 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:19.963 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836479964113799 [2025/04/05 07:01:19.968 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:19.975 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.291483ms] [2025/04/05 07:01:19.975 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:19.975 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:19.978 +00:00] [INFO] [set.go:172] ["set global var"] [conn=14] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:19.981 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:19.982 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=14] [schemaVersion=274] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:19.995 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:19.995 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:20.001 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.016 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=274] [neededSchemaVersion=275] ["elapsed time"=1.882652ms] [gotSchemaVersion=275] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.020 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=275] [2025/04/05 07:01:20.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=275] ["take time"=9.141129ms] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.032 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=275] [neededSchemaVersion=276] ["elapsed time"=1.77469ms] [gotSchemaVersion=276] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.051 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=276] [2025/04/05 07:01:20.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=276] ["take time"=8.631877ms] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.061 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:301, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.067 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 301, Old Table Name: _t)"] [2025/04/05 07:01:20.081 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=276] [neededSchemaVersion=277] ["elapsed time"=1.67605ms] [gotSchemaVersion=277] [phyTblIDs="[301]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.085 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=303] [version=277] [2025/04/05 07:01:20.087 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=277] ["take time"=9.526107ms] [job="ID:303, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.097 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=303] [tableIDs="[301]"] [comment="drop table: table ID"] [2025/04/05 07:01:20.104 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=303] [jobType="drop table"] [2025/04/05 07:01:20.105 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=303] [conn=14] [job="ID:303, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:301, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:19.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.124 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=303] [2025/04/05 07:01:20.135 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:20.135 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.140 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.158 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=277] [neededSchemaVersion=278] ["elapsed time"=1.995949ms] [gotSchemaVersion=278] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.163 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=278] [2025/04/05 07:01:20.164 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=278] ["take time"=10.033796ms] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.175 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=278] [neededSchemaVersion=279] ["elapsed time"=1.955294ms] [gotSchemaVersion=279] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.194 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=279] [2025/04/05 07:01:20.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=279] ["take time"=8.781737ms] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.204 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:299, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.211 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 299, Old Table Name: t)"] [2025/04/05 07:01:20.224 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=279] [neededSchemaVersion=280] ["elapsed time"=1.123436ms] [gotSchemaVersion=280] [phyTblIDs="[299]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.228 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=304] [version=280] [2025/04/05 07:01:20.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=280] ["take time"=8.392107ms] [job="ID:304, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.239 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=304] [tableIDs="[299]"] [comment="drop table: table ID"] [2025/04/05 07:01:20.243 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=304] [jobType="drop table"] [2025/04/05 07:01:20.244 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=304] [conn=14] [job="ID:304, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:299, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.265 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=304] [2025/04/05 07:01:20.266 +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: 1743836480266795213 [2025/04/05 07:01:20.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=280] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:20.290 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.290 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 07:01:20.297 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.302 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 305, Table Name: t1)"] [2025/04/05 07:01:20.318 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=280] [neededSchemaVersion=281] ["elapsed time"=1.475584ms] [gotSchemaVersion=281] [phyTblIDs="[305]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:20.415 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=306] [version=281] [2025/04/05 07:01:20.418 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=281] ["take time"=103.819129ms] [job="ID:306, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=306] [conn=15] [job="ID:306, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.444 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=306] [2025/04/05 07:01:20.444 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=281] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 07:01:20.463 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.463 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 07:01:20.469 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.474 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 307, Table Name: _t1)"] [2025/04/05 07:01:20.489 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=281] [neededSchemaVersion=282] ["elapsed time"=1.574973ms] [gotSchemaVersion=282] [phyTblIDs="[307]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:20.492 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=308] [version=282] [2025/04/05 07:01:20.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=282] ["take time"=8.877318ms] [job="ID:308, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.505 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=308] [conn=15] [job="ID:308, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.516 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=308] [2025/04/05 07:01:20.517 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=282] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/05 07:01:20.540 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:20.540 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.546 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:307, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.553 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 309, Table Name: _t1, Old Table ID: 307, Old Table Name: _t1)"] [2025/04/05 07:01:20.567 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=282] [neededSchemaVersion=283] ["elapsed time"=1.588789ms] [gotSchemaVersion=283] [phyTblIDs="[307,309]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:20.570 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=310] [version=283] [2025/04/05 07:01:20.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=283] ["take time"=8.945321ms] [job="ID:310, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.584 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=310] [tableIDs="[307]"] [comment="truncate table: table ID"] [2025/04/05 07:01:20.589 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=310] [jobType="truncate table"] [2025/04/05 07:01:20.590 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=310] [conn=15] [job="ID:310, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:307, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.493 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.608 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=310] [2025/04/05 07:01:20.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=283] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:20.616 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270368833543] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.050406ms] [2025/04/05 07:01:20.616 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.360039ms] [total_duration=6.067372ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270368833543] [2025/04/05 07:01:20.617 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270368833543] [commitTS=457136270368833546] [2025/04/05 07:01:20.618 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270368833543] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] [concurrency=8] [2025/04/05 07:01:20.622 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270368833543] [startKey=7480000000000001355f728000000000000001] [endKey=7480000000000001355f728000000000000005] ["cost time"=4.484922ms] ["completed regions"=1] [2025/04/05 07:01:20.622 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270368833543] [commitTS=457136270368833546] [session=15] [2025/04/05 07:01:20.632 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.632 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:20.638 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:309, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.645 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 311, Table Name: _t1, Old Table ID: 309, Old Table Name: _t1)"] [2025/04/05 07:01:20.659 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=283] [neededSchemaVersion=284] ["elapsed time"=1.500906ms] [gotSchemaVersion=284] [phyTblIDs="[309,311]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:20.663 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=312] [version=284] [2025/04/05 07:01:20.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=284] ["take time"=8.580052ms] [job="ID:312, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.675 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=312] [tableIDs="[309]"] [comment="truncate table: table ID"] [2025/04/05 07:01:20.680 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=312] [jobType="truncate table"] [2025/04/05 07:01:20.681 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=312] [conn=15] [job="ID:312, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:309, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.698 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=312] [2025/04/05 07:01:20.699 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=284] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:20.705 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270394785794] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=1.035398ms] [2025/04/05 07:01:20.705 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.119149ms] [total_duration=5.381962ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136270394785794] [2025/04/05 07:01:20.707 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270394785794] [commitTS=457136270394785797] [2025/04/05 07:01:20.707 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270394785794] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] [concurrency=8] [2025/04/05 07:01:20.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270394785794] [startKey=7480000000000001375f728000000000000001] [endKey=7480000000000001375f728000000000000005] ["cost time"=2.408496ms] ["completed regions"=1] [2025/04/05 07:01:20.709 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270394785794] [commitTS=457136270394785797] [session=15] [2025/04/05 07:01:20.715 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270394785798] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=962.633µs] [2025/04/05 07:01:20.715 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.089477ms] [total_duration=2.537939ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136270394785798] [2025/04/05 07:01:20.716 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270394785798] [commitTS=457136270394785799] [2025/04/05 07:01:20.716 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270394785798] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] [concurrency=8] [2025/04/05 07:01:20.719 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270394785798] [startKey=7480000000000001375f728000000000000006] [endKey=7480000000000001375f72800000000000000a] ["cost time"=2.204715ms] ["completed regions"=1] [2025/04/05 07:01:20.719 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270394785798] [commitTS=457136270394785799] [session=15] [2025/04/05 07:01:20.723 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270394785800] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=856.033µs] [2025/04/05 07:01:20.723 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=955.61µs] [total_duration=2.53505ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270394785800] [2025/04/05 07:01:20.724 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270394785800] [commitTS=457136270394785801] [2025/04/05 07:01:20.724 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270394785800] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] [concurrency=8] [2025/04/05 07:01:20.726 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270394785800] [startKey=7480000000000001375f72800000000000000b] [endKey=7480000000000001375f72800000000000000f] ["cost time"=1.855931ms] ["completed regions"=1] [2025/04/05 07:01:20.726 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270394785800] [commitTS=457136270394785801] [session=15] [2025/04/05 07:01:20.730 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270394785803] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=984.506µs] [2025/04/05 07:01:20.731 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.086527ms] [total_duration=2.563854ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270394785803] [2025/04/05 07:01:20.732 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270394785803] [commitTS=457136270394785804] [2025/04/05 07:01:20.732 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270394785803] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] [concurrency=8] [2025/04/05 07:01:20.734 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270394785803] [startKey=7480000000000001375f728000000000000010] [endKey=7480000000000001375f728000000000000014] ["cost time"=1.90154ms] ["completed regions"=1] [2025/04/05 07:01:20.734 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270394785803] [commitTS=457136270394785804] [session=15] [2025/04/05 07:01:20.745 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:20.745 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.751 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.765 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=284] [neededSchemaVersion=285] ["elapsed time"=1.831711ms] [gotSchemaVersion=285] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.769 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=285] [2025/04/05 07:01:20.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=285] ["take time"=8.22367ms] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.779 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.794 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=285] [neededSchemaVersion=286] ["elapsed time"=1.895995ms] [gotSchemaVersion=286] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.797 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=286] [2025/04/05 07:01:20.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=286] ["take time"=9.025367ms] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:305, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.813 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 305, Old Table Name: t1)"] [2025/04/05 07:01:20.826 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=286] [neededSchemaVersion=287] ["elapsed time"=1.058838ms] [gotSchemaVersion=287] [phyTblIDs="[305]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.830 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=313] [version=287] [2025/04/05 07:01:20.831 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=287] ["take time"=7.986135ms] [job="ID:313, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.840 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=313] [tableIDs="[305]"] [comment="drop table: table ID"] [2025/04/05 07:01:20.844 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=313] [jobType="drop table"] [2025/04/05 07:01:20.845 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=313] [conn=15] [job="ID:313, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:305, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.862 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=313] [2025/04/05 07:01:20.873 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:20.873 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:20.879 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.893 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=287] [neededSchemaVersion=288] ["elapsed time"=1.863474ms] [gotSchemaVersion=288] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.897 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=288] [2025/04/05 07:01:20.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=288] ["take time"=8.830448ms] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.908 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.922 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=288] [neededSchemaVersion=289] ["elapsed time"=1.922867ms] [gotSchemaVersion=289] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.926 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=289] [2025/04/05 07:01:20.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=289] ["take time"=9.121833ms] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.929 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 07:01:20.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:20.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:20.929 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:20.936 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:311, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.941 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 311, Old Table Name: _t1)"] [2025/04/05 07:01:20.953 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=289] [neededSchemaVersion=290] ["elapsed time"=969.475µs] [gotSchemaVersion=290] [phyTblIDs="[311]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:20.957 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=314] [version=290] [2025/04/05 07:01:20.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=290] ["take time"=7.829507ms] [job="ID:314, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.962 +00:00] [INFO] [runtime.go:172] ["TimerGroupRuntime loop started"] [groupID=ttl] [2025/04/05 07:01:20.962 +00:00] [INFO] [runtime.go:450] ["create watch chan if possible for timer runtime"] [groupID=ttl] [storeSupportWatch=true] [2025/04/05 07:01:20.963 +00:00] [INFO] [notifier.go:140] ["new etcd watcher created to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6bc17d22-3f16-44f3-b98e-0fa89a95b505] [watcherID=680e9033-8312-404b-89f3-397b5ce283ad] [2025/04/05 07:01:20.964 +00:00] [INFO] [slots.go:205] ["initialize slot capacity"] [capacity=16] [2025/04/05 07:01:20.968 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=314] [tableIDs="[311]"] [comment="drop table: table ID"] [2025/04/05 07:01:20.970 +00:00] [INFO] [scheduler_manager.go:366] ["cleanup loop start"] [server-id=:4000] [2025/04/05 07:01:20.970 +00:00] [INFO] [scheduler_manager.go:302] ["subtask table gc loop start"] [server-id=:4000] [2025/04/05 07:01:20.970 +00:00] [INFO] [scheduler_manager.go:198] ["schedule task loop start"] [server-id=:4000] [2025/04/05 07:01:20.970 +00:00] [INFO] [scheduler_manager.go:442] ["collect loop start"] [server-id=:4000] [2025/04/05 07:01:20.973 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=314] [jobType="drop table"] [2025/04/05 07:01:20.974 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=314] [conn=15] [job="ID:314, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:311, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:20.991 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=314] [2025/04/05 07:01:20.992 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=290] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:21.005 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.005 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int)"] [2025/04/05 07:01:21.010 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.015 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 315, Table Name: _t1)"] [2025/04/05 07:01:21.029 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=290] [neededSchemaVersion=291] ["elapsed time"=1.508669ms] [gotSchemaVersion=291] [phyTblIDs="[315]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:21.032 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=316] [version=291] [2025/04/05 07:01:21.034 +00:00] [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.551165ms] [job="ID:316, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.045 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=316] [conn=15] [job="ID:316, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:20.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.058 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=316] [2025/04/05 07:01:21.058 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=291] [cur_db=test] [sql="create table _t1 (a int, b int)"] [user=] [2025/04/05 07:01:21.079 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.079 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:21.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:315, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.091 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 317, Table Name: _t1, Old Table ID: 315, Old Table Name: _t1)"] [2025/04/05 07:01:21.106 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=291] [neededSchemaVersion=292] ["elapsed time"=1.536952ms] [gotSchemaVersion=292] [phyTblIDs="[315,317]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:21.109 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=318] [version=292] [2025/04/05 07:01:21.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=292] ["take time"=8.502181ms] [job="ID:318, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.121 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=318] [tableIDs="[315]"] [comment="truncate table: table ID"] [2025/04/05 07:01:21.125 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=318] [jobType="truncate table"] [2025/04/05 07:01:21.126 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=318] [conn=15] [job="ID:318, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:315, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.143 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=318] [2025/04/05 07:01:21.144 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=292] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:21.149 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270513012737] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=953.911µs] [2025/04/05 07:01:21.149 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.050771ms] [total_duration=4.538975ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270513012737] [2025/04/05 07:01:21.150 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270513012737] [commitTS=457136270513012740] [2025/04/05 07:01:21.151 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270513012737] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.153 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270513012737] [startKey=74800000000000013d5f728000000000000001] [endKey=74800000000000013d5f728000000000000005] ["cost time"=2.332263ms] ["completed regions"=1] [2025/04/05 07:01:21.153 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270513012737] [commitTS=457136270513012740] [session=15] [2025/04/05 07:01:21.164 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.164 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:21.169 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:317, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.177 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 319, Table Name: _t1, Old Table ID: 317, Old Table Name: _t1)"] [2025/04/05 07:01:21.191 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=292] [neededSchemaVersion=293] ["elapsed time"=1.493478ms] [gotSchemaVersion=293] [phyTblIDs="[317,319]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:21.195 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=320] [version=293] [2025/04/05 07:01:21.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=293] ["take time"=8.305662ms] [job="ID:320, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.206 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=320] [tableIDs="[317]"] [comment="truncate table: table ID"] [2025/04/05 07:01:21.211 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=320] [jobType="truncate table"] [2025/04/05 07:01:21.212 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=320] [conn=15] [job="ID:320, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:317, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.228 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=320] [2025/04/05 07:01:21.229 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=293] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:21.234 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270526119950] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=951.528µs] [2025/04/05 07:01:21.234 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.046001ms] [total_duration=4.266158ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136270526119950] [2025/04/05 07:01:21.235 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270526119950] [commitTS=457136270526119953] [2025/04/05 07:01:21.235 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270526119950] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.237 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270526119950] [startKey=74800000000000013f5f728000000000000001] [endKey=74800000000000013f5f728000000000000005] ["cost time"=2.061459ms] ["completed regions"=1] [2025/04/05 07:01:21.238 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270526119950] [commitTS=457136270526119953] [session=15] [2025/04/05 07:01:21.241 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270526119954] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=858.737µs] [2025/04/05 07:01:21.241 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=943.726µs] [total_duration=1.524239ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=5] [size=165B] [startTS=457136270526119954] [2025/04/05 07:01:21.242 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270526119954] [commitTS=457136270526119955] [2025/04/05 07:01:21.242 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270526119954] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] [concurrency=8] [2025/04/05 07:01:21.244 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270526119954] [startKey=74800000000000013f5f728000000000000006] [endKey=74800000000000013f5f72800000000000000a] ["cost time"=1.953939ms] ["completed regions"=1] [2025/04/05 07:01:21.244 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270526119954] [commitTS=457136270526119955] [session=15] [2025/04/05 07:01:21.246 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270526119956] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=915.856µs] [2025/04/05 07:01:21.246 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.005766ms] [total_duration=1.648183ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270526119956] [2025/04/05 07:01:21.248 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270526119956] [commitTS=457136270538964993] [2025/04/05 07:01:21.248 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270526119956] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] [concurrency=8] [2025/04/05 07:01:21.250 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270526119956] [startKey=74800000000000013f5f72800000000000000b] [endKey=74800000000000013f5f72800000000000000f] ["cost time"=1.975422ms] ["completed regions"=1] [2025/04/05 07:01:21.250 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270526119956] [commitTS=457136270538964993] [session=15] [2025/04/05 07:01:21.252 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270538964994] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=862.151µs] [2025/04/05 07:01:21.252 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=943.019µs] [total_duration=1.551562ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270538964994] [2025/04/05 07:01:21.253 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270538964994] [commitTS=457136270538964995] [2025/04/05 07:01:21.253 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270538964994] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] [concurrency=8] [2025/04/05 07:01:21.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270538964994] [startKey=74800000000000013f5f728000000000000010] [endKey=74800000000000013f5f728000000000000014] ["cost time"=2.01868ms] ["completed regions"=1] [2025/04/05 07:01:21.255 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270538964994] [commitTS=457136270538964995] [session=15] [2025/04/05 07:01:21.265 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:21.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.286 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=293] [neededSchemaVersion=294] ["elapsed time"=1.912316ms] [gotSchemaVersion=294] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.289 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=294] [2025/04/05 07:01:21.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=294] ["take time"=9.031124ms] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.300 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.315 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=294] [neededSchemaVersion=295] ["elapsed time"=1.806999ms] [gotSchemaVersion=295] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.319 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=295] [2025/04/05 07:01:21.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=295] ["take time"=8.713842ms] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.329 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:319, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.334 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 319, Old Table Name: _t1)"] [2025/04/05 07:01:21.347 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=295] [neededSchemaVersion=296] ["elapsed time"=1.058721ms] [gotSchemaVersion=296] [phyTblIDs="[319]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=321] [version=296] [2025/04/05 07:01:21.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=296] ["take time"=7.847115ms] [job="ID:321, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.361 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=321] [tableIDs="[319]"] [comment="drop table: table ID"] [2025/04/05 07:01:21.366 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=321] [jobType="drop table"] [2025/04/05 07:01:21.366 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=321] [conn=15] [job="ID:321, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:319, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.384 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=321] [2025/04/05 07:01:21.384 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=296] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:21.396 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.396 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 07:01:21.402 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.406 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 322, Table Name: t1)"] [2025/04/05 07:01:21.420 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=296] [neededSchemaVersion=297] ["elapsed time"=1.470029ms] [gotSchemaVersion=297] [phyTblIDs="[322]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:21.424 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=323] [version=297] [2025/04/05 07:01:21.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=297] ["take time"=8.089861ms] [job="ID:323, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.437 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=323] [conn=15] [job="ID:323, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.448 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=323] [2025/04/05 07:01:21.448 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=297] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 07:01:21.454 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270591655939] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=976.611µs] [2025/04/05 07:01:21.454 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.079551ms] [total_duration=4.76309ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270591655939] [2025/04/05 07:01:21.455 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270591655939] [commitTS=457136270591655943] [2025/04/05 07:01:21.456 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270591655939] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.458 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270591655939] [startKey=7480000000000001425f728000000000000001] [endKey=7480000000000001425f728000000000000005] ["cost time"=1.935875ms] ["completed regions"=1] [2025/04/05 07:01:21.458 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270591655939] [commitTS=457136270591655943] [session=15] [2025/04/05 07:01:21.469 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.469 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 07:01:21.474 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.479 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 324, Table Name: _t1)"] [2025/04/05 07:01:21.494 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=297] [neededSchemaVersion=298] ["elapsed time"=1.551746ms] [gotSchemaVersion=298] [phyTblIDs="[324]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:21.497 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=325] [version=298] [2025/04/05 07:01:21.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=298] ["take time"=8.686405ms] [job="ID:325, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.510 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=325] [conn=15] [job="ID:325, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.521 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=325] [2025/04/05 07:01:21.522 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=298] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/05 07:01:21.542 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.542 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:21.547 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:324, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.554 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 326, Table Name: _t1, Old Table ID: 324, Old Table Name: _t1)"] [2025/04/05 07:01:21.569 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=298] [neededSchemaVersion=299] ["elapsed time"=1.514325ms] [gotSchemaVersion=299] [phyTblIDs="[324,326]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:21.572 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=327] [version=299] [2025/04/05 07:01:21.574 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=299] ["take time"=8.546595ms] [job="ID:327, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.585 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=327] [tableIDs="[324]"] [comment="truncate table: table ID"] [2025/04/05 07:01:21.589 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=327] [jobType="truncate table"] [2025/04/05 07:01:21.590 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=327] [conn=15] [job="ID:327, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:324, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.607 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=327] [2025/04/05 07:01:21.608 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=299] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:21.612 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270630977543] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.077173ms] [2025/04/05 07:01:21.612 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.176485ms] [total_duration=2.7449ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457136270630977543] [2025/04/05 07:01:21.613 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270630977543] [commitTS=457136270630977544] [2025/04/05 07:01:21.613 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270630977543] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.616 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270630977543] [startKey=7480000000000001465f728000000000000001] [endKey=7480000000000001465f728000000000000005] ["cost time"=2.258683ms] ["completed regions"=1] [2025/04/05 07:01:21.616 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270630977543] [commitTS=457136270630977544] [session=15] [2025/04/05 07:01:21.626 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.626 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:21.630 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:326, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.638 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 328, Table Name: _t1, Old Table ID: 326, Old Table Name: _t1)"] [2025/04/05 07:01:21.652 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=299] [neededSchemaVersion=300] ["elapsed time"=1.542103ms] [gotSchemaVersion=300] [phyTblIDs="[326,328]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:21.656 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=329] [version=300] [2025/04/05 07:01:21.657 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=300] ["take time"=8.382216ms] [job="ID:329, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.668 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=329] [tableIDs="[326]"] [comment="truncate table: table ID"] [2025/04/05 07:01:21.673 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=329] [jobType="truncate table"] [2025/04/05 07:01:21.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=329] [conn=15] [job="ID:329, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:326, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.692 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=329] [2025/04/05 07:01:21.692 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=300] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:21.698 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270644084757] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.136931ms] [2025/04/05 07:01:21.698 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.254568ms] [total_duration=4.069318ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457136270644084757] [2025/04/05 07:01:21.699 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270644084757] [commitTS=457136270657191937] [2025/04/05 07:01:21.699 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270644084757] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.702 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270644084757] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.190477ms] ["completed regions"=1] [2025/04/05 07:01:21.702 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270644084757] [commitTS=457136270657191937] [session=15] [2025/04/05 07:01:21.718 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270657191939] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.328476ms] [2025/04/05 07:01:21.718 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.438114ms] [total_duration=4.867213ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457136270657191939] [2025/04/05 07:01:21.719 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270657191939] [commitTS=457136270657191940] [2025/04/05 07:01:21.720 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270657191939] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] [concurrency=8] [2025/04/05 07:01:21.722 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270657191939] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f72800000000000000a] ["cost time"=2.656727ms] ["completed regions"=1] [2025/04/05 07:01:21.722 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270657191939] [commitTS=457136270657191940] [session=15] [2025/04/05 07:01:21.729 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270657191941] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.038297ms] [2025/04/05 07:01:21.730 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.176248ms] [total_duration=4.100147ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457136270657191941] [2025/04/05 07:01:21.731 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270657191941] [commitTS=457136270657191943] [2025/04/05 07:01:21.731 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270657191941] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] [concurrency=8] [2025/04/05 07:01:21.733 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270657191941] [startKey=7480000000000001485f728000000000000001] [endKey=7480000000000001485f728000000000000005] ["cost time"=2.053726ms] ["completed regions"=1] [2025/04/05 07:01:21.733 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270657191941] [commitTS=457136270657191943] [session=15] [2025/04/05 07:01:21.746 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.746 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:21.752 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.753 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:21.768 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=300] [neededSchemaVersion=301] ["elapsed time"=1.960994ms] [gotSchemaVersion=301] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.772 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=301] [2025/04/05 07:01:21.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=301] ["take time"=9.807474ms] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.784 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.800 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=301] [neededSchemaVersion=302] ["elapsed time"=1.845842ms] [gotSchemaVersion=302] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.804 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=302] [2025/04/05 07:01:21.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=302] ["take time"=8.963453ms] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.814 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:322, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.820 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 322, Old Table Name: t1)"] [2025/04/05 07:01:21.833 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=302] [neededSchemaVersion=303] ["elapsed time"=1.091089ms] [gotSchemaVersion=303] [phyTblIDs="[322]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.836 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=330] [version=303] [2025/04/05 07:01:21.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=303] ["take time"=8.119171ms] [job="ID:330, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.848 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=330] [tableIDs="[322]"] [comment="drop table: table ID"] [2025/04/05 07:01:21.852 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=330] [jobType="drop table"] [2025/04/05 07:01:21.853 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=330] [conn=15] [job="ID:330, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:322, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.870 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=330] [2025/04/05 07:01:21.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:21.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:21.886 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.902 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=303] [neededSchemaVersion=304] ["elapsed time"=1.925981ms] [gotSchemaVersion=304] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.905 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=304] [2025/04/05 07:01:21.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=304] ["take time"=8.904025ms] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.916 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.920 +00:00] [INFO] [info.go:1254] [SetTiFlashGroupConfig] [2025/04/05 07:01:21.931 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=304] [neededSchemaVersion=305] ["elapsed time"=1.753116ms] [gotSchemaVersion=305] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.935 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=305] [2025/04/05 07:01:21.936 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=305] ["take time"=8.486376ms] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.944 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:328, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.949 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 328, Old Table Name: _t1)"] [2025/04/05 07:01:21.961 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=305] [neededSchemaVersion=306] ["elapsed time"=989.002µs] [gotSchemaVersion=306] [phyTblIDs="[328]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:21.965 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=331] [version=306] [2025/04/05 07:01:21.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=306] ["take time"=8.003268ms] [job="ID:331, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.976 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=331] [tableIDs="[328]"] [comment="drop table: table ID"] [2025/04/05 07:01:21.981 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=331] [jobType="drop table"] [2025/04/05 07:01:21.982 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=331] [conn=15] [job="ID:331, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:328, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:21.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=331] [2025/04/05 07:01:21.999 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=306] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:22.012 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.012 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int)"] [2025/04/05 07:01:22.018 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.022 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 332, Table Name: _t1)"] [2025/04/05 07:01:22.037 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=306] [neededSchemaVersion=307] ["elapsed time"=1.467194ms] [gotSchemaVersion=307] [phyTblIDs="[332]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:22.040 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=333] [version=307] [2025/04/05 07:01:22.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=307] ["take time"=8.555967ms] [job="ID:333, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:21.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.053 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=333] [conn=15] [job="ID:333, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:21.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.063 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=333] [2025/04/05 07:01:22.064 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=307] [cur_db=test] [sql="create table _t1 (a int primary key, b int)"] [user=] [2025/04/05 07:01:22.081 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.081 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:22.086 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:332, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.093 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 334, Table Name: _t1, Old Table ID: 332, Old Table Name: _t1)"] [2025/04/05 07:01:22.107 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=307] [neededSchemaVersion=308] ["elapsed time"=1.429492ms] [gotSchemaVersion=308] [phyTblIDs="[332,334]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:22.111 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=335] [version=308] [2025/04/05 07:01:22.112 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=308] ["take time"=8.161906ms] [job="ID:335, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.123 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=335] [tableIDs="[332]"] [comment="truncate table: table ID"] [2025/04/05 07:01:22.127 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=335] [jobType="truncate table"] [2025/04/05 07:01:22.128 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=335] [conn=15] [job="ID:335, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:332, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.145 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=335] [2025/04/05 07:01:22.145 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=308] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:22.148 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270775156737] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=1.009798ms] [2025/04/05 07:01:22.148 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.112724ms] [total_duration=1.748671ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=145B] [startTS=457136270775156737] [2025/04/05 07:01:22.149 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270775156737] [commitTS=457136270775156738] [2025/04/05 07:01:22.150 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270775156737] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.152 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270775156737] [startKey=74800000000000014e5f728000000000000001] [endKey=74800000000000014e5f728000000000000005] ["cost time"=2.194558ms] ["completed regions"=1] [2025/04/05 07:01:22.152 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270775156737] [commitTS=457136270775156738] [session=15] [2025/04/05 07:01:22.161 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.162 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:22.167 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:334, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.174 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 336, Table Name: _t1, Old Table ID: 334, Old Table Name: _t1)"] [2025/04/05 07:01:22.188 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=308] [neededSchemaVersion=309] ["elapsed time"=1.528916ms] [gotSchemaVersion=309] [phyTblIDs="[334,336]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:22.192 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=337] [version=309] [2025/04/05 07:01:22.194 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=309] ["take time"=8.77743ms] [job="ID:337, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.204 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=337] [tableIDs="[334]"] [comment="truncate table: table ID"] [2025/04/05 07:01:22.209 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=337] [jobType="truncate table"] [2025/04/05 07:01:22.210 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=337] [conn=15] [job="ID:337, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:334, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.227 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=337] [2025/04/05 07:01:22.227 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=309] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:22.231 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270788001806] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=935.466µs] [2025/04/05 07:01:22.231 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.045995ms] [total_duration=2.708313ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=15] [size=145B] [startTS=457136270788001806] [2025/04/05 07:01:22.232 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270788001806] [commitTS=457136270788001807] [2025/04/05 07:01:22.232 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270788001806] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.235 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270788001806] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=2.067615ms] ["completed regions"=1] [2025/04/05 07:01:22.235 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270788001806] [commitTS=457136270788001807] [session=15] [2025/04/05 07:01:22.243 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270788001809] [generation=1] [session=15] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.139149ms] [2025/04/05 07:01:22.243 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.222026ms] [total_duration=3.470243ms] ["memdb traversal cache hit"=15] ["memdb traversal cache miss"=30] [size=240B] [startTS=457136270788001809] [2025/04/05 07:01:22.244 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270788001809] [commitTS=457136270788001810] [2025/04/05 07:01:22.245 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270788001809] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] [concurrency=8] [2025/04/05 07:01:22.247 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270788001809] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f72800000000000000a] ["cost time"=2.092772ms] ["completed regions"=1] [2025/04/05 07:01:22.247 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270788001809] [commitTS=457136270788001810] [session=15] [2025/04/05 07:01:22.250 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270801371137] [generation=1] [session=15] [keys=5] [size=145B] ["flushed keys"=5] ["flushed size"=145B] ["take time"=915.017µs] [2025/04/05 07:01:22.250 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.030039ms] [total_duration=2.771509ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=20] [size=145B] [startTS=457136270801371137] [2025/04/05 07:01:22.252 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270801371137] [commitTS=457136270801371138] [2025/04/05 07:01:22.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270801371137] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.254 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270801371137] [startKey=7480000000000001505f728000000000000001] [endKey=7480000000000001505f728000000000000005] ["cost time"=1.926113ms] ["completed regions"=1] [2025/04/05 07:01:22.254 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270801371137] [commitTS=457136270801371138] [session=15] [2025/04/05 07:01:22.269 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.269 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:22.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.291 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=309] [neededSchemaVersion=310] ["elapsed time"=1.867521ms] [gotSchemaVersion=310] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.295 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=310] [2025/04/05 07:01:22.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=310] ["take time"=9.0189ms] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.306 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=310] [neededSchemaVersion=311] ["elapsed time"=1.804808ms] [gotSchemaVersion=311] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=311] [2025/04/05 07:01:22.327 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=311] ["take time"=8.791493ms] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.335 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:336, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.341 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 336, Old Table Name: _t1)"] [2025/04/05 07:01:22.354 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=311] [neededSchemaVersion=312] ["elapsed time"=1.003476ms] [gotSchemaVersion=312] [phyTblIDs="[336]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.357 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=338] [version=312] [2025/04/05 07:01:22.359 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=312] ["take time"=7.8927ms] [job="ID:338, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.368 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=338] [tableIDs="[336]"] [comment="drop table: table ID"] [2025/04/05 07:01:22.372 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=338] [jobType="drop table"] [2025/04/05 07:01:22.373 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=338] [conn=15] [job="ID:338, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:336, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.391 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=338] [2025/04/05 07:01:22.392 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=312] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:22.405 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.405 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 07:01:22.411 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.415 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 339, Table Name: t1)"] [2025/04/05 07:01:22.430 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=312] [neededSchemaVersion=313] ["elapsed time"=1.415962ms] [gotSchemaVersion=313] [phyTblIDs="[339]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:22.434 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=340] [version=313] [2025/04/05 07:01:22.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=313] ["take time"=9.463379ms] [job="ID:340, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.447 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=340] [conn=15] [job="ID:340, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.458 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=340] [2025/04/05 07:01:22.458 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=313] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 07:01:22.464 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270853799942] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=971.359µs] [2025/04/05 07:01:22.464 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.074811ms] [total_duration=4.596331ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136270853799942] [2025/04/05 07:01:22.465 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270853799942] [commitTS=457136270853799946] [2025/04/05 07:01:22.465 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270853799942] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.467 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270853799942] [startKey=7480000000000001535f728000000000000001] [endKey=7480000000000001535f728000000000000005] ["cost time"=2.289793ms] ["completed regions"=1] [2025/04/05 07:01:22.467 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270853799942] [commitTS=457136270853799946] [session=15] [2025/04/05 07:01:22.478 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.478 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 07:01:22.485 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.490 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 341, Table Name: _t1)"] [2025/04/05 07:01:22.505 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=313] [neededSchemaVersion=314] ["elapsed time"=1.659112ms] [gotSchemaVersion=314] [phyTblIDs="[341]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:22.509 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=342] [version=314] [2025/04/05 07:01:22.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=314] ["take time"=8.838994ms] [job="ID:342, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.522 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=342] [conn=15] [job="ID:342, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.533 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=342] [2025/04/05 07:01:22.534 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=314] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/05 07:01:22.558 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.558 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:22.563 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:341, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.571 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 343, Table Name: _t1, Old Table ID: 341, Old Table Name: _t1)"] [2025/04/05 07:01:22.585 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=314] [neededSchemaVersion=315] ["elapsed time"=1.627948ms] [gotSchemaVersion=315] [phyTblIDs="[341,343]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:22.589 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=344] [version=315] [2025/04/05 07:01:22.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=315] ["take time"=8.636261ms] [job="ID:344, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.601 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=344] [tableIDs="[341]"] [comment="truncate table: table ID"] [2025/04/05 07:01:22.606 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=344] [jobType="truncate table"] [2025/04/05 07:01:22.607 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=344] [conn=15] [job="ID:344, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:341, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.544 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.624 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=344] [2025/04/05 07:01:22.624 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=315] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:22.631 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270893121549] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.029787ms] [2025/04/05 07:01:22.632 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.115209ms] [total_duration=5.532712ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136270893121549] [2025/04/05 07:01:22.633 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270893121549] [commitTS=457136270893121552] [2025/04/05 07:01:22.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270893121549] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.636 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270893121549] [startKey=7480000000000001575f698000000000000001038000000000000001] [endKey=7480000000000001575f728000000000000005] ["cost time"=3.129197ms] ["completed regions"=1] [2025/04/05 07:01:22.636 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270893121549] [commitTS=457136270893121552] [session=15] [2025/04/05 07:01:22.647 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.647 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:22.653 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:343, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.660 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 345, Table Name: _t1, Old Table ID: 343, Old Table Name: _t1)"] [2025/04/05 07:01:22.674 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=315] [neededSchemaVersion=316] ["elapsed time"=1.677694ms] [gotSchemaVersion=316] [phyTblIDs="[343,345]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:22.678 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=346] [version=316] [2025/04/05 07:01:22.680 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=316] ["take time"=8.48886ms] [job="ID:346, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.690 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=346] [tableIDs="[343]"] [comment="truncate table: table ID"] [2025/04/05 07:01:22.695 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=346] [jobType="truncate table"] [2025/04/05 07:01:22.695 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=346] [conn=15] [job="ID:346, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:343, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.712 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=346] [2025/04/05 07:01:22.713 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=316] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:22.721 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270919073799] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.023579ms] [2025/04/05 07:01:22.721 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.115386ms] [total_duration=6.710732ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136270919073799] [2025/04/05 07:01:22.722 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270919073799] [commitTS=457136270919073802] [2025/04/05 07:01:22.722 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270919073799] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.725 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270919073799] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.310054ms] ["completed regions"=1] [2025/04/05 07:01:22.725 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270919073799] [commitTS=457136270919073802] [session=15] [2025/04/05 07:01:22.744 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270919073805] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=926.125µs] [2025/04/05 07:01:22.744 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.007532ms] [total_duration=5.194509ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457136270919073805] [2025/04/05 07:01:22.745 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270919073805] [commitTS=457136270932443137] [2025/04/05 07:01:22.745 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270919073805] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] [concurrency=8] [2025/04/05 07:01:22.747 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270919073805] [startKey=7480000000000001595f728000000000000001] [endKey=7480000000000001595f728000000000000005] ["cost time"=2.005785ms] ["completed regions"=1] [2025/04/05 07:01:22.747 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270919073805] [commitTS=457136270932443137] [session=15] [2025/04/05 07:01:22.756 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136270932443138] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.1181ms] [2025/04/05 07:01:22.756 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.197966ms] [total_duration=5.565593ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457136270932443138] [2025/04/05 07:01:22.757 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136270932443138] [commitTS=457136270932443139] [2025/04/05 07:01:22.757 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136270932443138] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] [concurrency=8] [2025/04/05 07:01:22.760 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136270932443138] [startKey=7480000000000001595f698000000000000001038000000000000001] [endKey=7480000000000001595f72800000000000000a] ["cost time"=2.120295ms] ["completed regions"=1] [2025/04/05 07:01:22.760 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136270932443138] [commitTS=457136270932443139] [session=15] [2025/04/05 07:01:22.773 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.773 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:22.778 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.793 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=316] [neededSchemaVersion=317] ["elapsed time"=1.816715ms] [gotSchemaVersion=317] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.796 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=317] [2025/04/05 07:01:22.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=317] ["take time"=8.800901ms] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.807 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.822 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=317] [neededSchemaVersion=318] ["elapsed time"=1.873824ms] [gotSchemaVersion=318] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=318] [2025/04/05 07:01:22.827 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=318] ["take time"=8.773854ms] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.835 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:339, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.841 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 339, Old Table Name: t1)"] [2025/04/05 07:01:22.853 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=318] [neededSchemaVersion=319] ["elapsed time"=948.068µs] [gotSchemaVersion=319] [phyTblIDs="[339]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.857 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=347] [version=319] [2025/04/05 07:01:22.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=319] ["take time"=7.58903ms] [job="ID:347, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.867 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=347] [tableIDs="[339]"] [comment="drop table: table ID"] [2025/04/05 07:01:22.871 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=347] [jobType="drop table"] [2025/04/05 07:01:22.872 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=347] [conn=15] [job="ID:347, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:339, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.889 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=347] [2025/04/05 07:01:22.900 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:22.900 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:22.905 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.920 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=319] [neededSchemaVersion=320] ["elapsed time"=2.026539ms] [gotSchemaVersion=320] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.924 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=320] [2025/04/05 07:01:22.926 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=320] ["take time"=9.06ms] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.950 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=320] [neededSchemaVersion=321] ["elapsed time"=2.024719ms] [gotSchemaVersion=321] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.954 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=321] [2025/04/05 07:01:22.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=321] ["take time"=8.936149ms] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.964 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:345, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:22.971 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 345, Old Table Name: _t1)"] [2025/04/05 07:01:22.986 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=321] [neededSchemaVersion=322] ["elapsed time"=996.282µs] [gotSchemaVersion=322] [phyTblIDs="[345]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:22.989 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=348] [version=322] [2025/04/05 07:01:22.991 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=322] ["take time"=7.894908ms] [job="ID:348, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.000 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=348] [tableIDs="[345]"] [comment="drop table: table ID"] [2025/04/05 07:01:23.004 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=348] [jobType="drop table"] [2025/04/05 07:01:23.005 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=348] [conn=15] [job="ID:348, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:345, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.023 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=348] [2025/04/05 07:01:23.023 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=322] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:23.036 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.036 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int, b int, unique index idx(b))"] [2025/04/05 07:01:23.042 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.046 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 349, Table Name: _t1)"] [2025/04/05 07:01:23.061 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=322] [neededSchemaVersion=323] ["elapsed time"=1.530732ms] [gotSchemaVersion=323] [phyTblIDs="[349]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:23.065 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=350] [version=323] [2025/04/05 07:01:23.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=323] ["take time"=8.452857ms] [job="ID:350, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.078 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=350] [conn=15] [job="ID:350, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:22.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.089 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=350] [2025/04/05 07:01:23.090 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=323] [cur_db=test] [sql="create table _t1 (a int, b int, unique index idx(b))"] [user=] [2025/04/05 07:01:23.111 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:23.112 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.117 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:349, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.124 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 351, Table Name: _t1, Old Table ID: 349, Old Table Name: _t1)"] [2025/04/05 07:01:23.144 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=323] [neededSchemaVersion=324] ["elapsed time"=1.668912ms] [gotSchemaVersion=324] [phyTblIDs="[349,351]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:23.148 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=352] [version=324] [2025/04/05 07:01:23.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=324] ["take time"=9.395183ms] [job="ID:352, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.161 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=352] [tableIDs="[349]"] [comment="truncate table: table ID"] [2025/04/05 07:01:23.165 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=352] [jobType="truncate table"] [2025/04/05 07:01:23.166 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=352] [conn=15] [job="ID:352, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:349, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.185 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=352] [2025/04/05 07:01:23.186 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=324] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:23.192 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271037300755] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.120657ms] [2025/04/05 07:01:23.192 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.226093ms] [total_duration=4.878077ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136271037300755] [2025/04/05 07:01:23.193 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271037300755] [commitTS=457136271037300758] [2025/04/05 07:01:23.193 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271037300755] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.196 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271037300755] [startKey=74800000000000015f5f698000000000000001038000000000000001] [endKey=74800000000000015f5f728000000000000005] ["cost time"=2.338517ms] ["completed regions"=1] [2025/04/05 07:01:23.196 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271037300755] [commitTS=457136271037300758] [session=15] [2025/04/05 07:01:23.207 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.207 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:23.213 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:351, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.220 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 353, Table Name: _t1, Old Table ID: 351, Old Table Name: _t1)"] [2025/04/05 07:01:23.235 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=324] [neededSchemaVersion=325] ["elapsed time"=1.648044ms] [gotSchemaVersion=325] [phyTblIDs="[351,353]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:23.239 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=354] [version=325] [2025/04/05 07:01:23.241 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=325] ["take time"=9.201697ms] [job="ID:354, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.252 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=354] [tableIDs="[351]"] [comment="truncate table: table ID"] [2025/04/05 07:01:23.256 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=354] [jobType="truncate table"] [2025/04/05 07:01:23.257 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=354] [conn=15] [job="ID:354, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:351, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.193 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.276 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=354] [2025/04/05 07:01:23.276 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=325] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:23.284 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271063515150] [generation=1] [session=15] [keys=10] [size=345B] ["flushed keys"=10] ["flushed size"=345B] ["take time"=1.196088ms] [2025/04/05 07:01:23.284 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.310309ms] [total_duration=6.410082ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=345B] [startTS=457136271063515150] [2025/04/05 07:01:23.285 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271063515150] [commitTS=457136271063515153] [2025/04/05 07:01:23.285 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271063515150] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.288 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271063515150] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.29034ms] ["completed regions"=1] [2025/04/05 07:01:23.288 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271063515150] [commitTS=457136271063515153] [session=15] [2025/04/05 07:01:23.299 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271076360193] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=952.632µs] [2025/04/05 07:01:23.299 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.040245ms] [total_duration=4.291057ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=25] [size=165B] [startTS=457136271076360193] [2025/04/05 07:01:23.300 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271076360193] [commitTS=457136271076360194] [2025/04/05 07:01:23.300 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271076360193] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.302 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271076360193] [startKey=7480000000000001615f728000000000000001] [endKey=7480000000000001615f728000000000000005] ["cost time"=2.188976ms] ["completed regions"=1] [2025/04/05 07:01:23.302 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271076360193] [commitTS=457136271076360194] [session=15] [2025/04/05 07:01:23.308 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271076360195] [generation=1] [session=15] [keys=15] [size=440B] ["flushed keys"=15] ["flushed size"=440B] ["take time"=1.197547ms] [2025/04/05 07:01:23.308 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.277013ms] [total_duration=5.018132ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=50] [size=440B] [startTS=457136271076360195] [2025/04/05 07:01:23.309 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271076360195] [commitTS=457136271076360196] [2025/04/05 07:01:23.309 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271076360195] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] [concurrency=8] [2025/04/05 07:01:23.312 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271076360195] [startKey=7480000000000001615f698000000000000001038000000000000001] [endKey=7480000000000001615f72800000000000000a] ["cost time"=2.364505ms] ["completed regions"=1] [2025/04/05 07:01:23.312 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271076360195] [commitTS=457136271076360196] [session=15] [2025/04/05 07:01:23.324 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.324 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:23.330 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.346 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=325] [neededSchemaVersion=326] ["elapsed time"=2.14899ms] [gotSchemaVersion=326] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.350 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=326] [2025/04/05 07:01:23.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=326] ["take time"=9.234629ms] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.361 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.377 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=326] [neededSchemaVersion=327] ["elapsed time"=2.032371ms] [gotSchemaVersion=327] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=327] [2025/04/05 07:01:23.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=327] ["take time"=9.318823ms] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.391 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:353, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.397 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 353, Old Table Name: _t1)"] [2025/04/05 07:01:23.410 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=327] [neededSchemaVersion=328] ["elapsed time"=1.084362ms] [gotSchemaVersion=328] [phyTblIDs="[353]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.414 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=355] [version=328] [2025/04/05 07:01:23.415 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=328] ["take time"=8.21484ms] [job="ID:355, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.425 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=355] [tableIDs="[353]"] [comment="drop table: table ID"] [2025/04/05 07:01:23.430 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=355] [jobType="drop table"] [2025/04/05 07:01:23.431 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=355] [conn=15] [job="ID:355, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:353, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.293 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.449 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=355] [2025/04/05 07:01:23.449 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=328] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:23.461 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int)"] [2025/04/05 07:01:23.461 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.467 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.471 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 356, Table Name: t1)"] [2025/04/05 07:01:23.485 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=328] [neededSchemaVersion=329] ["elapsed time"=1.563201ms] [gotSchemaVersion=329] [phyTblIDs="[356]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:23.489 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=357] [version=329] [2025/04/05 07:01:23.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=329] ["take time"=8.659912ms] [job="ID:357, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.502 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=357] [conn=15] [job="ID:357, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.514 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=357] [2025/04/05 07:01:23.514 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=329] [cur_db=test] [sql="create table t1 (a int, b int)"] [user=] [2025/04/05 07:01:23.520 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271129051143] [generation=1] [session=15] [keys=5] [size=165B] ["flushed keys"=5] ["flushed size"=165B] ["take time"=899.654µs] [2025/04/05 07:01:23.520 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=5] [flush_wait_duration=1.017932ms] [total_duration=4.477893ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=10] [size=165B] [startTS=457136271129051143] [2025/04/05 07:01:23.521 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271129051143] [commitTS=457136271129051147] [2025/04/05 07:01:23.521 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271129051143] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.523 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271129051143] [startKey=7480000000000001645f728000000000000001] [endKey=7480000000000001645f728000000000000005] ["cost time"=2.155555ms] ["completed regions"=1] [2025/04/05 07:01:23.524 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271129051143] [commitTS=457136271129051147] [session=15] [2025/04/05 07:01:23.534 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.534 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 07:01:23.540 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.545 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 358, Table Name: _t1)"] [2025/04/05 07:01:23.560 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=329] [neededSchemaVersion=330] ["elapsed time"=1.605701ms] [gotSchemaVersion=330] [phyTblIDs="[358]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:23.563 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=359] [version=330] [2025/04/05 07:01:23.567 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=330] ["take time"=8.442698ms] [job="ID:359, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.581 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=359] [conn=15] [job="ID:359, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.494 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=359] [2025/04/05 07:01:23.594 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=330] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/05 07:01:23.616 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.616 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:23.622 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:358, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.630 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 360, Table Name: _t1, Old Table ID: 358, Old Table Name: _t1)"] [2025/04/05 07:01:23.645 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=330] [neededSchemaVersion=331] ["elapsed time"=1.70891ms] [gotSchemaVersion=331] [phyTblIDs="[358,360]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:23.649 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=361] [version=331] [2025/04/05 07:01:23.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=331] ["take time"=9.498414ms] [job="ID:361, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.662 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=361] [tableIDs="[358]"] [comment="truncate table: table ID"] [2025/04/05 07:01:23.667 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=361] [jobType="truncate table"] [2025/04/05 07:01:23.668 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=361] [conn=15] [job="ID:361, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:358, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.687 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=361] [2025/04/05 07:01:23.687 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=331] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:23.691 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271168372755] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.247661ms] [2025/04/05 07:01:23.692 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.349845ms] [total_duration=3.155615ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457136271168372755] [2025/04/05 07:01:23.693 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271168372755] [commitTS=457136271168372756] [2025/04/05 07:01:23.693 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271168372755] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271168372755] [startKey=7480000000000001685f698000000000000001038000000000000001] [endKey=7480000000000001685f728000000000000005] ["cost time"=2.35165ms] ["completed regions"=1] [2025/04/05 07:01:23.696 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271168372755] [commitTS=457136271168372756] [session=15] [2025/04/05 07:01:23.706 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:23.706 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.712 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:360, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.719 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 362, Table Name: _t1, Old Table ID: 360, Old Table Name: _t1)"] [2025/04/05 07:01:23.734 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=331] [neededSchemaVersion=332] ["elapsed time"=1.561757ms] [gotSchemaVersion=332] [phyTblIDs="[360,362]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:23.738 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=363] [version=332] [2025/04/05 07:01:23.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=332] ["take time"=8.619503ms] [job="ID:363, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.751 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=363] [tableIDs="[360]"] [comment="truncate table: table ID"] [2025/04/05 07:01:23.755 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=363] [jobType="truncate table"] [2025/04/05 07:01:23.756 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=363] [conn=15] [job="ID:363, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:360, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.694 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.774 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=363] [2025/04/05 07:01:23.775 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=332] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:23.781 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271194325005] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.042783ms] [2025/04/05 07:01:23.781 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.148223ms] [total_duration=4.462451ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457136271194325005] [2025/04/05 07:01:23.782 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271194325005] [commitTS=457136271194325006] [2025/04/05 07:01:23.782 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271194325005] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] [concurrency=8] [2025/04/05 07:01:23.785 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271194325005] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f728000000000000005] ["cost time"=2.534215ms] ["completed regions"=1] [2025/04/05 07:01:23.785 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271194325005] [commitTS=457136271194325006] [session=15] [2025/04/05 07:01:23.802 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271207694337] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.194569ms] [2025/04/05 07:01:23.802 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.2917ms] [total_duration=5.393677ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457136271207694337] [2025/04/05 07:01:23.803 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271207694337] [commitTS=457136271207694338] [2025/04/05 07:01:23.803 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271207694337] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/05 07:01:23.805 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271207694337] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.2918ms] ["completed regions"=1] [2025/04/05 07:01:23.805 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271207694337] [commitTS=457136271207694338] [session=15] [2025/04/05 07:01:23.814 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271207694339] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.086639ms] [2025/04/05 07:01:23.814 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.181463ms] [total_duration=5.781095ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457136271207694339] [2025/04/05 07:01:23.815 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271207694339] [commitTS=457136271207694340] [2025/04/05 07:01:23.815 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271207694339] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] [concurrency=8] [2025/04/05 07:01:23.818 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271207694339] [startKey=74800000000000016a5f698000000000000001038000000000000001] [endKey=74800000000000016a5f72800000000000000a] ["cost time"=2.158293ms] ["completed regions"=1] [2025/04/05 07:01:23.818 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271207694339] [commitTS=457136271207694340] [session=15] [2025/04/05 07:01:23.831 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.831 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:23.836 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.852 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=332] [neededSchemaVersion=333] ["elapsed time"=1.961579ms] [gotSchemaVersion=333] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.856 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=333] [2025/04/05 07:01:23.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=333] ["take time"=9.519068ms] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.867 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.884 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=333] [neededSchemaVersion=334] ["elapsed time"=1.831173ms] [gotSchemaVersion=334] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.888 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=334] [2025/04/05 07:01:23.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=334] ["take time"=9.064013ms] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.898 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:356, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.903 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 356, Old Table Name: t1)"] [2025/04/05 07:01:23.916 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=334] [neededSchemaVersion=335] ["elapsed time"=1.07849ms] [gotSchemaVersion=335] [phyTblIDs="[356]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.921 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=364] [version=335] [2025/04/05 07:01:23.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=335] ["take time"=9.134764ms] [job="ID:364, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.932 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=364] [tableIDs="[356]"] [comment="drop table: table ID"] [2025/04/05 07:01:23.937 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=364] [jobType="drop table"] [2025/04/05 07:01:23.938 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=364] [conn=15] [job="ID:364, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:356, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.794 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.955 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=364] [2025/04/05 07:01:23.966 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:23.966 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table if exists t1, _t1"] [2025/04/05 07:01:23.972 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:23.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=335] [neededSchemaVersion=336] ["elapsed time"=2.177292ms] [gotSchemaVersion=336] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:23.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=336] [2025/04/05 07:01:23.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=336] ["take time"=9.37155ms] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.005 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.020 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=336] [neededSchemaVersion=337] ["elapsed time"=2.07729ms] [gotSchemaVersion=337] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:24.023 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=337] [2025/04/05 07:01:24.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=337] ["take time"=9.096251ms] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.033 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:362, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 362, Old Table Name: _t1)"] [2025/04/05 07:01:24.053 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=337] [neededSchemaVersion=338] ["elapsed time"=1.101505ms] [gotSchemaVersion=338] [phyTblIDs="[362]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:24.057 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=365] [version=338] [2025/04/05 07:01:24.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=338] ["take time"=7.855004ms] [job="ID:365, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.067 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=365] [tableIDs="[362]"] [comment="drop table: table ID"] [2025/04/05 07:01:24.072 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=365] [jobType="drop table"] [2025/04/05 07:01:24.073 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=365] [conn=15] [job="ID:365, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:362, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:23.944 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.091 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=365] [2025/04/05 07:01:24.092 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=338] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:01:24.105 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1 (a int primary key, b int, unique index idx(b))"] [2025/04/05 07:01:24.105 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:24.111 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.115 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 366, Table Name: _t1)"] [2025/04/05 07:01:24.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=338] [neededSchemaVersion=339] ["elapsed time"=1.504224ms] [gotSchemaVersion=339] [phyTblIDs="[366]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:24.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=367] [version=339] [2025/04/05 07:01:24.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=339] ["take time"=8.943706ms] [job="ID:367, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.147 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=367] [conn=15] [job="ID:367, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:24.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.160 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=367] [2025/04/05 07:01:24.160 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=339] [cur_db=test] [sql="create table _t1 (a int primary key, b int, unique index idx(b))"] [user=] [2025/04/05 07:01:24.180 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:24.180 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:24.185 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:366, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:24.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.192 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 368, Table Name: _t1, Old Table ID: 366, Old Table Name: _t1)"] [2025/04/05 07:01:24.207 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=339] [neededSchemaVersion=340] ["elapsed time"=1.665927ms] [gotSchemaVersion=340] [phyTblIDs="[366,368]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:24.210 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=369] [version=340] [2025/04/05 07:01:24.212 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=340] ["take time"=8.704693ms] [job="ID:369, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.223 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=369] [tableIDs="[366]"] [comment="truncate table: table ID"] [2025/04/05 07:01:24.228 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=369] [jobType="truncate table"] [2025/04/05 07:01:24.229 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=369] [conn=15] [job="ID:369, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:366, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.144 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.247 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=369] [2025/04/05 07:01:24.247 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=340] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:24.250 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271325396993] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.251352ms] [2025/04/05 07:01:24.251 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.359887ms] [total_duration=2.128489ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=20] [size=325B] [startTS=457136271325396993] [2025/04/05 07:01:24.252 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271325396993] [commitTS=457136271325396994] [2025/04/05 07:01:24.252 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271325396993] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] [concurrency=8] [2025/04/05 07:01:24.255 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271325396993] [startKey=7480000000000001705f698000000000000001038000000000000001] [endKey=7480000000000001705f728000000000000005] ["cost time"=2.560086ms] ["completed regions"=1] [2025/04/05 07:01:24.255 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271325396993] [commitTS=457136271325396994] [session=15] [2025/04/05 07:01:24.265 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:24.265 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:01:24.270 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:368, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:24.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.277 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 370, Table Name: _t1, Old Table ID: 368, Old Table Name: _t1)"] [2025/04/05 07:01:24.292 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=340] [neededSchemaVersion=341] ["elapsed time"=1.644751ms] [gotSchemaVersion=341] [phyTblIDs="[368,370]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:01:24.296 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=371] [version=341] [2025/04/05 07:01:24.299 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=341] ["take time"=10.290515ms] [job="ID:371, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.310 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=371] [tableIDs="[368]"] [comment="truncate table: table ID"] [2025/04/05 07:01:24.314 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=371] [jobType="truncate table"] [2025/04/05 07:01:24.315 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=371] [conn=15] [job="ID:371, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:368, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:24.243 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:24.333 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=371] [2025/04/05 07:01:24.333 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=15] [schemaVersion=341] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:01:24.338 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271338504206] [generation=1] [session=15] [keys=10] [size=325B] ["flushed keys"=10] ["flushed size"=325B] ["take time"=1.118168ms] [2025/04/05 07:01:24.338 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=10] [flush_wait_duration=1.234935ms] [total_duration=3.202309ms] ["memdb traversal cache hit"=20] ["memdb traversal cache miss"=30] [size=325B] [startTS=457136271338504206] [2025/04/05 07:01:24.339 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271338504206] [commitTS=457136271338504207] [2025/04/05 07:01:24.339 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271338504206] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] [concurrency=8] [2025/04/05 07:01:24.342 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271338504206] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f728000000000000005] ["cost time"=2.355081ms] ["completed regions"=1] [2025/04/05 07:01:24.342 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271338504206] [commitTS=457136271338504207] [session=15] [2025/04/05 07:01:24.352 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271351611393] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.227107ms] [2025/04/05 07:01:24.352 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.338593ms] [total_duration=4.647628ms] ["memdb traversal cache hit"=35] ["memdb traversal cache miss"=50] [size=420B] [startTS=457136271351611393] [2025/04/05 07:01:24.353 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271351611393] [commitTS=457136271351611394] [2025/04/05 07:01:24.353 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271351611393] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/05 07:01:24.356 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271351611393] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.561146ms] ["completed regions"=1] [2025/04/05 07:01:24.356 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271351611393] [commitTS=457136271351611394] [session=15] [2025/04/05 07:01:24.361 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136271351611395] [generation=1] [session=15] [keys=15] [size=420B] ["flushed keys"=15] ["flushed size"=420B] ["take time"=1.085137ms] [2025/04/05 07:01:24.361 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=15] [flush_wait_duration=1.19588ms] [total_duration=4.717033ms] ["memdb traversal cache hit"=40] ["memdb traversal cache miss"=60] [size=420B] [startTS=457136271351611395] [2025/04/05 07:01:24.363 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136271351611395] [commitTS=457136271351611396] [2025/04/05 07:01:24.363 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136271351611395] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] [concurrency=8] [2025/04/05 07:01:24.364 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:24.364 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:24.364 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [] [2025/04/05 07:01:24.364 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.364 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:24.365 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 23, tp general"] ["take time"=95.677µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 24, tp general"] ["take time"=43.043µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 25, tp general"] ["take time"=41.698µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 26, tp general"] ["take time"=31.202µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 27, tp general"] ["take time"=33.885µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 28, tp general"] ["take time"=33.278µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 29, tp general"] ["take time"=40.949µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136271351611395] [startKey=7480000000000001725f698000000000000001038000000000000001] [endKey=7480000000000001725f72800000000000000a] ["cost time"=2.407248ms] ["completed regions"=1] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 30, tp general"] ["take time"=34.641µs] [2025/04/05 07:01:24.365 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136271351611395] [commitTS=457136271351611396] [session=15] [2025/04/05 07:01:24.365 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 31, tp general"] ["take time"=33.327µs] [2025/04/05 07:01:24.366 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 22, tp general"] ["take time"=39.563µs] [2025/04/05 07:01:24.366 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.366 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.367 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:24.367 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:24.381 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=fab246e1-5a2f-49ea-999a-aa8785ed132f] ["take time"=16.883331ms] [2025/04/05 07:01:24.381 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.381 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:24.381 +00:00] [INFO] [notifier.go:142] ["etcd watcher exited to watch timer events"] [EtcdKey=/tidb/timer/cluster/1/notify/6bc17d22-3f16-44f3-b98e-0fa89a95b505] [watcherID=680e9033-8312-404b-89f3-397b5ce283ad] [2025/04/05 07:01:24.381 +00:00] [INFO] [runtime.go:202] ["TimerGroupRuntime loop exit"] [groupID=ttl] [2025/04/05 07:01:24.381 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/6bc17d22-3f16-44f3-b98e-0fa89a95b505] [2025/04/05 07:01:24.381 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ttl-worker=task-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [originalCount=4] [newCount=0] [2025/04/05 07:01:24.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:24.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:24.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:24.382 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:24.382 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [ttl-worker=task-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [originalCount=4] [newCount=0] [2025/04/05 07:01:24.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:24.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:24.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:24.385 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:24.388 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.388 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1625] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:1856] ["stopping dist task scheduler manager because the current node is not DDL owner anymore"] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:24.389 +00:00] [INFO] [scheduler_manager.go:372] ["cleanup loop exits"] [server-id=:4000] [2025/04/05 07:01:24.389 +00:00] [INFO] [scheduler_manager.go:448] ["collect loop exits"] [server-id=:4000] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [scheduler_manager.go:204] ["schedule task loop exits"] [server-id=:4000] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:24.390 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:24.390 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.390 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:24.390 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [2025/04/05 07:01:24.389 +00:00] [INFO] [scheduler_manager.go:308] ["subtask history table gc loop exits"] [server-id=:4000] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:24.389 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:24.389 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.390 +00:00] [INFO] [domain.go:1858] ["dist task scheduler manager stopped"] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.390 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:24.390 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:24.391 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:24.391 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:24.392 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:24.392 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:24.392 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=eb6a0348-f9c4-4e5e-ad52-ade717ab141e] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:24.392 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:24.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:24.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:24.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:24.392 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:24.392 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:24.392 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:24.392 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:24.393 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [error="context canceled"] [2025/04/05 07:01:24.393 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [2025/04/05 07:01:24.393 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [error="context canceled"] [2025/04/05 07:01:24.393 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=fab246e1-5a2f-49ea-999a-aa8785ed132f] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:24.416 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:24.416 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:24.458 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:24.458 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:24.469 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=104.72089ms] [2025/04/05 07:01:25.623 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270368833543 commit_ts:457136270368833546 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:25.623 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270368833543 commit_ts:457136270368833546 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:25.623 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270368833543 commit_ts:457136270368833546 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:25.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270394785794 commit_ts:457136270394785797 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:25.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270394785794 commit_ts:457136270394785797 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:25.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270394785794 commit_ts:457136270394785797 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:25.720 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270394785798 commit_ts:457136270394785799 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:25.720 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270394785798 commit_ts:457136270394785799 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:25.720 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270394785798 commit_ts:457136270394785799 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:25.727 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270394785800 commit_ts:457136270394785801 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:25.727 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270394785800 commit_ts:457136270394785801 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:25.727 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270394785800 commit_ts:457136270394785801 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:25.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270394785803 commit_ts:457136270394785804 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:25.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270394785803 commit_ts:457136270394785804 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:25.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270394785803 commit_ts:457136270394785804 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.154 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270513012737 commit_ts:457136270513012740 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.154 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270513012737 commit_ts:457136270513012740 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.154 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270513012737 commit_ts:457136270513012740 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270526119950 commit_ts:457136270526119953 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270526119950 commit_ts:457136270526119953 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.238 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270526119950 commit_ts:457136270526119953 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270526119954 commit_ts:457136270526119955 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270526119954 commit_ts:457136270526119955 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.245 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270526119954 commit_ts:457136270526119955 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.250 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270526119956 commit_ts:457136270538964993 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.250 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270526119956 commit_ts:457136270538964993 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.250 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270526119956 commit_ts:457136270538964993 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270538964994 commit_ts:457136270538964995 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270538964994 commit_ts:457136270538964995 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270538964994 commit_ts:457136270538964995 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.459 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270591655939 commit_ts:457136270591655943 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.459 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270591655939 commit_ts:457136270591655943 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.459 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270591655939 commit_ts:457136270591655943 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.616 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270630977543 commit_ts:457136270630977544 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.616 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270630977543 commit_ts:457136270630977544 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.616 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270630977543 commit_ts:457136270630977544 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.703 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270644084757 commit_ts:457136270657191937 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.703 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270644084757 commit_ts:457136270657191937 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.705 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270644084757 commit_ts:457136270657191937 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270657191939 commit_ts:457136270657191940 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270657191939 commit_ts:457136270657191940 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.723 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270657191939 commit_ts:457136270657191940 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:26.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270657191941 commit_ts:457136270657191943 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:26.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270657191941 commit_ts:457136270657191943 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:26.734 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270657191941 commit_ts:457136270657191943 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.153 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270775156737 commit_ts:457136270775156738 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.153 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270775156737 commit_ts:457136270775156738 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.153 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270775156737 commit_ts:457136270775156738 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270788001806 commit_ts:457136270788001807 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270788001806 commit_ts:457136270788001807 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.235 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270788001806 commit_ts:457136270788001807 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.248 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270788001809 commit_ts:457136270788001810 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.248 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270788001809 commit_ts:457136270788001810 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.248 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270788001809 commit_ts:457136270788001810 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.255 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270801371137 commit_ts:457136270801371138 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.255 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270801371137 commit_ts:457136270801371138 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.255 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270801371137 commit_ts:457136270801371138 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.468 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270853799942 commit_ts:457136270853799946 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.468 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270853799942 commit_ts:457136270853799946 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.468 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270853799942 commit_ts:457136270853799946 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.637 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270893121549 commit_ts:457136270893121552 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.637 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270893121549 commit_ts:457136270893121552 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.637 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270893121549 commit_ts:457136270893121552 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.726 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270919073799 commit_ts:457136270919073802 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.726 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270919073799 commit_ts:457136270919073802 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.726 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270919073799 commit_ts:457136270919073802 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.748 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270919073805 commit_ts:457136270932443137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.748 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270919073805 commit_ts:457136270932443137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:27.748 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270919073805 commit_ts:457136270932443137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.760 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136270932443138 commit_ts:457136270932443139 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:27.760 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136270932443138 commit_ts:457136270932443139 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:27.760 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136270932443138 commit_ts:457136270932443139 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.196 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271037300755 commit_ts:457136271037300758 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.196 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271037300755 commit_ts:457136271037300758 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.196 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271037300755 commit_ts:457136271037300758 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.289 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271063515150 commit_ts:457136271063515153 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.289 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271063515150 commit_ts:457136271063515153 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.289 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271063515150 commit_ts:457136271063515153 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.303 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271076360193 commit_ts:457136271076360194 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.303 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271076360193 commit_ts:457136271076360194 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.303 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271076360193 commit_ts:457136271076360194 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271076360195 commit_ts:457136271076360196 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271076360195 commit_ts:457136271076360196 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.313 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271076360195 commit_ts:457136271076360196 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.525 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271129051143 commit_ts:457136271129051147 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.525 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271129051143 commit_ts:457136271129051147 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.525 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271129051143 commit_ts:457136271129051147 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271168372755 commit_ts:457136271168372756 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271168372755 commit_ts:457136271168372756 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271168372755 commit_ts:457136271168372756 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.786 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271194325005 commit_ts:457136271194325006 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.786 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271194325005 commit_ts:457136271194325006 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.786 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271194325005 commit_ts:457136271194325006 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271207694337 commit_ts:457136271207694338 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271207694337 commit_ts:457136271207694338 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:28.806 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271207694337 commit_ts:457136271207694338 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.818 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271207694339 commit_ts:457136271207694340 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:28.819 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271207694339 commit_ts:457136271207694340 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:28.819 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271207694339 commit_ts:457136271207694340 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:29.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271325396993 commit_ts:457136271325396994 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:29.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271325396993 commit_ts:457136271325396994 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:29.256 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271325396993 commit_ts:457136271325396994 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:29.343 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271338504206 commit_ts:457136271338504207 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:29.343 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271338504206 commit_ts:457136271338504207 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:29.343 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271338504206 commit_ts:457136271338504207 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:29.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271351611393 commit_ts:457136271351611394 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:29.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271351611393 commit_ts:457136271351611394 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:29.357 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271351611393 commit_ts:457136271351611394 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:29.366 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136271351611395 commit_ts:457136271351611396 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:29.366 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136271351611395 commit_ts:457136271351611396 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:29.366 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136271351611395 commit_ts:457136271351611396 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:29.366 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:29.366 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:29.366 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:29.366 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:29.367 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:29.366 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:29.367 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:29.367 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:29.367 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-7] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:29.367 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:29.367 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:29.367 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:29.368 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertRPC (9.63s) === NAME === RUN TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn [2025/04/05 07:01:29.378 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:29.379 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:29.380 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:29.381 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:29.381 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:29.381 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:29.381 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:29.381 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:29.381 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:29.382 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:29.382 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:29.386 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:29.392 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:29.393 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:29.394 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:29.404 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:29.414 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:29.453 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1332] ["lease id"=22319604bcf95870] [2025/04/05 07:01:29.456 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:29.548 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=341] ["elapsed time"=88.460192ms] [2025/04/05 07:01:29.548 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:29.550 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:29.561 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=1d856369-292b-4379-abfb-c3ac6a7fef24] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:29.561 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:29.563 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.564 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:29.565 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189799936/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:29.565 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:29.565 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:29.565 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [2025/04/05 07:01:29.567 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95875] [ownerID=1d856369-292b-4379-abfb-c3ac6a7fef24] [op=none] [2025/04/05 07:01:29.567 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.567 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95875] [currRev=1562] [2025/04/05 07:01:29.568 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:29.568 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:29.568 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf957d8] [ownerID=9ed22150-126c-467b-ade3-3f8d8d17b88a] [op=none] [2025/04/05 07:01:29.568 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:29.568 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [2025/04/05 07:01:29.568 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [ownerKey=/tidb/br-stream/owner/6f189604bcf957d8] [currRev=1563] [2025/04/05 07:01:29.569 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95875] [ownerID=1d856369-292b-4379-abfb-c3ac6a7fef24] [op=none] [2025/04/05 07:01:29.569 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [op=none] [2025/04/05 07:01:29.569 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:29.575 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:29.576 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:29.577 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:537\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:29.577 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.578 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:29.578 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:29.588 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:29.595 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:29.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:29.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:29.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:29.600 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:29.600 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:29.600 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:29.600 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:29.600 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:29.600 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:29.601 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:29.602 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:29.603 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:29.603 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:29.605 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:29.605 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf9587d] [ownerID=1d856369-292b-4379-abfb-c3ac6a7fef24] [op=none] [2025/04/05 07:01:29.605 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.605 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [ownerKey=/tidb/stats/owner/22319604bcf9587d] [currRev=1565] [2025/04/05 07:01:29.607 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/63ca87cc-746b-4b95-8257-e42c06376f07] [2025/04/05 07:01:29.607 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [ttl-worker=task-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [originalCount=0] [newCount=4] [2025/04/05 07:01:29.607 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [ttl-worker=task-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [originalCount=0] [newCount=4] [2025/04/05 07:01:29.608 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:29.608 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:29.609 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:29.609 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:29.609 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836489609479431 [2025/04/05 07:01:29.614 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:29.621 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.293594ms] [2025/04/05 07:01:29.621 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:29.621 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:29.624 +00:00] [INFO] [set.go:172] ["set global var"] [conn=16] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:29.627 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=16] [schemaVersion=341] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 07:01:29.640 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:29.640 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`"] [2025/04/05 07:01:29.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.667 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=341] [neededSchemaVersion=342] ["elapsed time"=2.232897ms] [gotSchemaVersion=342] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:29.671 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=342] [2025/04/05 07:01:29.674 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=342] ["take time"=11.549943ms] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.685 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.701 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=342] [neededSchemaVersion=343] ["elapsed time"=2.133375ms] [gotSchemaVersion=343] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:29.706 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=343] [2025/04/05 07:01:29.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=343] ["take time"=10.116247ms] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.716 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:370, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.722 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 370, Old Table Name: _t1)"] [2025/04/05 07:01:29.735 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=343] [neededSchemaVersion=344] ["elapsed time"=953.695µs] [gotSchemaVersion=344] [phyTblIDs="[370]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:29.739 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=372] [version=344] [2025/04/05 07:01:29.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=344] ["take time"=8.034091ms] [job="ID:372, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.749 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=372] [tableIDs="[370]"] [comment="drop table: table ID"] [2025/04/05 07:01:29.756 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=372] [jobType="drop table"] [2025/04/05 07:01:29.757 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=372] [conn=16] [job="ID:372, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:370, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.776 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=372] [2025/04/05 07:01:29.777 +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: 1743836489777490477 [2025/04/05 07:01:29.781 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=344] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:01:29.793 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:29.793 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [2025/04/05 07:01:29.800 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:29.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.804 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 373, Table Name: t1)"] [2025/04/05 07:01:29.819 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=344] [neededSchemaVersion=345] ["elapsed time"=1.834547ms] [gotSchemaVersion=345] [phyTblIDs="[373]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:29.822 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=374] [version=345] [2025/04/05 07:01:29.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=345] ["take time"=7.360297ms] [job="ID:374, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:29.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.836 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=374] [conn=17] [job="ID:374, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:29.744 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:29.847 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=374] [2025/04/05 07:01:29.847 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=17] [schemaVersion=345] [cur_db=test] [sql="create table t1 (a int, b int, c varchar(128), unique index idx(b))"] [user=] [2025/04/05 07:01:30.090 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:01:30.411 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136272885415938] [generation=1] [session=17] [keys=3998] [size=253.6kB] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=24.253415ms] [2025/04/05 07:01:30.411 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136272885415938] [generation=2] [session=17] [keys=0] [size=0B] ["flushed keys"=3998] ["flushed size"=253.6kB] ["take time"=28.571µs] [2025/04/05 07:01:30.411 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3998] [flush_wait_duration=24.334222ms] [total_duration=191.724391ms] ["memdb traversal cache hit"=7996] ["memdb traversal cache miss"=7998] [size=253.6kB] [startTS=457136272885415938] [2025/04/05 07:01:30.413 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136272885415938] [commitTS=457136272937844737] [2025/04/05 07:01:30.413 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136272885415938] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] [concurrency=8] [2025/04/05 07:01:30.414 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457136272885415938\n# Conn_ID: 17\n# Query_time: 0.317132356\n# Parse_time: 0.044920231\n# Compile_time: 0.078136162\n# Rewrite_time: 0.010649369\n# Optimize_time: 0.000951075\n# Wait_TS: 0.000361811\n# Commit_primary_rpc_detail: {total:0.001s, region_id: 14, store: 127.0.0.1:20162, time_detail: {total_process_time: 100.9µs, total_suspend_time: 335.1µs, tikv_grpc_process_time: 24.2µs, tikv_grpc_wait_time: 18.8µs, tikv_wall_time: 485.4µs}, scan_detail: {get_snapshot_time: 11.5µs, rocksdb: {block: {}}}, write_detail: {store_batch_wait: 20.4µs, propose_send_wait: 0s, persist_log: {total: 67.6µs, write_leader_wait: 32ns, sync_log: 35.7µs, write_memtable: 329ns}, commit_log: 204.9µs, apply_batch_wait: 12.9µs, apply: {total:58.7µs, mutex_lock: 0s, write_leader_wait: 0s, write_wal: 12.6µs, write_memtable: 17.2µs}, scheduler: {process: 392.6µs, latch_wait: 5.05µ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('zQnwdTAJMjdfMQkwCTAJTi9BCTAJdGltZToxNjcuMW1zLCBvcGVuOjkuOTTCtXMsIGNsb3NlOjMzLjbCtXMsIGxvb3BzOjEsIHByZXBhcmU6IDE4LjltcywgY2hlY2tfaW5zZXJ0OiB7dG90YWxfdGltZTogMTQ4LjIBWwxtZW1fCSIRGgwzMC41ARo0cHJlZmV0Y2g6IDE3LjcBEghma18FUxA6IDkuOAUSYHJwYzp7QnVmZmVyQmF0Y2hHZXQ6e251bV8BGQwxLCB0GXMcNC43NG1zfSx+KAAMNy4yMwEoACAhAxhfZGV0YWlsFb0YcHJvY2Vzcw2rCDZucxFjLGt2X3JlYWRfd2FsbA0eDDkuMTIBtiB0aWt2X2dycGM6PgAMMzE1LilRGSIId2FpNQgINS4yJWAFHh1YCDUuOAXJECBzY2FuPqEAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvEVUMMjIuNQVVSHJvY2tzZGI6IHtibG9jazoge30BARQsIGNvbW0BhBB4bjogexUPGHByaW1hcnklVwQgeyVWbDogMC4wMDFzLCByZWdpb25faWQ6IDE0LCBzdG9FBTQyNy4wLjAuMToyMDE2Mo5QARAxMDAuOQWfBWIcX3N1c3BlbmQtUBAzMzUuMQkeWlIBBDI0LjMBJXMuUQEIOC44GT89UQg0ODUliQR9LDpTAUpBAQQxMW5BARQsIHdyaXRdNiUMBF9iQZsFiyGbBWwoLCBwcm9wb3NlX3MB4gGnCDogMAEXJGVyc2lzdF9sb2c5agw2Ny42BbsJXxRsZWFkZXINNQQzMkGGDHN5bmMJNAwzNS43HSw0bWVtdGFibGU6IDMyOW4B5C3iBWEIMjA0LXIQYXBwbHkyqgAEMTIuGwAVjQQ1OA1gGG11dGV4X2xFPgG6SpwAGRcMd2FsOgFSLscAGZsEMTcluSWBJGhlZHVsZXI6IHttbRA6IDM5Mg05AGw9Sgg1LjBBzEG3NAk1MjUuNCBLQglOL0EK')\n# Binary_plan: tidb_decode_binary_plan('2QnwZQrUCQoISW5zZXJ0XzE4AUABUgNOL0FaMnRpbWU6MTY3LjFtcywgb3Blbjo5Ljk0wrVzLCBjbG9zZTozMy42wrVzLCBsb29wczoxYsMDcHJlcGFyZTogMTguOW1zLCBjaGVja19pbgFfIDoge3RvdGFsXwVbOCAxNDguMm1zLCBtZW1faQmBDRoMMzAuNQEaNHByZWZldGNoOiAxNy43ARIMZmtfYwFTEDogOS44BRJgcnBjOntCdWZmZXJCYXRjaEdldDp7bnVtXwEZCDEsIB1zHDQuNzRtc30sfigADDcuMjMBKAAgAY8YX2RldGFpbBW9GHByb2Nlc3MNqwg2bnMRYyhrdl9yZWFkX3dhbBHjCDkuMQXiIHRpa3ZfZ3JwYzo+ABAzMTUuNCVSGSIMd2FpdA1dDDE1LjIZHh1YCDUuOAXJECBzY2FuPqEAWGtleXM6IDIwMDAsIGdldF9zbmFwc2hvEVUMMjIuNQVVSHJvY2tzZGI6IHtibG9jazoge30BARhitQVjb21tAYUYeG46IHssIA0PGHByaW1hcnklWC3KSDogMC4wMDFzLCByZWdpb25faWQh2BQsIHN0b3JBBjQyNy4wLjAuMToyMDE2Mo5RARAxMDAuOQWgKbkYc3VzcGVuZC0SEDMzNS4xCR5aUwEEMjQuNAEldC5SAQg4LjgZPz1SCDQ4NSWKBH0sOlQBSkIBBDExbkIBFCwgd3JpdF03JQwEX2JBnAWLIZwFbCgsIHByb3Bvc2VfcwHiAacIOiAwARckZXJzaXN0X2xvZzlqCDY3LmluCV8UbGVhZGVyDTUEMzJBhwxzeW5jCTQMMzUuNwXnCSw0bWVtdGFibGU6IDMyOW4B5C3TBWEIMjA0LXIQYXBwbHkyqgAEMTIuGwAVjQQ1OA1gGG11dGV4X2xFPwG6CXAynAAZFwx3YWw6AVIuxwAZmwQxNyW5JYEkaGVkdWxlcjoge21uEDogMzkyDTkAbD1KCDUuMEHNQbhAcJDrIHj///////////8BGAE=')\n# Resource_group: default\nuse test;\ninsert ignore into t1 values (0, 0, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (1, 1, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (2, 2, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (3, 3, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (4, 4, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (5, 5, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (6, 6, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (7, 7, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (8, 8, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (9, 9, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (10, 10, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (11, 11, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (12, 12, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (13, 13, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (14, 14, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (15, 15, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (16, 16, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (17, 17, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (18, 18, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (19, 19, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (20, 20, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (21, 21, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (22, 22, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (23, 23, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (24, 24, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (25, 25, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (26, 26, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (27, 27, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (28, 28, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (29, 29, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (30, 30, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (31, 31, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (32, 32, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (33, 33, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (34, 34, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (35, 35, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (36, 36, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (37, 37, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (38, 38, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (39, 39, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (40, 40, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (41, 41, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (42, 42, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (43, 43, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (44, 44, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (45, 45, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (46, 46, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (47, 47, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (48, 48, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (49, 49, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (50, 50, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (51, 51, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (52, 52, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (53, 53, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (54, 54, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (55, 55, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (56, 56, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (57, 57, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (58, 58, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (59, 59, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (60, 60, 'abcdefghijklmnopqrstuvwxyz1234567890,.?+-=_!@#$&*()_+'), (len:139806);"] [2025/04/05 07:01:30.430 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [] [2025/04/05 07:01:30.430 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:30.430 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:30.430 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.430 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:30.431 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:30.431 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 32, tp general"] ["take time"=74.827µs] [2025/04/05 07:01:30.431 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 33, tp general"] ["take time"=66.194µs] [2025/04/05 07:01:30.431 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.431 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.432 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:30.432 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:30.433 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=1d856369-292b-4379-abfb-c3ac6a7fef24] ["take time"=2.849723ms] [2025/04/05 07:01:30.433 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.433 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:30.433 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/63ca87cc-746b-4b95-8257-e42c06376f07] [2025/04/05 07:01:30.433 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [ttl-worker=task-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [originalCount=4] [newCount=0] [2025/04/05 07:01:30.434 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:30.434 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:30.434 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:30.434 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:30.434 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [ttl-worker=task-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [originalCount=4] [newCount=0] [2025/04/05 07:01:30.436 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:30.436 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:30.437 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:30.436 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:30.439 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.439 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1332] [2025/04/05 07:01:30.440 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:30.440 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:30.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:30.441 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:30.440 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:30.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:30.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:30.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:30.440 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:30.441 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:30.441 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.440 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:30.440 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:30.441 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.441 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:30.441 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:30.442 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:30.442 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=9ed22150-126c-467b-ade3-3f8d8d17b88a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:30.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:30.442 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:30.442 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:30.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:30.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:30.442 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [error="context canceled"] [2025/04/05 07:01:30.442 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:30.442 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:30.442 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:30.442 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:30.443 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [error="context canceled"] [2025/04/05 07:01:30.443 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [2025/04/05 07:01:30.443 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [error="context canceled"] [2025/04/05 07:01:30.443 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=1d856369-292b-4379-abfb-c3ac6a7fef24] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:30.450 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136272885415938] [startKey=7480000000000001755f698000000000000001038000000000000000] [endKey=7480000000000001755f728000000000000f9f] ["cost time"=37.342003ms] ["completed regions"=1] [2025/04/05 07:01:30.450 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136272885415938] [commitTS=457136272937844737] [session=17] [2025/04/05 07:01:30.466 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:30.466 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:30.505 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:30.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:30.516 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=86.176437ms] [2025/04/05 07:01:31.387 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:35.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136272885415938 commit_ts:457136272937844737 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:35.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136272885415938 commit_ts:457136272937844737 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:35.452 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136272885415938 commit_ts:457136272937844737 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:35.452 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:35.452 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:35.452 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:35.452 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:35.452 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:35.452 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:35.452 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:35.452 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:35.452 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:35.452 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-8] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:35.452 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:35.452 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:35.454 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.08s) === NAME === RUN TestPipelinedDMLDelete [2025/04/05 07:01:35.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/05 07:01:35.463 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:35.464 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:35.465 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:35.465 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:35.465 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:35.465 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:35.465 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:35.465 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:35.465 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:35.466 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:35.469 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:35.475 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:35.475 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:35.476 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:35.486 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:35.495 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:35.530 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=266] ["lease id"=22319604bcf95896] [2025/04/05 07:01:35.532 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:35.632 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=345] ["elapsed time"=96.565789ms] [2025/04/05 07:01:35.632 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:35.634 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:35.646 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:35.646 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:35.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.650 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:35.651 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189812224/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:35.652 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:35.652 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf9589b] [ownerID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [op=none] [2025/04/05 07:01:35.652 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.652 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:35.652 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [2025/04/05 07:01:35.652 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ownerKey=/tidb/ddl/fg/owner/22319604bcf9589b] [currRev=1593] [2025/04/05 07:01:35.654 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:35.654 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf9589b] [ownerID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [op=none] [2025/04/05 07:01:35.654 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [op=none] [2025/04/05 07:01:35.654 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:35.654 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:35.655 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:35.655 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf95804] [ownerID=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [op=none] [2025/04/05 07:01:35.655 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [2025/04/05 07:01:35.655 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [ownerKey=/tidb/br-stream/owner/6f189604bcf95804] [currRev=1594] [2025/04/05 07:01:35.661 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:35.662 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:35.663 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLDelete\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:580\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:35.663 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.664 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:35.664 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:35.674 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:35.681 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:35.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:35.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:35.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:35.686 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:35.686 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:35.686 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:35.686 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:35.686 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:35.686 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:35.687 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:35.687 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:35.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:35.688 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:35.689 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:35.689 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:35.691 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/22319604bcf958a2] [ownerID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [op=none] [2025/04/05 07:01:35.691 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.691 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ownerKey=/tidb/stats/owner/22319604bcf958a2] [currRev=1596] [2025/04/05 07:01:35.691 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:35.693 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/eb162bfd-8ddc-4529-a5d8-dd05a08adfc5] [2025/04/05 07:01:35.694 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ttl-worker=task-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [originalCount=0] [newCount=4] [2025/04/05 07:01:35.694 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ttl-worker=task-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [originalCount=0] [newCount=4] [2025/04/05 07:01:35.694 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:35.694 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:35.695 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:35.695 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:35.695 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836495695572425 [2025/04/05 07:01:35.700 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:35.707 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.579752ms] [2025/04/05 07:01:35.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:35.707 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:35.716 +00:00] [INFO] [set.go:172] ["set global var"] [conn=18] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:35.719 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=18] [schemaVersion=345] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:01:35.733 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:35.733 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 07:01:35.738 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.756 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=345] [neededSchemaVersion=346] ["elapsed time"=2.416814ms] [gotSchemaVersion=346] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:35.760 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=346] [2025/04/05 07:01:35.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=346] ["take time"=10.302759ms] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.772 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.788 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=346] [neededSchemaVersion=347] ["elapsed time"=2.322067ms] [gotSchemaVersion=347] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:35.792 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=347] [2025/04/05 07:01:35.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=347] ["take time"=9.396218ms] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.802 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:373, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.808 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 373, Old Table Name: t1)"] [2025/04/05 07:01:35.822 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=347] [neededSchemaVersion=348] ["elapsed time"=1.106522ms] [gotSchemaVersion=348] [phyTblIDs="[373]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:35.826 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=375] [version=348] [2025/04/05 07:01:35.827 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=348] ["take time"=8.328489ms] [job="ID:375, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.837 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=375] [tableIDs="[373]"] [comment="drop table: table ID"] [2025/04/05 07:01:35.844 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=375] [jobType="drop table"] [2025/04/05 07:01:35.845 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=375] [conn=18] [job="ID:375, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:373, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.693 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.864 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=375] [2025/04/05 07:01:35.864 +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: 1743836495864991525 [2025/04/05 07:01:35.868 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=348] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:35.881 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:35.881 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:35.887 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.892 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 376, Table Name: t)"] [2025/04/05 07:01:35.905 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=348] [neededSchemaVersion=349] ["elapsed time"=1.517426ms] [gotSchemaVersion=349] [phyTblIDs="[376]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:35.909 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=377] [version=349] [2025/04/05 07:01:35.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=349] ["take time"=8.395019ms] [job="ID:377, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.922 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=377] [conn=19] [job="ID:377, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.844 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.933 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=377] [2025/04/05 07:01:35.933 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=349] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:35.946 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:35.946 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:35.952 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.957 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 378, Table Name: _t)"] [2025/04/05 07:01:35.971 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=349] [neededSchemaVersion=350] ["elapsed time"=1.617109ms] [gotSchemaVersion=350] [phyTblIDs="[378]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:35.975 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=379] [version=350] [2025/04/05 07:01:35.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=350] ["take time"=8.709329ms] [job="ID:379, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:35.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.988 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=379] [conn=19] [job="ID:379, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:35.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:35.999 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=379] [2025/04/05 07:01:36.000 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=19] [schemaVersion=350] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:36.003 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405588998] [2025/04/05 07:01:36.007 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589003] [2025/04/05 07:01:36.011 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589006] [2025/04/05 07:01:36.015 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589009] [2025/04/05 07:01:36.019 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589012] [2025/04/05 07:01:36.023 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589015] [2025/04/05 07:01:36.027 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589018] [2025/04/05 07:01:36.031 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589021] [2025/04/05 07:01:36.034 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589024] [2025/04/05 07:01:36.038 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589027] [2025/04/05 07:01:36.042 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274405589030] [2025/04/05 07:01:36.046 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958338] [2025/04/05 07:01:36.050 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958341] [2025/04/05 07:01:36.054 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958344] [2025/04/05 07:01:36.058 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958348] [2025/04/05 07:01:36.062 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958351] [2025/04/05 07:01:36.066 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958354] [2025/04/05 07:01:36.069 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958357] [2025/04/05 07:01:36.073 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958360] [2025/04/05 07:01:36.077 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958363] [2025/04/05 07:01:36.081 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958366] [2025/04/05 07:01:36.085 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958369] [2025/04/05 07:01:36.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958372] [2025/04/05 07:01:36.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274418958375] [2025/04/05 07:01:36.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065538] [2025/04/05 07:01:36.100 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065541] [2025/04/05 07:01:36.104 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065544] [2025/04/05 07:01:36.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065549] [2025/04/05 07:01:36.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065552] [2025/04/05 07:01:36.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065557] [2025/04/05 07:01:36.119 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065560] [2025/04/05 07:01:36.122 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065563] [2025/04/05 07:01:36.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065566] [2025/04/05 07:01:36.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065569] [2025/04/05 07:01:36.133 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065572] [2025/04/05 07:01:36.137 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065575] [2025/04/05 07:01:36.140 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065578] [2025/04/05 07:01:36.144 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274432065581] [2025/04/05 07:01:36.148 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172739] [2025/04/05 07:01:36.152 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172742] [2025/04/05 07:01:36.156 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172747] [2025/04/05 07:01:36.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172752] [2025/04/05 07:01:36.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172755] [2025/04/05 07:01:36.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172758] [2025/04/05 07:01:36.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172761] [2025/04/05 07:01:36.175 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172764] [2025/04/05 07:01:36.179 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172767] [2025/04/05 07:01:36.182 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172770] [2025/04/05 07:01:36.186 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172773] [2025/04/05 07:01:36.190 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172776] [2025/04/05 07:01:36.194 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274445172779] [2025/04/05 07:01:36.198 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017795] [2025/04/05 07:01:36.201 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017798] [2025/04/05 07:01:36.205 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017801] [2025/04/05 07:01:36.209 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017805] [2025/04/05 07:01:36.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017808] [2025/04/05 07:01:36.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017811] [2025/04/05 07:01:36.220 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017814] [2025/04/05 07:01:36.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017817] [2025/04/05 07:01:36.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017820] [2025/04/05 07:01:36.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017823] [2025/04/05 07:01:36.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017826] [2025/04/05 07:01:36.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017829] [2025/04/05 07:01:36.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017832] [2025/04/05 07:01:36.245 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274458017835] [2025/04/05 07:01:36.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471124995] [2025/04/05 07:01:36.253 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471124998] [2025/04/05 07:01:36.257 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125002] [2025/04/05 07:01:36.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125005] [2025/04/05 07:01:36.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125008] [2025/04/05 07:01:36.267 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125011] [2025/04/05 07:01:36.271 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125014] [2025/04/05 07:01:36.274 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125017] [2025/04/05 07:01:36.277 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125020] [2025/04/05 07:01:36.281 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125023] [2025/04/05 07:01:36.284 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125026] [2025/04/05 07:01:36.287 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125029] [2025/04/05 07:01:36.291 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125032] [2025/04/05 07:01:36.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274471125035] [2025/04/05 07:01:36.298 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494340] [2025/04/05 07:01:36.301 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494343] [2025/04/05 07:01:36.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494346] [2025/04/05 07:01:36.308 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494350] [2025/04/05 07:01:36.312 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494353] [2025/04/05 07:01:36.315 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494356] [2025/04/05 07:01:36.319 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494359] [2025/04/05 07:01:36.322 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494362] [2025/04/05 07:01:36.325 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494365] [2025/04/05 07:01:36.329 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494368] [2025/04/05 07:01:36.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494371] [2025/04/05 07:01:36.335 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494374] [2025/04/05 07:01:36.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494377] [2025/04/05 07:01:36.342 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274484494380] [2025/04/05 07:01:36.345 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339394] [2025/04/05 07:01:36.349 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339397] [2025/04/05 07:01:36.352 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339400] [2025/04/05 07:01:36.356 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339403] [2025/04/05 07:01:36.359 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339407] [2025/04/05 07:01:36.363 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339410] [2025/04/05 07:01:36.366 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136274497339413] [2025/04/05 07:01:36.377 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136274497339417] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.52049ms] [2025/04/05 07:01:36.377 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.638745ms] [total_duration=3.893041ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457136274497339417] [2025/04/05 07:01:36.378 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136274497339417] [commitTS=457136274497339418] [2025/04/05 07:01:36.378 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136274497339417] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] [concurrency=8] [2025/04/05 07:01:36.384 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136274497339417] [startKey=7480000000000001785f728000000000000000] [endKey=7480000000000001785f728000000000000062] ["cost time"=5.793563ms] ["completed regions"=1] [2025/04/05 07:01:36.384 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136274497339417] [commitTS=457136274497339418] [session=19] [2025/04/05 07:01:36.393 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136274497339420] [generation=1] [session=19] [keys=100] [size=2.4kB] ["flushed keys"=100] ["flushed size"=2.4kB] ["take time"=2.173721ms] [2025/04/05 07:01:36.393 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.25944ms] [total_duration=7.6402ms] ["memdb traversal cache hit"=150] ["memdb traversal cache miss"=200] [size=2.4kB] [startTS=457136274497339420] [2025/04/05 07:01:36.394 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136274497339420] [commitTS=457136274497339421] [2025/04/05 07:01:36.394 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136274497339420] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/05 07:01:36.395 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=7480000000000001785f7280000000000003e8] [2025/04/05 07:01:36.397 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=7480000000000001785f7280000000000003e8] ["first new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:1 id:174 store_id:3 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 07:01:36.398 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=172] [2025/04/05 07:01:36.398 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000003e8] ["new region left"="{Id:172 StartKey:7480000000000001ff215f728000000000ff0023280000000000fa EndKey:7480000000000001ff785f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:173 store_id:1 id:174 store_id:3 id:175 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.399 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=176] [2025/04/05 07:01:36.399 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f7280000000000007d0] ["new region left"="{Id:176 StartKey:7480000000000001ff785f728000000000ff0003e80000000000fa EndKey:7480000000000001ff785f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:177 store_id:1 id:178 store_id:3 id:179 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.400 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=180] [2025/04/05 07:01:36.400 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000bb8] ["new region left"="{Id:180 StartKey:7480000000000001ff785f728000000000ff0007d00000000000fa EndKey:7480000000000001ff785f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:181 store_id:1 id:182 store_id:3 id:183 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.401 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=184] [2025/04/05 07:01:36.401 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000000fa0] ["new region left"="{Id:184 StartKey:7480000000000001ff785f728000000000ff000bb80000000000fa EndKey:7480000000000001ff785f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:185 store_id:1 id:186 store_id:3 id:187 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.401 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=188] [2025/04/05 07:01:36.402 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001388] ["new region left"="{Id:188 StartKey:7480000000000001ff785f728000000000ff000fa00000000000fa EndKey:7480000000000001ff785f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:189 store_id:1 id:190 store_id:3 id:191 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.402 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=192] [2025/04/05 07:01:36.403 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001770] ["new region left"="{Id:192 StartKey:7480000000000001ff785f728000000000ff0013880000000000fa EndKey:7480000000000001ff785f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:193 store_id:1 id:194 store_id:3 id:195 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.403 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=196] [2025/04/05 07:01:36.404 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001b58] ["new region left"="{Id:196 StartKey:7480000000000001ff785f728000000000ff0017700000000000fa EndKey:7480000000000001ff785f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:197 store_id:1 id:198 store_id:3 id:199 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.404 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=200] [2025/04/05 07:01:36.405 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000001f40] ["new region left"="{Id:200 StartKey:7480000000000001ff785f728000000000ff001b580000000000fa EndKey:7480000000000001ff785f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:201 store_id:1 id:202 store_id:3 id:203 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.405 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=204] [2025/04/05 07:01:36.406 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=7480000000000001785f728000000000002328] ["new region left"="{Id:204 StartKey:7480000000000001ff785f728000000000ff001f400000000000fa EndKey:7480000000000001ff785f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:50} Peers:[id:205 store_id:1 id:206 store_id:3 id:207 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:36.406 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[172,176,180,184,188,192,196,200,204]"] [2025/04/05 07:01:36.406 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=172] [backoff(ms)=299989] [2025/04/05 07:01:36.407 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=172] [2025/04/05 07:01:36.407 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=176] [backoff(ms)=299988] [2025/04/05 07:01:36.407 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=176] [2025/04/05 07:01:36.407 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=180] [backoff(ms)=299988] [2025/04/05 07:01:36.408 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=180] [2025/04/05 07:01:36.408 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=184] [backoff(ms)=299987] [2025/04/05 07:01:36.408 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=184] [2025/04/05 07:01:36.409 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=188] [backoff(ms)=299986] [2025/04/05 07:01:36.409 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=188] [2025/04/05 07:01:36.409 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=192] [backoff(ms)=299986] [2025/04/05 07:01:36.409 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=192] [2025/04/05 07:01:36.409 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=196] [backoff(ms)=299985] [2025/04/05 07:01:36.410 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=196] [2025/04/05 07:01:36.410 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=200] [backoff(ms)=299985] [2025/04/05 07:01:36.410 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=200] [2025/04/05 07:01:36.410 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=204] [backoff(ms)=299984] [2025/04/05 07:01:36.411 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=204] [2025/04/05 07:01:36.419 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136274497339420] [startKey=7480000000000001785f728000000000000001] [endKey=7480000000000001785f72800000000000270f] ["cost time"=24.59567ms] ["completed regions"=10] [2025/04/05 07:01:36.419 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136274497339420] [commitTS=457136274497339421] [session=19] [2025/04/05 07:01:36.420 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136274510446612] [generation=1] [session=19] [keys=50] [size=950B] ["flushed keys"=50] ["flushed size"=950B] ["take time"=1.809655ms] [2025/04/05 07:01:36.420 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=50] [flush_wait_duration=1.905255ms] [total_duration=7.061507ms] ["memdb traversal cache hit"=50] ["memdb traversal cache miss"=100] [size=950B] [startTS=457136274510446612] [2025/04/05 07:01:36.421 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136274510446612] [commitTS=457136274510446613] [2025/04/05 07:01:36.421 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136274510446612] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] [concurrency=8] [2025/04/05 07:01:36.428 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:36.428 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [] [2025/04/05 07:01:36.428 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.428 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:36.428 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:36.428 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:36.428 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 34, tp general"] ["take time"=43.14µs] [2025/04/05 07:01:36.428 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 35, tp general"] ["take time"=32.333µs] [2025/04/05 07:01:36.428 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 36, tp general"] ["take time"=37.73µs] [2025/04/05 07:01:36.428 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.428 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.428 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136274510446612] [startKey=7480000000000001785f728000000000000065] [endKey=7480000000000001785f72800000000000270f] ["cost time"=6.937957ms] ["completed regions"=10] [2025/04/05 07:01:36.428 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136274510446612] [commitTS=457136274510446613] [session=19] [2025/04/05 07:01:36.429 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:36.429 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:36.430 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] ["take time"=2.607073ms] [2025/04/05 07:01:36.430 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.430 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:36.431 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/eb162bfd-8ddc-4529-a5d8-dd05a08adfc5] [2025/04/05 07:01:36.431 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ttl-worker=task-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [originalCount=4] [newCount=0] [2025/04/05 07:01:36.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:36.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:36.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:36.431 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:36.431 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [ttl-worker=task-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [originalCount=4] [newCount=0] [2025/04/05 07:01:36.433 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:36.433 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:36.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:36.434 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:36.436 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.436 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=266] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:36.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [] [2025/04/05 07:01:36.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:36.437 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [2025/04/05 07:01:36.438 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:36.437 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:36.437 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:36.437 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [2025/04/05 07:01:36.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:36.438 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [2025/04/05 07:01:36.438 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:36.437 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.438 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.439 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=90afad8b-e89e-406d-ac76-fb8f7ebb7edf] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:36.439 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:36.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:36.439 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:36.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:36.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:36.439 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:36.439 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:36.439 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:36.439 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:36.439 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:36.440 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [error="context canceled"] [2025/04/05 07:01:36.440 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [2025/04/05 07:01:36.440 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [error="context canceled"] [2025/04/05 07:01:36.441 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c4440088-efeb-4ae0-8e1c-1729da19c4b9] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:36.457 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:36.457 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:36.505 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:36.505 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:36.516 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.02753ms] [2025/04/05 07:01:37.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/05 07:01:41.385 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136274497339417 commit_ts:457136274497339418 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:41.385 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136274497339417 commit_ts:457136274497339418 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:41.385 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136274497339417 commit_ts:457136274497339418 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:41.420 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136274497339420 commit_ts:457136274497339421 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:41.420 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136274497339420 commit_ts:457136274497339421 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:41.420 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136274497339420 commit_ts:457136274497339421 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:41.429 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136274510446612 commit_ts:457136274510446613 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:41.430 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136274510446612 commit_ts:457136274510446613 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:41.430 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136274510446612 commit_ts:457136274510446613 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:41.430 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:41.430 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:41.430 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:41.430 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:41.430 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:41.430 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:41.430 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:41.430 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-9] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:41.430 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:41.430 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:41.430 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:41.430 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:41.431 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDelete (5.98s) === NAME === RUN TestPipelinedDMLUpdate [2025/04/05 07:01:41.439 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:41.440 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:41.440 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:41.441 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:41.441 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:41.441 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:41.441 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:41.441 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:41.441 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:41.442 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:41.442 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:41.446 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:41.451 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:41.451 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:41.452 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:41.461 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:41.471 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:41.507 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1091] ["lease id"=6f189604bcf95831] [2025/04/05 07:01:41.509 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:41.597 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=350] ["elapsed time"=85.963389ms] [2025/04/05 07:01:41.597 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:41.600 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:41.609 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:41.609 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:41.611 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.612 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:41.612 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189824512/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:41.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:41.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:41.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:41.612 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:41.613 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:41.613 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:41.613 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:41.613 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [2025/04/05 07:01:41.614 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95836] [ownerID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [op=none] [2025/04/05 07:01:41.615 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.615 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf95836] [currRev=1627] [2025/04/05 07:01:41.615 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:41.615 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:41.616 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf956a6] [ownerID=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [op=none] [2025/04/05 07:01:41.616 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [2025/04/05 07:01:41.616 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf956a6] [currRev=1628] [2025/04/05 07:01:41.616 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:41.617 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95836] [ownerID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [op=none] [2025/04/05 07:01:41.617 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [op=none] [2025/04/05 07:01:41.617 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:41.625 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.626 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:41.626 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:41.635 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:41.642 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:41.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:41.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:41.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:41.646 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:41.646 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:41.646 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:41.646 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:41.646 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:41.647 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:41.647 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:41.648 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:41.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:41.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:41.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:41.648 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:41.648 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:41.649 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:41.649 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:41.649 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:41.651 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/stats/owner] ["owner key"=/tidb/stats/owner/6f189604bcf9583e] [ownerID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [op=none] [2025/04/05 07:01:41.651 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.651 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ownerKey=/tidb/stats/owner/6f189604bcf9583e] [currRev=1630] [2025/04/05 07:01:41.651 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:41.653 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/f2ad94c4-68df-4f98-89f2-69c52bb2afb0] [2025/04/05 07:01:41.653 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ttl-worker=task-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [originalCount=0] [newCount=4] [2025/04/05 07:01:41.653 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ttl-worker=task-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [originalCount=0] [newCount=4] [2025/04/05 07:01:41.654 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:41.654 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:41.654 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:41.654 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:41.654 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836501654671409 [2025/04/05 07:01:41.659 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:41.666 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.568491ms] [2025/04/05 07:01:41.666 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:41.666 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:41.674 +00:00] [INFO] [set.go:172] ["set global var"] [conn=20] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:41.677 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:41.678 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=20] [schemaVersion=350] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:41.691 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:41.691 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:41.697 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.713 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=350] [neededSchemaVersion=351] ["elapsed time"=1.922846ms] [gotSchemaVersion=351] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.717 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=351] [2025/04/05 07:01:41.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=351] ["take time"=9.464186ms] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.729 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.744 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=351] [neededSchemaVersion=352] ["elapsed time"=1.98972ms] [gotSchemaVersion=352] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.747 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=352] [2025/04/05 07:01:41.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=352] ["take time"=9.000964ms] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.757 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:378, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.763 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 378, Old Table Name: _t)"] [2025/04/05 07:01:41.776 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=352] [neededSchemaVersion=353] ["elapsed time"=1.017382ms] [gotSchemaVersion=353] [phyTblIDs="[378]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.779 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=380] [version=353] [2025/04/05 07:01:41.781 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=353] ["take time"=7.626467ms] [job="ID:380, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.790 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=380] [tableIDs="[378]"] [comment="drop table: table ID"] [2025/04/05 07:01:41.797 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=380] [jobType="drop table"] [2025/04/05 07:01:41.798 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=380] [conn=20] [job="ID:380, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:378, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.816 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=380] [2025/04/05 07:01:41.827 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:41.827 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:41.832 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.848 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=353] [neededSchemaVersion=354] ["elapsed time"=1.923534ms] [gotSchemaVersion=354] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.852 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=354] [2025/04/05 07:01:41.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=354] ["take time"=9.260264ms] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.863 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.879 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=354] [neededSchemaVersion=355] ["elapsed time"=1.87299ms] [gotSchemaVersion=355] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.883 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=355] [2025/04/05 07:01:41.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=355] ["take time"=9.013707ms] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.892 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:376, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.898 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 376, Old Table Name: t)"] [2025/04/05 07:01:41.911 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=355] [neededSchemaVersion=356] ["elapsed time"=1.070319ms] [gotSchemaVersion=356] [phyTblIDs="[376]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:41.914 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=381] [version=356] [2025/04/05 07:01: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=356] ["take time"=8.006647ms] [job="ID:381, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.925 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=381] [tableIDs="[376]"] [comment="drop table: table ID"] [2025/04/05 07:01:41.929 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=381] [jobType="drop table"] [2025/04/05 07:01:41.930 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=381] [conn=20] [job="ID:381, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:376, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.947 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=381] [2025/04/05 07:01:41.948 +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: 1743836501948302837 [2025/04/05 07:01:41.952 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=356] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:41.964 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:41.964 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:41.970 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:41.975 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 382, Table Name: t)"] [2025/04/05 07:01:41.989 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=356] [neededSchemaVersion=357] ["elapsed time"=1.533593ms] [gotSchemaVersion=357] [phyTblIDs="[382]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:41.993 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=383] [version=357] [2025/04/05 07:01:41.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=357] ["take time"=8.572037ms] [job="ID:383, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:42.006 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=383] [conn=21] [job="ID:383, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:42.017 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=383] [2025/04/05 07:01:42.017 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=357] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:42.030 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:42.030 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:42.036 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:42.040 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 384, Table Name: _t)"] [2025/04/05 07:01:42.054 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=357] [neededSchemaVersion=358] ["elapsed time"=1.50582ms] [gotSchemaVersion=358] [phyTblIDs="[384]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:42.058 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=385] [version=358] [2025/04/05 07:01:42.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=358] ["take time"=8.481991ms] [job="ID:385, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:42.070 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=385] [conn=21] [job="ID:385, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:41.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:42.081 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=385] [2025/04/05 07:01:42.082 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=21] [schemaVersion=358] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:42.084 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136275991560206] [2025/04/05 07:01:42.089 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136275991560210] [2025/04/05 07:01:42.092 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136275991560213] [2025/04/05 07:01:42.096 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929538] [2025/04/05 07:01:42.100 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929541] [2025/04/05 07:01:42.104 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929544] [2025/04/05 07:01:42.107 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929547] [2025/04/05 07:01:42.111 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929550] [2025/04/05 07:01:42.115 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929555] [2025/04/05 07:01:42.119 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929560] [2025/04/05 07:01:42.123 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929566] [2025/04/05 07:01:42.126 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929569] [2025/04/05 07:01:42.130 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929572] [2025/04/05 07:01:42.134 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929575] [2025/04/05 07:01:42.138 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929578] [2025/04/05 07:01:42.141 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929581] [2025/04/05 07:01:42.145 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276004929584] [2025/04/05 07:01:42.149 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036739] [2025/04/05 07:01:42.153 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036742] [2025/04/05 07:01:42.157 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036745] [2025/04/05 07:01:42.160 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036748] [2025/04/05 07:01:42.164 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036751] [2025/04/05 07:01:42.168 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036754] [2025/04/05 07:01:42.172 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036758] [2025/04/05 07:01:42.176 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036761] [2025/04/05 07:01:42.181 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036764] [2025/04/05 07:01:42.185 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036767] [2025/04/05 07:01:42.189 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036770] [2025/04/05 07:01:42.193 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276018036773] [2025/04/05 07:01:42.196 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143938] [2025/04/05 07:01:42.200 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143941] [2025/04/05 07:01:42.204 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143944] [2025/04/05 07:01:42.208 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143947] [2025/04/05 07:01:42.212 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143950] [2025/04/05 07:01:42.216 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143953] [2025/04/05 07:01:42.219 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143957] [2025/04/05 07:01:42.223 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143960] [2025/04/05 07:01:42.227 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143963] [2025/04/05 07:01:42.231 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143966] [2025/04/05 07:01:42.234 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143969] [2025/04/05 07:01:42.238 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143972] [2025/04/05 07:01:42.242 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143975] [2025/04/05 07:01:42.246 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276031143978] [2025/04/05 07:01:42.249 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043988995] [2025/04/05 07:01:42.256 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043988998] [2025/04/05 07:01:42.260 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989002] [2025/04/05 07:01:42.264 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989005] [2025/04/05 07:01:42.268 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989008] [2025/04/05 07:01:42.272 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989012] [2025/04/05 07:01:42.275 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989015] [2025/04/05 07:01:42.279 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989018] [2025/04/05 07:01:42.282 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989021] [2025/04/05 07:01:42.286 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989024] [2025/04/05 07:01:42.290 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989027] [2025/04/05 07:01:42.294 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276043989030] [2025/04/05 07:01:42.298 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096195] [2025/04/05 07:01:42.302 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096198] [2025/04/05 07:01:42.305 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096201] [2025/04/05 07:01:42.309 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096204] [2025/04/05 07:01:42.313 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096207] [2025/04/05 07:01:42.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096210] [2025/04/05 07:01:42.320 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096214] [2025/04/05 07:01:42.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096217] [2025/04/05 07:01:42.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096220] [2025/04/05 07:01:42.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096223] [2025/04/05 07:01:42.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096226] [2025/04/05 07:01:42.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096229] [2025/04/05 07:01:42.343 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276057096232] [2025/04/05 07:01:42.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465538] [2025/04/05 07:01:42.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465541] [2025/04/05 07:01:42.354 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465544] [2025/04/05 07:01:42.358 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465547] [2025/04/05 07:01:42.361 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465550] [2025/04/05 07:01:42.365 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465554] [2025/04/05 07:01:42.370 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465560] [2025/04/05 07:01:42.373 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465563] [2025/04/05 07:01:42.377 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465566] [2025/04/05 07:01:42.381 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465569] [2025/04/05 07:01:42.384 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465572] [2025/04/05 07:01:42.388 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465575] [2025/04/05 07:01:42.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276070465578] [2025/04/05 07:01:42.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310593] [2025/04/05 07:01:42.399 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310596] [2025/04/05 07:01:42.403 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310599] [2025/04/05 07:01:42.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310602] [2025/04/05 07:01:42.410 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310605] [2025/04/05 07:01:42.414 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310608] [2025/04/05 07:01:42.417 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310611] [2025/04/05 07:01:42.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310615] [2025/04/05 07:01:42.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310618] [2025/04/05 07:01:42.429 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310621] [2025/04/05 07:01:42.432 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310624] [2025/04/05 07:01:42.436 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310627] [2025/04/05 07:01:42.440 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310630] [2025/04/05 07:01:42.443 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276083310633] [2025/04/05 07:01:42.447 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276096417795] [2025/04/05 07:01:42.451 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276096417798] [2025/04/05 07:01:42.455 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276096417801] [2025/04/05 07:01:42.458 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276096417804] [2025/04/05 07:01:42.462 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136276096417807] [2025/04/05 07:01:42.475 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417813] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.080205ms] [2025/04/05 07:01:42.477 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417813] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.312607ms] [2025/04/05 07:01:42.478 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417813] [generation=3] [session=21] [keys=31] [size=899B] ["flushed keys"=66] ["flushed size"=1.914kB] ["take time"=1.179677ms] [2025/04/05 07:01:42.480 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417813] [generation=4] [session=21] [keys=26] [size=754B] ["flushed keys"=92] ["flushed size"=2.668kB] ["take time"=1.255571ms] [2025/04/05 07:01:42.481 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417813] [generation=5] [session=21] [keys=8] [size=232B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=888.905µs] [2025/04/05 07:01:42.481 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=1.737897ms] [total_duration=8.282267ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457136276096417813] [2025/04/05 07:01:42.482 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136276096417813] [commitTS=457136276096417814] [2025/04/05 07:01:42.482 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136276096417813] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] [concurrency=8] [2025/04/05 07:01:42.488 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136276096417813] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f728000000000000063] ["cost time"=5.352836ms] ["completed regions"=1] [2025/04/05 07:01:42.488 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136276096417813] [commitTS=457136276096417814] [session=21] [2025/04/05 07:01:42.492 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=1] [session=21] [keys=10] [size=240B] ["flushed keys"=10] ["flushed size"=240B] ["take time"=1.094532ms] [2025/04/05 07:01:42.494 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=2] [session=21] [keys=28] [size=672B] ["flushed keys"=38] ["flushed size"=912B] ["take time"=1.194742ms] [2025/04/05 07:01:42.495 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=3] [session=21] [keys=32] [size=768B] ["flushed keys"=70] ["flushed size"=1.68kB] ["take time"=1.311868ms] [2025/04/05 07:01:42.497 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=4] [session=21] [keys=32] [size=768B] ["flushed keys"=102] ["flushed size"=2.448kB] ["take time"=1.309723ms] [2025/04/05 07:01:42.498 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=5] [session=21] [keys=30] [size=720B] ["flushed keys"=132] ["flushed size"=3.168kB] ["take time"=1.263022ms] [2025/04/05 07:01:42.499 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=6] [session=21] [keys=34] [size=816B] ["flushed keys"=166] ["flushed size"=3.984kB] ["take time"=1.279216ms] [2025/04/05 07:01:42.501 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=7] [session=21] [keys=32] [size=768B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=1.333483ms] [2025/04/05 07:01:42.501 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276096417816] [generation=8] [session=21] [keys=0] [size=0B] ["flushed keys"=198] ["flushed size"=4.752kB] ["take time"=30.437µs] [2025/04/05 07:01:42.501 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=198] [flush_wait_duration=1.322794ms] [total_duration=11.800497ms] ["memdb traversal cache hit"=297] ["memdb traversal cache miss"=396] [size=4.752kB] [startTS=457136276096417816] [2025/04/05 07:01:42.502 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136276096417816] [commitTS=457136276109787137] [2025/04/05 07:01:42.503 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136276096417816] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/05 07:01:42.503 +00:00] [INFO] [split_region.go:85] ["split batch regions request"] ["split key count"=9] ["batch count"=1] ["first batch, region ID"=14] ["first split key"=74800000000000017e5f7280000000000003e8] [2025/04/05 07:01:42.505 +00:00] [INFO] [split_region.go:187] ["batch split regions complete"] ["batch region ID"=14] ["first at"=74800000000000017e5f7280000000000003e8] ["first new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:1 id:210 store_id:3 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] ["new region count"=9] [2025/04/05 07:01:42.506 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=208] [2025/04/05 07:01:42.506 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000003e8] ["new region left"="{Id:208 StartKey:7480000000000001ff785f728000000000ff0023280000000000fa EndKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:209 store_id:1 id:210 store_id:3 id:211 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.507 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=212] [2025/04/05 07:01:42.524 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136276096417816] [startKey=74800000000000017e5f728000000000000001] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=21.777854ms] ["completed regions"=10] [2025/04/05 07:01:42.525 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136276096417816] [commitTS=457136276109787137] [session=21] [2025/04/05 07:01:42.608 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f7280000000000007d0] ["new region left"="{Id:212 StartKey:7480000000000001ff7e5f728000000000ff0003e80000000000fa EndKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:213 store_id:1 id:214 store_id:3 id:215 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.608 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=216] [2025/04/05 07:01:42.609 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000bb8] ["new region left"="{Id:216 StartKey:7480000000000001ff7e5f728000000000ff0007d00000000000fa EndKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:217 store_id:1 id:218 store_id:3 id:219 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.609 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=220] [2025/04/05 07:01:42.610 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000000fa0] ["new region left"="{Id:220 StartKey:7480000000000001ff7e5f728000000000ff000bb80000000000fa EndKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:221 store_id:1 id:222 store_id:3 id:223 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.610 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=224] [2025/04/05 07:01:42.611 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001388] ["new region left"="{Id:224 StartKey:7480000000000001ff7e5f728000000000ff000fa00000000000fa EndKey:7480000000000001ff7e5f728000000000ff0013880000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:225 store_id:1 id:226 store_id:3 id:227 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.611 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=228] [2025/04/05 07:01:42.612 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001770] ["new region left"="{Id:228 StartKey:7480000000000001ff7e5f728000000000ff0013880000000000fa EndKey:7480000000000001ff7e5f728000000000ff0017700000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:229 store_id:1 id:230 store_id:3 id:231 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.612 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=232] [2025/04/05 07:01:42.613 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001b58] ["new region left"="{Id:232 StartKey:7480000000000001ff7e5f728000000000ff0017700000000000fa EndKey:7480000000000001ff7e5f728000000000ff001b580000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:233 store_id:1 id:234 store_id:3 id:235 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.613 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=236] [2025/04/05 07:01:42.614 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000001f40] ["new region left"="{Id:236 StartKey:7480000000000001ff7e5f728000000000ff001b580000000000fa EndKey:7480000000000001ff7e5f728000000000ff001f400000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:237 store_id:1 id:238 store_id:3 id:239 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.614 +00:00] [INFO] [split_region.go:242] ["start scatter region"] [regionID=240] [2025/04/05 07:01:42.614 +00:00] [INFO] [split_region.go:199] ["batch split regions, scatter region complete"] ["batch region ID"=14] [at=74800000000000017e5f728000000000002328] ["new region left"="{Id:240 StartKey:7480000000000001ff7e5f728000000000ff001f400000000000fa EndKey:7480000000000001ff7e5f728000000000ff0023280000000000fa RegionEpoch:{ConfVer:5 Version:59} Peers:[id:241 store_id:1 id:242 store_id:3 id:243 store_id:2 ] EncryptionMeta: IsInFlashback:false FlashbackStartTs:0}"] [2025/04/05 07:01:42.615 +00:00] [INFO] [split_region.go:236] ["split regions complete"] ["region count"=9] ["region IDs"="[208,212,216,220,224,228,232,236,240]"] [2025/04/05 07:01:42.615 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=208] [backoff(ms)=299888] [2025/04/05 07:01:42.615 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=208] [2025/04/05 07:01:42.615 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=212] [backoff(ms)=299888] [2025/04/05 07:01:42.616 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=212] [2025/04/05 07:01:42.616 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=216] [backoff(ms)=299887] [2025/04/05 07:01:42.616 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=216] [2025/04/05 07:01:42.616 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=220] [backoff(ms)=299887] [2025/04/05 07:01:42.617 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=220] [2025/04/05 07:01:42.617 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=224] [backoff(ms)=299886] [2025/04/05 07:01:42.617 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=224] [2025/04/05 07:01:42.617 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=228] [backoff(ms)=299886] [2025/04/05 07:01:42.618 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=228] [2025/04/05 07:01:42.618 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=232] [backoff(ms)=299885] [2025/04/05 07:01:42.618 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=232] [2025/04/05 07:01:42.618 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=236] [backoff(ms)=299885] [2025/04/05 07:01:42.619 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=236] [2025/04/05 07:01:42.619 +00:00] [INFO] [split_region.go:279] ["wait scatter region"] [regionID=240] [backoff(ms)=299884] [2025/04/05 07:01:42.619 +00:00] [INFO] [split_region.go:288] ["wait scatter region finished"] [regionID=240] [2025/04/05 07:01:42.621 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 07:01:42.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:42.621 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:42.621 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:42.626 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276136001549] [generation=1] [session=21] [keys=10] [size=290B] ["flushed keys"=10] ["flushed size"=290B] ["take time"=1.186631ms] [2025/04/05 07:01:42.628 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276136001549] [generation=2] [session=21] [keys=25] [size=725B] ["flushed keys"=35] ["flushed size"=1.015kB] ["take time"=1.407294ms] [2025/04/05 07:01:42.629 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276136001549] [generation=3] [session=21] [keys=29] [size=841B] ["flushed keys"=64] ["flushed size"=1.856kB] ["take time"=1.45085ms] [2025/04/05 07:01:42.631 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276136001549] [generation=4] [session=21] [keys=28] [size=812B] ["flushed keys"=92] ["flushed size"=2.668kB] ["take time"=1.449808ms] [2025/04/05 07:01:42.632 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136276136001549] [generation=5] [session=21] [keys=8] [size=232B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=1.086819ms] [2025/04/05 07:01:42.632 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.08438ms] [total_duration=11.214889ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=100] [size=2.9kB] [startTS=457136276136001549] [2025/04/05 07:01:42.633 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136276136001549] [commitTS=457136276136001550] [2025/04/05 07:01:42.633 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136276136001549] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] [concurrency=8] [2025/04/05 07:01:42.640 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136276136001549] [startKey=74800000000000017e5f728000000000000000] [endKey=74800000000000017e5f7280000000000026ac] ["cost time"=6.337527ms] ["completed regions"=10] [2025/04/05 07:01:42.640 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=10] [startTS=457136276136001549] [commitTS=457136276136001550] [session=21] [2025/04/05 07:01:42.640 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:42.640 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:42.640 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [] [2025/04/05 07:01:42.641 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.641 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:42.641 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:42.641 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 37, tp general"] ["take time"=63.216µs] [2025/04/05 07:01:42.641 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 38, tp general"] ["take time"=35.668µs] [2025/04/05 07:01:42.641 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 39, tp general"] ["take time"=33.383µs] [2025/04/05 07:01:42.641 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 40, tp general"] ["take time"=29.655µs] [2025/04/05 07:01:42.641 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.641 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.642 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:42.642 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:42.644 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] ["take time"=3.476599ms] [2025/04/05 07:01:42.644 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.644 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:42.644 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/f2ad94c4-68df-4f98-89f2-69c52bb2afb0] [2025/04/05 07:01:42.644 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ttl-worker=task-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [originalCount=4] [newCount=0] [2025/04/05 07:01:42.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:42.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:42.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:42.644 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:42.644 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [ttl-worker=task-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [originalCount=4] [newCount=0] [2025/04/05 07:01:42.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:42.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:42.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:42.647 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:42.649 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.649 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1091] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:42.651 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:42.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.651 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:42.650 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:42.650 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:42.651 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:42.650 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [] [2025/04/05 07:01:42.651 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [2025/04/05 07:01:42.651 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:42.651 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.651 +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).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/sessiontxn.NewTxn\n\tpkg/sessiontxn/interface.go:224\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Begin\n\tpkg/ddl/session/session.go:45\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:174\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\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/sessiontxn.NewTxn\n\tpkg/sessiontxn/interface.go:224\ngithub.com/pingcap/tidb/pkg/ddl/session.(*Session).Begin\n\tpkg/ddl/session/session.go:45\ngithub.com/pingcap/tidb/pkg/ddl/notifier.(*listResult).Read\n\tpkg/ddl/notifier/store.go:174\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"] [2025/04/05 07:01:42.653 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:42.653 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e8f216b6-a9e7-4b6c-b2d8-60f64c9d0448] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:42.653 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:42.653 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:42.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:42.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:42.653 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:42.653 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:42.654 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [error="context canceled"] [2025/04/05 07:01:42.654 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.657 +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/05 07:01:42.658 +00:00] [ERROR] [subscribe.go:170] ["Error processing events"] [category=ddl-notifier] [error="[127.0.0.1:20162](1) context canceled"] [errorVerbose="[127.0.0.1:20162](1) context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/store/driver/error.ToTiDBErr\n\tpkg/store/driver/error/error.go:208\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIteratorWorker).handleTaskOnce\n\tpkg/store/copr/coprocessor.go:1425\ngithub.com/pingcap/tidb/pkg/store/copr.(*liteCopIteratorWorker).liteSendReq\n\tpkg/store/copr/coprocessor.go:1197\ngithub.com/pingcap/tidb/pkg/store/copr.(*copIterator).Next\n\tpkg/store/copr/coprocessor.go:1112\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).fetchResp\n\tpkg/distsql/select_result.go:317\ngithub.com/pingcap/tidb/pkg/distsql.(*selectResult).Next\n\tpkg/distsql/select_result.go:382\ngithub.com/pingcap/tidb/pkg/executor.(*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/05 07:01:42.658 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.658 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [2025/04/05 07:01:42.658 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [error="context canceled"] [2025/04/05 07:01:42.658 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:42.658 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:42.659 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:42.659 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:42.670 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:42.670 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:42.714 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=96c3c9c8-c2ff-490d-bb68-1ae5506ae1a6] [error="context canceled"] [2025/04/05 07:01:42.714 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:42.714 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:42.724 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.42036ms] [2025/04/05 07:01:43.447 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:47.489 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136276096417813 commit_ts:457136276096417814 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:47.489 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136276096417813 commit_ts:457136276096417814 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:47.489 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136276096417813 commit_ts:457136276096417814 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:47.526 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136276096417816 commit_ts:457136276109787137 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:47.526 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136276096417816 commit_ts:457136276109787137 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:47.526 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136276096417816 commit_ts:457136276109787137 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136276136001549 commit_ts:457136276136001550 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136276136001549 commit_ts:457136276136001550 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136276136001549 commit_ts:457136276136001550 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:47.641 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:47.641 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:47.641 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:47.641 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:47.641 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:47.641 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:47.641 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:47.641 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:47.641 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:47.641 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-10] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:47.643 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLUpdate (6.21s) === NAME === RUN TestPipelinedDMLCommitFailed [2025/04/05 07:01:47.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/05 07:01:47.651 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:47.652 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:47.652 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:47.652 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:47.652 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:47.652 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:47.652 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:47.653 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:47.653 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:47.653 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:47.657 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:47.662 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:47.663 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:47.664 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:47.673 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:47.683 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:47.718 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1352] ["lease id"=22319604bcf958f0] [2025/04/05 07:01:47.720 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:47.806 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=358] ["elapsed time"=84.308859ms] [2025/04/05 07:01:47.806 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:47.809 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:47.818 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=47561e29-a34a-428c-8645-7f18e22dc318] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:47.818 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:47.820 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:47.821 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:47.821 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189947392/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:47.821 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:47.822 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:47.822 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:47.822 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [2025/04/05 07:01:47.824 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf956d5] [ownerID=47561e29-a34a-428c-8645-7f18e22dc318] [op=none] [2025/04/05 07:01:47.824 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:47.824 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf956d5] [currRev=1667] [2025/04/05 07:01:47.824 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:47.825 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=8eb52871-213b-42e4-91d0-53f51763f789] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:47.825 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:47.825 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf9586f] [ownerID=8eb52871-213b-42e4-91d0-53f51763f789] [op=none] [2025/04/05 07:01:47.825 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [2025/04/05 07:01:47.826 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [ownerKey=/tidb/br-stream/owner/6f189604bcf9586f] [currRev=1668] [2025/04/05 07:01:47.826 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf956d5] [ownerID=47561e29-a34a-428c-8645-7f18e22dc318] [op=none] [2025/04/05 07:01:47.826 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [op=none] [2025/04/05 07:01:47.826 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:47.835 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:47.836 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:47.836 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:47.845 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:47.852 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:47.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:47.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:47.857 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:47.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:47.857 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:47.857 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:47.857 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:47.857 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:47.857 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:47.858 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:47.858 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:47.859 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:47.860 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:47.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:47.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:47.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:47.860 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:47.861 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:47.864 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/ef2eada5-13c1-4668-bbb6-c296b9586837] [2025/04/05 07:01:47.864 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [ttl-worker=task-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [originalCount=0] [newCount=4] [2025/04/05 07:01:47.864 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:47.864 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [ttl-worker=task-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [originalCount=0] [newCount=4] [2025/04/05 07:01:47.864 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:47.865 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:47.865 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:47.865 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836507865565394 [2025/04/05 07:01:47.869 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:47.876 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.142563ms] [2025/04/05 07:01:47.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:47.876 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:47.887 +00:00] [INFO] [set.go:172] ["set global var"] [conn=22] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:47.890 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:47.891 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=22] [schemaVersion=358] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:47.905 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:47.905 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:47.911 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:47.927 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=358] [neededSchemaVersion=359] ["elapsed time"=1.880017ms] [gotSchemaVersion=359] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:47.931 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=359] [2025/04/05 07:01:47.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=359] ["take time"=10.026869ms] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:47.943 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:47.960 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=359] [neededSchemaVersion=360] ["elapsed time"=1.895662ms] [gotSchemaVersion=360] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:47.963 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=360] [2025/04/05 07:01:47.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=360] ["take time"=9.059337ms] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:47.973 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:384, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:47.980 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 384, Old Table Name: _t)"] [2025/04/05 07:01:47.992 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=360] [neededSchemaVersion=361] ["elapsed time"=1.104807ms] [gotSchemaVersion=361] [phyTblIDs="[384]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:47.996 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=386] [version=361] [2025/04/05 07:01:47.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=361] ["take time"=8.274874ms] [job="ID:386, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.007 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=386] [tableIDs="[384]"] [comment="drop table: table ID"] [2025/04/05 07:01:48.014 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=386] [jobType="drop table"] [2025/04/05 07:01:48.015 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=386] [conn=22] [job="ID:386, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:384, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.034 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=386] [2025/04/05 07:01:48.045 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:48.045 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:48.051 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.066 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=361] [neededSchemaVersion=362] ["elapsed time"=1.887516ms] [gotSchemaVersion=362] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:48.070 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=362] [2025/04/05 07:01:48.071 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=362] ["take time"=9.081961ms] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.084 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.099 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=362] [neededSchemaVersion=363] ["elapsed time"=1.880733ms] [gotSchemaVersion=363] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:48.102 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=363] [2025/04/05 07:01:48.104 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=363] ["take time"=9.190958ms] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.112 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:382, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.118 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 382, Old Table Name: t)"] [2025/04/05 07:01:48.130 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=363] [neededSchemaVersion=364] ["elapsed time"=1.030215ms] [gotSchemaVersion=364] [phyTblIDs="[382]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:48.134 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=387] [version=364] [2025/04/05 07:01:48.135 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=364] ["take time"=8.360699ms] [job="ID:387, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.144 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=387] [tableIDs="[382]"] [comment="drop table: table ID"] [2025/04/05 07:01:48.149 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=387] [jobType="drop table"] [2025/04/05 07:01:48.149 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=387] [conn=22] [job="ID:387, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:382, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:47.994 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.167 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=387] [2025/04/05 07:01:48.167 +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: 1743836508168035001 testkit.go:123: RefreshSession rand seed: 1743836508170410423 [2025/04/05 07:01:48.174 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=364] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:48.187 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:48.187 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:48.193 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:48.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.197 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 388, Table Name: t)"] [2025/04/05 07:01:48.210 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=364] [neededSchemaVersion=365] ["elapsed time"=1.480352ms] [gotSchemaVersion=365] [phyTblIDs="[388]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:48.214 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=389] [version=365] [2025/04/05 07:01:48.216 +00:00] [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"=9.03673ms] [job="ID:389, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.227 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=389] [conn=23] [job="ID:389, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:48.143 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.238 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=389] [2025/04/05 07:01:48.238 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=365] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:48.250 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:48.250 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:48.256 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:48.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.260 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 390, Table Name: _t)"] [2025/04/05 07:01:48.273 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=365] [neededSchemaVersion=366] ["elapsed time"=1.412284ms] [gotSchemaVersion=366] [phyTblIDs="[390]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:48.277 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=391] [version=366] [2025/04/05 07:01:48.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=366] ["take time"=8.126985ms] [job="ID:391, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:48.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.289 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=391] [conn=23] [job="ID:391, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:48.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:48.300 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=391] [2025/04/05 07:01:48.300 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=23] [schemaVersion=366] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:48.303 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222341] [2025/04/05 07:01:48.307 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222345] [2025/04/05 07:01:48.310 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222348] [2025/04/05 07:01:48.314 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222351] [2025/04/05 07:01:48.317 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222354] [2025/04/05 07:01:48.321 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222357] [2025/04/05 07:01:48.324 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222361] [2025/04/05 07:01:48.328 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222366] [2025/04/05 07:01:48.332 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222370] [2025/04/05 07:01:48.336 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222373] [2025/04/05 07:01:48.339 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222376] [2025/04/05 07:01:48.343 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277630222379] [2025/04/05 07:01:48.346 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329538] [2025/04/05 07:01:48.350 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329541] [2025/04/05 07:01:48.353 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329544] [2025/04/05 07:01:48.357 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329547] [2025/04/05 07:01:48.360 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329550] [2025/04/05 07:01:48.364 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329553] [2025/04/05 07:01:48.367 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329556] [2025/04/05 07:01:48.371 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329559] [2025/04/05 07:01:48.374 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329562] [2025/04/05 07:01:48.378 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329565] [2025/04/05 07:01:48.382 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329569] [2025/04/05 07:01:48.385 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329572] [2025/04/05 07:01:48.389 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329575] [2025/04/05 07:01:48.392 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277643329578] [2025/04/05 07:01:48.396 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436738] [2025/04/05 07:01:48.400 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436741] [2025/04/05 07:01:48.404 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436744] [2025/04/05 07:01:48.407 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436747] [2025/04/05 07:01:48.411 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436750] [2025/04/05 07:01:48.414 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436753] [2025/04/05 07:01:48.418 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436756] [2025/04/05 07:01:48.421 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436759] [2025/04/05 07:01:48.425 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436762] [2025/04/05 07:01:48.428 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436766] [2025/04/05 07:01:48.432 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436769] [2025/04/05 07:01:48.436 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436772] [2025/04/05 07:01:48.440 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436775] [2025/04/05 07:01:48.444 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277656436778] [2025/04/05 07:01:48.447 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281795] [2025/04/05 07:01:48.451 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281798] [2025/04/05 07:01:48.455 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281801] [2025/04/05 07:01:48.459 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281804] [2025/04/05 07:01:48.463 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281807] [2025/04/05 07:01:48.466 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281810] [2025/04/05 07:01:48.470 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281814] [2025/04/05 07:01:48.475 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281817] [2025/04/05 07:01:48.479 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281821] [2025/04/05 07:01:48.484 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281824] [2025/04/05 07:01:48.488 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281827] [2025/04/05 07:01:48.491 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281830] [2025/04/05 07:01:48.495 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277669281833] [2025/04/05 07:01:48.498 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651139] [2025/04/05 07:01:48.502 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651142] [2025/04/05 07:01:48.506 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651145] [2025/04/05 07:01:48.510 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651148] [2025/04/05 07:01:48.514 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651151] [2025/04/05 07:01:48.518 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651154] [2025/04/05 07:01:48.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651157] [2025/04/05 07:01:48.525 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651160] [2025/04/05 07:01:48.529 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651164] [2025/04/05 07:01:48.533 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651167] [2025/04/05 07:01:48.537 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651170] [2025/04/05 07:01:48.540 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651173] [2025/04/05 07:01:48.544 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277682651176] [2025/04/05 07:01:48.547 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758339] [2025/04/05 07:01:48.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758342] [2025/04/05 07:01:48.555 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758345] [2025/04/05 07:01:48.559 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758348] [2025/04/05 07:01:48.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758351] [2025/04/05 07:01:48.566 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758354] [2025/04/05 07:01:48.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758357] [2025/04/05 07:01:48.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758361] [2025/04/05 07:01:48.579 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758367] [2025/04/05 07:01:48.583 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758370] [2025/04/05 07:01:48.587 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758373] [2025/04/05 07:01:48.590 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758376] [2025/04/05 07:01:48.594 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277695758379] [2025/04/05 07:01:48.598 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865539] [2025/04/05 07:01:48.602 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865542] [2025/04/05 07:01:48.606 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865545] [2025/04/05 07:01:48.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865548] [2025/04/05 07:01:48.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865551] [2025/04/05 07:01:48.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865554] [2025/04/05 07:01:48.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865557] [2025/04/05 07:01:48.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865560] [2025/04/05 07:01:48.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865564] [2025/04/05 07:01:48.633 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865567] [2025/04/05 07:01:48.637 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865570] [2025/04/05 07:01:48.641 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865573] [2025/04/05 07:01:48.645 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277708865576] [2025/04/05 07:01:48.649 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972739] [2025/04/05 07:01:48.653 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972742] [2025/04/05 07:01:48.657 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972745] [2025/04/05 07:01:48.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972748] [2025/04/05 07:01:48.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972751] [2025/04/05 07:01:48.668 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972754] [2025/04/05 07:01:48.672 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972757] [2025/04/05 07:01:48.676 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136277721972760] [2025/04/05 07:01:48.690 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136277721972765] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.588725ms] [2025/04/05 07:01:48.690 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136277721972765] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=38.065µs] [2025/04/05 07:01:48.691 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.657601ms] [total_duration=7.232057ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136277721972765] [2025/04/05 07:01:48.691 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136277721972765] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] [concurrency=8] [2025/04/05 07:01:48.691 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 07:01:48.692 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:48.692 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:645\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 07:01:48.695 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136277721972765] [startKey=7480000000000001865f728000000000000000] [endKey=7480000000000001865f728000000000000063] ["cost time"=3.771239ms] ["completed regions"=1] [2025/04/05 07:01:48.695 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136277721972765] [commitTS=0] [session=23] [2025/04/05 07:01:48.695 +00:00] [INFO] [lock_resolver.go:1150] ["resolveLock rollback"] [lock="key: 7480000000000001865f728000000000000000, primary: 7480000000000001865f728000000000000000, txnStartTS: 457136277721972765, lockForUpdateTS:0, minCommitTs:457136277721972766, ttl: 5000, type: Put, UseAsyncCommit: false, txnSize: 18446744073709551615"] [2025/04/05 07:01:48.705 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136277735079937] [generation=1] [session=23] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.530082ms] [2025/04/05 07:01:48.705 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136277735079937] [generation=2] [session=23] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=28.214µs] [2025/04/05 07:01:48.705 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.532001ms] [total_duration=7.290577ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136277735079937] [2025/04/05 07:01:48.706 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136277735079937] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] [concurrency=8] [2025/04/05 07:01:48.706 +00:00] [WARN] [session.go:820] ["can not retry txn"] [label=general] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [IsBatchInsert=false] [IsPessimistic=false] [InRestrictedSQL=false] [tidb_retry_limit=10] [tidb_disable_txn_auto_retry=true] [2025/04/05 07:01:48.706 +00:00] [WARN] [session.go:836] ["commit failed"] ["finished txn"="Txn{state=invalid}"] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:48.706 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=366] [error="pipelined DML commit failed"] [errorVerbose="pipelined DML commit failed\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).commitFlushedMutations\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/pipelined_flush.go:325\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*twoPhaseCommitter).execute\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/2pc.go:1809\ngithub.com/tikv/client-go/v2/txnkv/transaction.(*KVTxn).Commit\n\texternal/com_github_tikv_client_go_v2/txnkv/transaction/txn.go:853\ngithub.com/pingcap/tidb/pkg/store/driver/txn.(*tikvTxn).Commit\n\tpkg/store/driver/txn/txn_driver.go:117\ngithub.com/pingcap/tidb/pkg/session.(*LazyTxn).Commit\n\tpkg/session/txn.go:437\ngithub.com/pingcap/tidb/pkg/session.(*session).commitTxnWithTemporaryData\n\tpkg/session/session.go:672\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommit\n\tpkg/session/session.go:552\ngithub.com/pingcap/tidb/pkg/session.(*session).doCommitWithRetry\n\tpkg/session/session.go:794\ngithub.com/pingcap/tidb/pkg/session.(*session).CommitTxn\n\tpkg/session/session.go:924\ngithub.com/pingcap/tidb/pkg/session.autoCommitAfterStmt\n\tpkg/session/tidb.go:278\ngithub.com/pingcap/tidb/pkg/session.finishStmt\n\tpkg/session/tidb.go:240\ngithub.com/pingcap/tidb/pkg/session.runStmt\n\tpkg/session/session.go:2336\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2167\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).ExecWithContext\n\tpkg/testkit/testkit.go:425\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).Exec\n\tpkg/testkit/testkit.go:392\ngithub.com/pingcap/tidb/pkg/testkit.(*TestKit).MustExecToErr\n\tpkg/testkit/testkit.go:484\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestPipelinedDMLCommitFailed\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:650\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [session="{\n \"currDBName\": \"test\",\n \"id\": 23,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 07:01:48.709 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136277735079937] [startKey=7480000000000001845f728000000000000064] [endKey=7480000000000001845f7280000000000000c7] ["cost time"=3.243544ms] ["completed regions"=1] [2025/04/05 07:01:48.709 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136277735079937] [commitTS=0] [session=23] [2025/04/05 07:01:48.711 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:48.711 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [] [2025/04/05 07:01:48.711 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:48.711 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.711 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:48.711 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:48.711 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 41, tp general"] ["take time"=62.777µs] [2025/04/05 07:01:48.711 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 42, tp general"] ["take time"=47.864µs] [2025/04/05 07:01:48.711 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 43, tp general"] ["take time"=48.042µs] [2025/04/05 07:01:48.711 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 44, tp general"] ["take time"=34.154µs] [2025/04/05 07:01:48.711 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.711 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.712 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:48.712 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:48.714 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=47561e29-a34a-428c-8645-7f18e22dc318] ["take time"=3.334737ms] [2025/04/05 07:01:48.714 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.714 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:48.714 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/ef2eada5-13c1-4668-bbb6-c296b9586837] [2025/04/05 07:01:48.714 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [ttl-worker=task-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [originalCount=4] [newCount=0] [2025/04/05 07:01:48.714 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:48.714 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:48.714 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:48.714 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:48.714 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [ttl-worker=task-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [originalCount=4] [newCount=0] [2025/04/05 07:01:48.717 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:48.717 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:48.717 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:48.717 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:48.719 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.719 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1352] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:48.720 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.720 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:48.721 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:48.726 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:48.721 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.721 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:48.721 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:48.726 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:48.721 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:48.726 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [2025/04/05 07:01:48.726 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:48.726 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [2025/04/05 07:01:48.726 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=8eb52871-213b-42e4-91d0-53f51763f789] [2025/04/05 07:01:48.721 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:48.726 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:48.727 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:48.727 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [error="context canceled"] [2025/04/05 07:01:48.727 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.728 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:48.728 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:48.728 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=8eb52871-213b-42e4-91d0-53f51763f789] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:48.728 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:48.728 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:48.728 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:48.728 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:48.728 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:48.728 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [error="context canceled"] [2025/04/05 07:01:48.728 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:48.728 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:48.728 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:48.729 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [error="context canceled"] [2025/04/05 07:01:48.729 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [2025/04/05 07:01:48.747 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:48.747 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:48.789 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=47561e29-a34a-428c-8645-7f18e22dc318] [error="context canceled"] [2025/04/05 07:01:48.789 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:48.789 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:48.799 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.422245ms] [2025/04/05 07:01:49.657 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:01:53.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136277721972765 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:53.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136277721972765 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:53.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136277721972765 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:53.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136277735079937 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:01:53.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136277735079937 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:01:53.710 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136277735079937 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:01:53.710 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:53.710 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:53.710 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:53.710 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:53.710 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:53.710 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:53.711 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:53.711 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:53.711 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:53.711 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-11] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:53.711 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:53.711 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:53.712 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitFailed (6.07s) === NAME === RUN TestPipelinedDMLCommitSkipSecondaries [2025/04/05 07:01:53.721 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:53.721 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:53.722 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:53.722 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:53.722 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:53.723 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:53.723 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:53.723 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:53.723 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:53.723 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:53.723 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:53.727 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:53.733 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:53.733 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:53.734 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:53.743 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:53.753 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:53.788 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=535] ["lease id"=22319604bcf9591b] [2025/04/05 07:01:53.790 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:53.876 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=366] ["elapsed time"=83.734994ms] [2025/04/05 07:01:53.876 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:53.878 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:53.888 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:53.888 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:53.890 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:53.891 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:53.891 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189971968/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:53.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:53.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:53.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:53.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:53.891 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:53.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:53.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:53.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:53.892 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:53.892 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:53.892 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:53.892 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:53.892 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [2025/04/05 07:01:53.894 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95920] [ownerID=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [op=none] [2025/04/05 07:01:53.894 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:53.894 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [ownerKey=/tidb/ddl/fg/owner/22319604bcf95920] [currRev=1708] [2025/04/05 07:01:53.894 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:53.894 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:53.896 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf9589f] [ownerID=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [op=none] [2025/04/05 07:01:53.896 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:53.896 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [2025/04/05 07:01:53.896 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [ownerKey=/tidb/br-stream/owner/6f189604bcf9589f] [currRev=1709] [2025/04/05 07:01:53.896 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf95920] [ownerID=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [op=none] [2025/04/05 07:01:53.896 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [op=none] [2025/04/05 07:01:53.897 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:53.906 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:53.907 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:53.907 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:53.917 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:53.924 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:53.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:53.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:53.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:53.929 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:53.929 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:53.929 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:53.929 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:53.929 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:53.929 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:53.930 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:53.930 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:53.931 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:53.931 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:53.932 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:53.934 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:53.935 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/fed88142-a4cc-4702-9f0d-581f18956748] [2025/04/05 07:01:53.936 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [ttl-worker=task-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [originalCount=0] [newCount=4] [2025/04/05 07:01:53.936 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [ttl-worker=task-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [originalCount=0] [newCount=4] [2025/04/05 07:01:53.936 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:53.936 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:53.937 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:53.937 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:01:53.937 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836513938216568 [2025/04/05 07:01:53.942 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:53.949 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.633701ms] [2025/04/05 07:01:53.949 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:53.949 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:53.958 +00:00] [INFO] [set.go:172] ["set global var"] [conn=25] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:53.960 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:53.962 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=25] [schemaVersion=366] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:53.976 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:53.976 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:53.982 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:53.998 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=366] [neededSchemaVersion=367] ["elapsed time"=1.805394ms] [gotSchemaVersion=367] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.002 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=367] [2025/04/05 07:01:54.004 +00:00] [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"=10.0425ms] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.014 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.030 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=367] [neededSchemaVersion=368] ["elapsed time"=2.10152ms] [gotSchemaVersion=368] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.034 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=368] [2025/04/05 07:01:54.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=368] ["take time"=9.597554ms] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.044 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:390, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.050 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 390, Old Table Name: _t)"] [2025/04/05 07:01:54.063 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=368] [neededSchemaVersion=369] ["elapsed time"=1.010092ms] [gotSchemaVersion=369] [phyTblIDs="[390]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.067 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=392] [version=369] [2025/04/05 07:01:54.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=369] ["take time"=7.863139ms] [job="ID:392, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.078 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=392] [tableIDs="[390]"] [comment="drop table: table ID"] [2025/04/05 07:01:54.085 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=392] [jobType="drop table"] [2025/04/05 07:01:54.086 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=392] [conn=25] [job="ID:392, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:390, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:53.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.105 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=392] [2025/04/05 07:01:54.116 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:54.116 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:54.121 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.258 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=369] [neededSchemaVersion=370] ["elapsed time"=3.687283ms] [gotSchemaVersion=370] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.263 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=370] [2025/04/05 07:01:54.265 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=370] ["take time"=131.854197ms] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.275 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.290 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=370] [neededSchemaVersion=371] ["elapsed time"=1.795282ms] [gotSchemaVersion=371] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.294 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=371] [2025/04/05 07:01:54.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=371] ["take time"=8.791843ms] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.304 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:388, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.309 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 388, Old Table Name: t)"] [2025/04/05 07:01:54.321 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=371] [neededSchemaVersion=372] ["elapsed time"=1.00401ms] [gotSchemaVersion=372] [phyTblIDs="[388]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:54.325 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=393] [version=372] [2025/04/05 07:01:54.326 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=372] ["take time"=8.001249ms] [job="ID:393, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.335 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=393] [tableIDs="[388]"] [comment="drop table: table ID"] [2025/04/05 07:01:54.340 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=393] [jobType="drop table"] [2025/04/05 07:01:54.340 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=393] [conn=25] [job="ID:393, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:388, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.094 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.358 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=393] [2025/04/05 07:01:54.358 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 0\n# Conn_ID: 25\n# Query_time: 0.396255354\n# Parse_time: 0.000097885\n# Compile_time: 0.000304657\n# Rewrite_time: 0.000004573\n# Optimize_time: 0.00005649\n# Wait_TS: 0.000423975\n# DB: test\n# Is_internal: false\n# Digest: 1d598c400a4fb4369dc077dca9a083040a8c43d93f07445071b1410ea9ffe67a\n# Prepared: false\n# Plan_from_cache: false\n# Plan_from_binding: false\n# Has_more_results: false\n# KV_total: 0\n# PD_total: 0\n# Backoff_total: 0\n# Unpacked_bytes_sent_tikv_total: 0\n# Unpacked_bytes_received_tikv_total: 0\n# Unpacked_bytes_sent_tikv_cross_zone: 0\n# Unpacked_bytes_received_tikv_cross_zone: 0\n# Unpacked_bytes_sent_tiflash_total: 0\n# Unpacked_bytes_received_tiflash_total: 0\n# Unpacked_bytes_sent_tiflash_cross_zone: 0\n# Unpacked_bytes_received_tiflash_cross_zone: 0\n# Write_sql_response_total: 0\n# Result_rows: 0\n# Succ: true\n# IsExplicitTxn: false\n# IsSyncStatsFailed: false\n# Resource_group: default\nuse test;\ndrop table `_t`,`t`;"] [2025/04/05 07:01:54.358 +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: 1743836514359298273 [2025/04/05 07:01:54.362 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=372] [cur_db=test] [sql="drop table if exists t, _t"] [user=] [2025/04/05 07:01:54.376 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:54.376 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t (a int primary key, b int)"] [2025/04/05 07:01:54.382 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.387 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 394, Table Name: t)"] [2025/04/05 07:01:54.402 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=372] [neededSchemaVersion=373] ["elapsed time"=1.387506ms] [gotSchemaVersion=373] [phyTblIDs="[394]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:54.406 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=395] [version=373] [2025/04/05 07:01:54.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=373] ["take time"=9.645708ms] [job="ID:395, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.418 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=395] [conn=26] [job="ID:395, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.429 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=395] [2025/04/05 07:01:54.429 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=373] [cur_db=test] [sql="create table t (a int primary key, b int)"] [user=] [2025/04/05 07:01:54.441 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:54.442 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t like t"] [2025/04/05 07:01:54.448 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.452 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 396, Table Name: _t)"] [2025/04/05 07:01:54.466 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=373] [neededSchemaVersion=374] ["elapsed time"=1.529531ms] [gotSchemaVersion=374] [phyTblIDs="[396]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:54.470 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=397] [version=374] [2025/04/05 07:01:54.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=374] ["take time"=8.748259ms] [job="ID:397, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:54.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.483 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=397] [conn=26] [job="ID:397, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:54.393 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:54.494 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=397] [2025/04/05 07:01:54.494 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=26] [schemaVersion=374] [cur_db=test] [sql="create table _t like t"] [user=] [2025/04/05 07:01:54.497 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515138] [2025/04/05 07:01:54.500 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515143] [2025/04/05 07:01:54.504 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515146] [2025/04/05 07:01:54.508 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515149] [2025/04/05 07:01:54.511 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515152] [2025/04/05 07:01:54.515 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515155] [2025/04/05 07:01:54.519 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515158] [2025/04/05 07:01:54.522 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515161] [2025/04/05 07:01:54.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515164] [2025/04/05 07:01:54.530 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515167] [2025/04/05 07:01:54.534 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515170] [2025/04/05 07:01:54.537 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515173] [2025/04/05 07:01:54.541 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515177] [2025/04/05 07:01:54.545 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279255515180] [2025/04/05 07:01:54.548 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360195] [2025/04/05 07:01:54.552 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360199] [2025/04/05 07:01:54.556 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360202] [2025/04/05 07:01:54.560 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360205] [2025/04/05 07:01:54.563 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360208] [2025/04/05 07:01:54.567 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360211] [2025/04/05 07:01:54.570 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360214] [2025/04/05 07:01:54.574 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360217] [2025/04/05 07:01:54.578 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360220] [2025/04/05 07:01:54.581 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360223] [2025/04/05 07:01:54.585 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360226] [2025/04/05 07:01:54.589 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360229] [2025/04/05 07:01:54.592 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279268360232] [2025/04/05 07:01:54.596 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467394] [2025/04/05 07:01:54.599 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467398] [2025/04/05 07:01:54.603 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467401] [2025/04/05 07:01:54.607 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467404] [2025/04/05 07:01:54.610 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467407] [2025/04/05 07:01:54.614 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467410] [2025/04/05 07:01:54.617 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467413] [2025/04/05 07:01:54.621 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467416] [2025/04/05 07:01:54.625 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467419] [2025/04/05 07:01:54.629 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467422] [2025/04/05 07:01:54.632 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467425] [2025/04/05 07:01:54.636 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467428] [2025/04/05 07:01:54.639 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467431] [2025/04/05 07:01:54.643 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279281467434] [2025/04/05 07:01:54.646 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836739] [2025/04/05 07:01:54.650 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836743] [2025/04/05 07:01:54.654 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836746] [2025/04/05 07:01:54.658 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836749] [2025/04/05 07:01:54.661 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836752] [2025/04/05 07:01:54.665 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836755] [2025/04/05 07:01:54.669 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836758] [2025/04/05 07:01:54.673 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836761] [2025/04/05 07:01:54.677 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836764] [2025/04/05 07:01:54.680 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836767] [2025/04/05 07:01:54.684 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836770] [2025/04/05 07:01:54.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836773] [2025/04/05 07:01:54.691 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836776] [2025/04/05 07:01:54.695 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279294836779] [2025/04/05 07:01:54.699 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943940] [2025/04/05 07:01:54.702 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943943] [2025/04/05 07:01:54.706 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943946] [2025/04/05 07:01:54.709 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943949] [2025/04/05 07:01:54.713 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943952] [2025/04/05 07:01:54.716 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943955] [2025/04/05 07:01:54.720 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943958] [2025/04/05 07:01:54.723 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943961] [2025/04/05 07:01:54.727 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943964] [2025/04/05 07:01:54.731 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943967] [2025/04/05 07:01:54.734 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943970] [2025/04/05 07:01:54.738 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943973] [2025/04/05 07:01:54.743 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279307943976] [2025/04/05 07:01:54.748 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051138] [2025/04/05 07:01:54.752 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051142] [2025/04/05 07:01:54.756 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051145] [2025/04/05 07:01:54.760 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051148] [2025/04/05 07:01:54.764 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051151] [2025/04/05 07:01:54.768 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051154] [2025/04/05 07:01:54.771 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051157] [2025/04/05 07:01:54.775 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051160] [2025/04/05 07:01:54.779 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051163] [2025/04/05 07:01:54.783 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051166] [2025/04/05 07:01:54.787 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051169] [2025/04/05 07:01:54.791 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051172] [2025/04/05 07:01:54.795 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279321051175] [2025/04/05 07:01:54.799 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896196] [2025/04/05 07:01:54.804 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896199] [2025/04/05 07:01:54.808 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896202] [2025/04/05 07:01:54.812 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896205] [2025/04/05 07:01:54.816 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896208] [2025/04/05 07:01:54.820 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896211] [2025/04/05 07:01:54.823 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896214] [2025/04/05 07:01:54.827 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896217] [2025/04/05 07:01:54.831 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896220] [2025/04/05 07:01:54.835 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896223] [2025/04/05 07:01:54.838 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896226] [2025/04/05 07:01:54.843 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279333896230] [2025/04/05 07:01:54.847 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265538] [2025/04/05 07:01:54.852 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265542] [2025/04/05 07:01:54.855 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265545] [2025/04/05 07:01:54.860 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265548] [2025/04/05 07:01:54.864 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265551] [2025/04/05 07:01:54.869 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265554] [2025/04/05 07:01:54.872 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279347265557] [2025/04/05 07:01:54.887 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136279347265561] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.677151ms] [2025/04/05 07:01:54.887 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136279347265561] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=38.243µs] [2025/04/05 07:01:54.887 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.78472ms] [total_duration=7.457728ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136279347265561] [2025/04/05 07:01:54.888 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136279347265561] [commitTS=457136279347265562] [2025/04/05 07:01:54.901 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 07:01:54.901 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:54.901 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:54.901 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:54.906 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136279360372741] [generation=1] [session=26] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.488412ms] [2025/04/05 07:01:54.906 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136279360372741] [generation=2] [session=26] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=32.258µs] [2025/04/05 07:01:54.907 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.527097ms] [total_duration=7.407708ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136279360372741] [2025/04/05 07:01:54.908 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136279360372741] [commitTS=457136279360372742] [2025/04/05 07:01:54.914 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:54.914 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:54.914 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [] [2025/04/05 07:01:54.914 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.914 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:54.914 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:54.915 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 45, tp general"] ["take time"=75.971µs] [2025/04/05 07:01:54.915 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 46, tp general"] ["take time"=35.398µs] [2025/04/05 07:01:54.915 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 47, tp general"] ["take time"=33.238µs] [2025/04/05 07:01:54.915 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 48, tp general"] ["take time"=36.516µs] [2025/04/05 07:01:54.915 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.915 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.916 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:54.916 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:54.918 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=783bddf7-d5fa-4275-8ea2-74d26319bb5a] ["take time"=3.972746ms] [2025/04/05 07:01:54.918 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.918 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:54.918 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/fed88142-a4cc-4702-9f0d-581f18956748] [2025/04/05 07:01:54.918 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [ttl-worker=task-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [originalCount=4] [newCount=0] [2025/04/05 07:01:54.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:54.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:54.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:54.918 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:54.919 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [ttl-worker=task-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [originalCount=4] [newCount=0] [2025/04/05 07:01:54.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:54.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:54.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:54.921 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:54.923 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.923 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:54.924 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=535] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:54.925 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:54.925 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:54.926 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:54.926 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:54.927 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [error="context canceled"] [2025/04/05 07:01:54.927 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e41d78cf-e2ac-4fac-8199-3c1ffbbcca31] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:54.927 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:54.927 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:54.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:54.927 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:54.927 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:54.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:54.927 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:54.927 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [error="context canceled"] [2025/04/05 07:01:54.927 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:54.927 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:54.927 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:54.928 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [error="context canceled"] [2025/04/05 07:01:54.928 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [2025/04/05 07:01:54.947 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:54.947 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:54.988 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=783bddf7-d5fa-4275-8ea2-74d26319bb5a] [error="context canceled"] [2025/04/05 07:01:54.988 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:54.988 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:54.998 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=84.408081ms] [2025/04/05 07:01:55.001 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:01:55.001 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:01:55.001 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:01:55.001 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:01:55.001 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:01:55.001 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:01:55.001 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:01:55.001 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:01:55.001 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:01:55.001 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-12] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:55.001 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:01:55.001 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:01:55.002 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLCommitSkipSecondaries (1.29s) === NAME === RUN TestPipelinedDMLDisableRetry [2025/04/05 07:01:55.010 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:01:55.011 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:01:55.012 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:01:55.012 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:01:55.013 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:01:55.013 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:01:55.013 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:01:55.013 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:01:55.013 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:01:55.013 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:01:55.014 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:01:55.017 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:01:55.023 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:55.023 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:55.024 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:01:55.037 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:01:55.048 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:01:55.083 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1] ["lease id"=22319604bcf9593e] [2025/04/05 07:01:55.085 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:01:55.174 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=374] ["elapsed time"=86.429487ms] [2025/04/05 07:01:55.174 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:01:55.176 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:01:55.187 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [runWorker=true] [jobVersion=v2] [2025/04/05 07:01:55.187 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:01:55.189 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:55.190 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:01:55.190 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237189660672/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:01:55.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:55.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:55.190 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:55.191 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:55.191 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:01:55.191 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:55.191 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [2025/04/05 07:01:55.194 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95723] [ownerID=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [op=none] [2025/04/05 07:01:55.194 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:55.194 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95723] [currRev=1748] [2025/04/05 07:01:55.194 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:55.194 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:55.195 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:01:55.196 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf958c2] [ownerID=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [op=none] [2025/04/05 07:01:55.196 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [2025/04/05 07:01:55.196 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [ownerKey=/tidb/br-stream/owner/6f189604bcf958c2] [currRev=1749] [2025/04/05 07:01:55.196 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95723] [ownerID=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [op=none] [2025/04/05 07:01:55.196 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [op=none] [2025/04/05 07:01:55.196 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:01:55.209 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:55.210 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:55.210 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:01:55.223 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:55.230 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:55.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:55.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:55.235 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:01:55.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:55.235 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:01:55.235 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:55.235 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:01:55.235 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:01:55.235 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:01:55.237 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:55.237 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:55.238 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:55.238 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:55.240 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:01:55.243 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/1e34f4c1-d8c6-4fa1-8eed-bb9cbd0bc69c] [2025/04/05 07:01:55.243 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [ttl-worker=task-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [originalCount=0] [newCount=4] [2025/04/05 07:01:55.243 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [ttl-worker=task-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [originalCount=0] [newCount=4] [2025/04/05 07:01:55.243 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:01:55.243 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:55.244 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:55.244 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] testkit.go:123: RefreshSession rand seed: 1743836515244713328 [2025/04/05 07:01:55.244 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 07:01:55.252 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:01:55.260 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=23.556948ms] [2025/04/05 07:01:55.260 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:01:55.260 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:01:55.269 +00:00] [INFO] [set.go:172] ["set global var"] [conn=27] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:01:55.272 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `_t` nocache"] [user=] [2025/04/05 07:01:55.273 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=27] [schemaVersion=374] [cur_db=test] [sql="alter table `t` nocache"] [user=] [2025/04/05 07:01:55.288 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:55.288 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:55.294 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.312 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=374] [neededSchemaVersion=375] ["elapsed time"=2.072385ms] [gotSchemaVersion=375] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.316 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=375] [2025/04/05 07:01:55.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=375] ["take time"=10.6985ms] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.328 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.344 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=375] [neededSchemaVersion=376] ["elapsed time"=1.845758ms] [gotSchemaVersion=376] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.348 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=376] [2025/04/05 07:01:55.349 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=376] ["take time"=9.022847ms] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.358 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:396, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.364 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 396, Old Table Name: _t)"] [2025/04/05 07:01:55.378 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=376] [neededSchemaVersion=377] ["elapsed time"=1.134028ms] [gotSchemaVersion=377] [phyTblIDs="[396]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.381 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=398] [version=377] [2025/04/05 07:01:55.383 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=377] ["take time"=8.340259ms] [job="ID:398, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.392 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=398] [tableIDs="[396]"] [comment="drop table: table ID"] [2025/04/05 07:01:55.400 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=398] [jobType="drop table"] [2025/04/05 07:01:55.401 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=398] [conn=27] [job="ID:398, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:396, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.244 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.419 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=398] [2025/04/05 07:01:55.430 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:55.430 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t`,`t`"] [2025/04/05 07:01:55.436 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.452 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=377] [neededSchemaVersion=378] ["elapsed time"=1.952316ms] [gotSchemaVersion=378] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.455 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=378] [2025/04/05 07:01:55.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=378] ["take time"=8.749817ms] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.466 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.481 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=378] [neededSchemaVersion=379] ["elapsed time"=1.912048ms] [gotSchemaVersion=379] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.484 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=379] [2025/04/05 07:01:55.486 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=379] ["take time"=8.85258ms] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.494 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:394, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.500 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 394, Old Table Name: t)"] [2025/04/05 07:01:55.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=379] [neededSchemaVersion=380] ["elapsed time"=1.143703ms] [gotSchemaVersion=380] [phyTblIDs="[394]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:01:55.517 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=399] [version=380] [2025/04/05 07:01:55.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=380] ["take time"=8.556088ms] [job="ID:399, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.528 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=399] [tableIDs="[394]"] [comment="drop table: table ID"] [2025/04/05 07:01:55.533 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=399] [jobType="drop table"] [2025/04/05 07:01:55.534 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=399] [conn=27] [job="ID:399, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:394, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.552 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=399] [2025/04/05 07:01:55.552 +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: 1743836515552569964 [2025/04/05 07:01:55.572 +00:00] [INFO] [set.go:172] ["set global var"] [conn=28] [name=tidb_schema_cache_size] [val=0] testkit.go:123: RefreshSession rand seed: 1743836515574223536 [2025/04/05 07:01:55.578 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=380] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:01:55.591 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:55.591 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 07:01:55.597 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.603 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 400, Table Name: t1)"] [2025/04/05 07:01:55.618 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=380] [neededSchemaVersion=381] ["elapsed time"=1.531887ms] [gotSchemaVersion=381] [phyTblIDs="[400]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:55.622 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=401] [version=381] [2025/04/05 07:01:55.623 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=381] ["take time"=8.934122ms] [job="ID:401, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.634 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=401] [conn=28] [job="ID:401, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.645 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=401] [2025/04/05 07:01:55.646 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=381] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 07:01:55.660 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:01:55.660 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t2(a int, b int)"] [2025/04/05 07:01:55.667 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.672 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 402, Table Name: t2)"] [2025/04/05 07:01:55.687 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=381] [neededSchemaVersion=382] ["elapsed time"=1.498688ms] [gotSchemaVersion=382] [phyTblIDs="[402]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:01:55.691 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=403] [version=382] [2025/04/05 07:01:55.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=382] ["take time"=9.196274ms] [job="ID:403, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:01:55.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.705 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=403] [conn=28] [job="ID:403, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 07:01:55.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:01:55.716 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=403] [2025/04/05 07:01:55.717 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=28] [schemaVersion=382] [cur_db=test] [sql="create table t2(a int, b int)"] [user=] [2025/04/05 07:01:56.200 +00:00] [INFO] [runaway.go:77] ["preparations for the runaway manager are finished and start runaway manager loop"] [2025/04/05 07:01:56.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:56.200 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:56.200 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:01:56.226 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136279701159940] [2025/04/05 07:01:56.229 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136279570087952] [generation=1] [session=28] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=782.598µs] [2025/04/05 07:01:56.229 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:01:56.230 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136279570087952] [startKey=7480000000000001905f728000000000000001] [endKey=7480000000000001905f728000000000000001] [2025/04/05 07:01:56.230 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136279570087952] [commitTS=0] [session=28] [2025/04/05 07:01:56.230 +00:00] [WARN] [adapter.go:1730] ["# Txn_start_ts: 457136279570087952\n# Conn_ID: 28\n# Query_time: 0.506457366\n# Parse_time: 0.000296784\n# Compile_time: 0.000966266\n# Rewrite_time: 0.000622433\n# Optimize_time: 0.000088338\n# Wait_TS: 0.00034629\n# Cop_time: 0.000667198 Wait_time: 0.000024356 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.4356e-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('8wbwkDAJMjdfMQkwCTAJTi9BCTAJdGltZTo1MDQuMm1zLCBvcGVuOjE0NS4ywrVzLCBjbG9zZTo1OC41wrVzLCBsb29wczoxLCBwcmVwYXJlOiA1MDQuMW1zLCBpbnNlcnQ6MTY2LjnCtXMJNDAyIEJ5dGVzCU4vQQoxCTE0XzYJMAkxMDAwMAl0ZXN0LnQyLmEJMgkFgAwxLjEzGX8QMzUuMcIBcABjBX8EMzUNjgl/HDIJMzIwIEJ5AVwNCCQKMgkzMV8xMAkwDWFYZGF0YTpUYWJsZUZ1bGxTY2FuXzkJMgkFbBA4NzQuNgVfCe0EMDEybgAAMTpuAHgsIGNvcF90YXNrOiB7bnVtOiAxLCBtYXg6IDU3Ni4zBUkocHJvY19rZXlzOiAJMHRyX2NhY2hlX2hpdF9yYXRpbzogMC4wMCwgYnVpbGQFTghfZHUFGhhuOiAxNC41BUiobWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCBycGNfaW5mbzp7Q29wOgGLNF9ycGM6MSwgdG90YWxfBd0ENTABShh9fQkyODYgKSQhgCAzCTQzXzkJMV8xIaB0YWJsZTp0Miwga2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvCSE1BGt2BbIEOnsFYwQwc1UJDH0sIHMhXCBkZXRhaWw6IHsJihhwcm9jZXNzORJGFwAgX3NpemU6IDgyEb4pPjgzLCBnZXRfc25hcHNob3QJ1AwgNy44AdZwLCByb2Nrc2RiOiB7a2V5X3NraXBwZWRfY291bnQlegxibG9jIacQfX19LCABrT6aAAh3YWkRVQwyNC40JXUAdAHgAGchXhG4AToMOiAxNUIhAB0/BDExLbQFPwx3YWxsETdAMjIuMsK1c30JTi9BCU4vQQo=')\n# Plan_digest: f7e0f28c5c86b45fa3d92926774edc8a8076ac4356558ce21165e890659f0d92\n# Binary_plan: tidb_decode_binary_plan('ygfACsUHCghJbnNlcnRfMRLJBgoGU29ydF82EuQFCg5UYWJsZVJlYWRlcl8xMBKoAwoPVAETUEZ1bGxTY2FuXzkhjARw3ptXUUEpAAEB8FiIw0AwAjgCQAJKDAoKCgR0ZXN0EgJ0MlIea2VlcCBvcmRlcjpmYWxzZSwgc3RhdHM6cHNldWRvargCdGlrdl90YXNrOnt0aW1lOjBzLCBsb29wczoxfSwgcwFtfGRldGFpbDoge3RvdGFsX3Byb2Nlc3Nfa2V5czogMiwgRhcAHF9zaXplOiA4FR0JLOgzLCBnZXRfc25hcHNob3RfdGltZTogNy44NcK1cywgcm9ja3NkYjoge2tleV9za2lwcGVkX2NvdW50OgFoMGJsb2NrOiB7fX19LCABPD6aAAh3YWkRVQwyNC40BVUAdAHgDGdycGMVuAE6DDogMTVCIQAdPwgxMS4JlAU/DHdhbGwRNyQyMi4ywrVzfXD/EQEEAXgRCiT/ASFijYgxlacXMpcBNAFAAVIUZGF0YTpUYWJsPcUEWjQFjBA4NzQuNgWtJG9wZW46MTAxLjEFDxxjbG9zZToxNQVyACwtlxwyYrQBY29wXyW0TCB7bnVtOiAxLCBtYXg6IDU3Ni4zBTshpS12kDIsIGNvcHJfY2FjaGVfaGl0X3JhdGlvOiAwLjAwLCBidWlsZF8BTghfZHUFGhhuOiAxNC41BUhwbWF4X2Rpc3RzcWxfY29uY3VycmVuY3k6IDF9LCAhViRpbmZvOntDb3A6AYsUX3JwYzoxURMF3gQ1MAFKFH19cJ4CeD0pGFQtpnHW5lpCKQEsCXRlc3QudDIuYVoyBUAYMS4xM21zLC0cBDM1MhwBADM6HAEMcMACOCFvFANOL0FaMwVAEDUwNC4yGUEANBEyAGMlXQQ1OA3pRGxvb3BzOjFiIXByZXBhcmU6IAE5ADEBOXhpbnNlcnQ6MTY2LjnCtXNwkgN4////////////ARgB')\n# Resource_group: default\nuse test;\ninsert into t1 select * from t2 order by a;"] [2025/04/05 07:01:56.231 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=382] [error="[kv:9007]Write conflict, txnStartTS=457136279570087952, conflictStartTS=457136279701159940, conflictCommitTS=457136279701159941, key={tableID=400, tableName=test.t1, handle=1}, originalKey=7480000000000001905f728000000000000001, primary={tableID=400, tableName=test.t1, handle=1}, originalPrimaryKey=7480000000000001905f728000000000000001, reason=Optimistic [try again later]"] [session="{\n \"currDBName\": \"test\",\n \"id\": 28,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 07:01:56.231 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:01:56.231 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:01:56.231 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [] [2025/04/05 07:01:56.231 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.231 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:56.232 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:01:56.232 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 49, tp general"] ["take time"=45.312µs] [2025/04/05 07:01:56.232 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 50, tp general"] ["take time"=31.861µs] [2025/04/05 07:01:56.232 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 51, tp general"] ["take time"=39.349µs] [2025/04/05 07:01:56.232 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 52, tp general"] ["take time"=42.78µs] [2025/04/05 07:01:56.232 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.232 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.233 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:01:56.233 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:01:56.234 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] ["take time"=3.109633ms] [2025/04/05 07:01:56.234 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.234 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:01:56.234 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/1e34f4c1-d8c6-4fa1-8eed-bb9cbd0bc69c] [2025/04/05 07:01:56.235 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [ttl-worker=task-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [originalCount=4] [newCount=0] [2025/04/05 07:01:56.235 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:56.235 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:56.235 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:56.235 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:01:56.235 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [ttl-worker=task-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [originalCount=4] [newCount=0] [2025/04/05 07:01:56.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:56.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:56.237 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:56.238 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:01:56.240 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.240 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayWatchSyncLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayRecordFlushLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [2025/04/05 07:01:56.241 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.242 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:01:56.241 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:01:56.242 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:01:56.241 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:01:56.241 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:01:56.241 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:01:56.242 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:01:56.242 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:01:56.243 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:01:56.243 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:01:56.243 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=1b2b1969-fb15-4f5f-a6ac-0f37ad3162b8] [daemon-id=LogBackup::Advancer] [2025/04/05 07:01:56.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:01:56.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:01:56.243 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:01:56.243 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:01:56.243 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [error="context canceled"] [2025/04/05 07:01:56.243 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:01:56.243 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/stats/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.243 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [error="context canceled"] [2025/04/05 07:01:56.243 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/stats/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:01:56.244 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:01:56.244 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:01:56.244 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:01:56.244 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [error="context canceled"] [2025/04/05 07:01:56.244 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [2025/04/05 07:01:56.262 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:01:56.262 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:01:56.309 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7ee9ff2c-82b5-4ccb-9564-afba9f46f13e] [error="context canceled"] [2025/04/05 07:01:56.309 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:01:56.309 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:01:56.320 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.89614ms] [2025/04/05 07:01:57.018 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:01.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136279570087952 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:01.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136279570087952 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:01.231 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136279570087952 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:01.231 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:01.231 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:01.231 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:01.231 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:01.231 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:01.231 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:01.231 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:01.231 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:01.231 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:01.231 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:01.231 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-13] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:01.231 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:01.233 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestPipelinedDMLDisableRetry (6.23s) === NAME === RUN TestReplaceRowCheck [2025/04/05 07:02:01.241 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:02:01.242 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:02:01.242 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:02:01.243 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:02:01.243 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:02:01.243 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:02:01.243 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:02:01.243 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:02:01.243 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:02:01.244 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:02:01.244 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:02:01.248 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:02:01.253 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:01.254 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:01.254 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:01.264 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:02:01.275 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:02:01.312 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=855] ["lease id"=22319604bcf9596f] [2025/04/05 07:02:01.314 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:02:01.404 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=382] ["elapsed time"=87.352372ms] [2025/04/05 07:02:01.404 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:02:01.407 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:02:01.417 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [runWorker=true] [jobVersion=v2] [2025/04/05 07:02:01.417 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:02:01.419 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.420 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:02:01.420 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237190008832/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:01.420 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:01.420 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:01.421 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:01.421 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [2025/04/05 07:02:01.422 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95759] [ownerID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [op=none] [2025/04/05 07:02:01.422 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.423 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf95759] [currRev=1792] [2025/04/05 07:02:01.423 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:01.423 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:01.424 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf958f9] [ownerID=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [op=none] [2025/04/05 07:02:01.424 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [2025/04/05 07:02:01.424 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [ownerKey=/tidb/br-stream/owner/6f189604bcf958f9] [currRev=1793] [2025/04/05 07:02:01.424 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:02:01.425 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf95759] [ownerID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [op=none] [2025/04/05 07:02:01.425 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [op=none] [2025/04/05 07:02:01.425 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:02:01.429 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:01.430 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:01.431 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestReplaceRowCheck\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:724\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:01.431 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.432 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:01.432 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:02:01.434 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/bindinfo/owner] ["owner key"=/tidb/bindinfo/owner/22319604bcf95978] [ownerID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [op=none] [2025/04/05 07:02:01.434 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.434 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ownerKey=/tidb/bindinfo/owner/22319604bcf95978] [currRev=1794] [2025/04/05 07:02:01.441 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:01.448 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:01.453 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:01.453 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:01.453 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:01.453 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:02:01.453 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:02:01.453 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:01.453 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:02:01.453 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:02:01.453 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:02:01.454 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:01.454 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:02:01.455 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:01.455 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:01.455 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:01.456 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:01.457 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:02:01.459 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/7e301f35-3057-4b64-82ce-ceac648dcfd9] [2025/04/05 07:02:01.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ttl-worker=task-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [originalCount=0] [newCount=4] [2025/04/05 07:02:01.460 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ttl-worker=task-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [originalCount=0] [newCount=4] [2025/04/05 07:02:01.460 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:01.461 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:01.461 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:02:01.461 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] [2025/04/05 07:02:01.461 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] testkit.go:123: RefreshSession rand seed: 1743836521461589271 [2025/04/05 07:02:01.466 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:02:01.474 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=19.578045ms] [2025/04/05 07:02:01.474 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:02:01.474 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:01.482 +00:00] [INFO] [set.go:172] ["set global var"] [conn=30] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:02:01.485 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:02:01.486 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=30] [schemaVersion=382] [cur_db=test] [sql="alter table `t2` nocache"] [user=] [2025/04/05 07:02:01.500 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:01.500 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 07:02:01.506 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.522 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=382] [neededSchemaVersion=383] ["elapsed time"=1.92216ms] [gotSchemaVersion=383] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.526 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=383] [2025/04/05 07:02:01.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=383] ["take time"=9.662233ms] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.538 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.554 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=383] [neededSchemaVersion=384] ["elapsed time"=1.933088ms] [gotSchemaVersion=384] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.558 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=384] [2025/04/05 07:02:01.559 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=384] ["take time"=9.336017ms] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.568 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:400, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.574 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 400, Old Table Name: t1)"] [2025/04/05 07:02:01.587 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=384] [neededSchemaVersion=385] ["elapsed time"=1.038194ms] [gotSchemaVersion=385] [phyTblIDs="[400]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.591 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=404] [version=385] [2025/04/05 07:02:01.592 +00:00] [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.301473ms] [job="ID:404, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.602 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=404] [tableIDs="[400]"] [comment="drop table: table ID"] [2025/04/05 07:02:01.611 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=404] [jobType="drop table"] [2025/04/05 07:02:01.612 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=404] [conn=30] [job="ID:404, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:400, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.630 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=404] [2025/04/05 07:02:01.641 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:01.641 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`,`t2`"] [2025/04/05 07:02:01.647 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.662 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=385] [neededSchemaVersion=386] ["elapsed time"=1.897626ms] [gotSchemaVersion=386] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.665 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=386] [2025/04/05 07:02:01.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=386] ["take time"=8.788863ms] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.677 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.692 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=386] [neededSchemaVersion=387] ["elapsed time"=2.058407ms] [gotSchemaVersion=387] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.697 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=387] [2025/04/05 07:02:01.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=387] ["take time"=9.784588ms] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.707 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:402, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.713 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 402, Old Table Name: t2)"] [2025/04/05 07:02:01.725 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=387] [neededSchemaVersion=388] ["elapsed time"=1.017078ms] [gotSchemaVersion=388] [phyTblIDs="[402]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:01.729 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=405] [version=388] [2025/04/05 07:02:01.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=388] ["take time"=7.916347ms] [job="ID:405, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.740 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=405] [tableIDs="[402]"] [comment="drop table: table ID"] [2025/04/05 07:02:01.745 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=405] [jobType="drop table"] [2025/04/05 07:02:01.746 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=405] [conn=30] [job="ID:405, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:402, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.764 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=405] [2025/04/05 07:02:01.764 +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: 1743836521764583322 [2025/04/05 07:02:01.768 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=388] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:02:01.781 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:01.781 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int)"] [2025/04/05 07:02:01.787 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.792 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 406, Table Name: t1)"] [2025/04/05 07:02:01.807 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=388] [neededSchemaVersion=389] ["elapsed time"=1.5251ms] [gotSchemaVersion=389] [phyTblIDs="[406]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:01.810 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=407] [version=389] [2025/04/05 07:02:01.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=389] ["take time"=8.933014ms] [job="ID:407, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.823 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=407] [conn=31] [job="ID:407, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.743 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.834 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=407] [2025/04/05 07:02:01.835 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=389] [cur_db=test] [sql="create table t1(a int, b int)"] [user=] [2025/04/05 07:02:01.847 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:01.847 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 07:02:01.853 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.858 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 408, Table Name: _t1)"] [2025/04/05 07:02:01.872 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=389] [neededSchemaVersion=390] ["elapsed time"=1.535053ms] [gotSchemaVersion=390] [phyTblIDs="[408]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:01.876 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=409] [version=390] [2025/04/05 07:02:01.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=390] ["take time"=8.945302ms] [job="ID:409, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.889 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=409] [conn=31] [job="ID:409, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.793 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.900 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=409] [2025/04/05 07:02:01.900 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=390] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/05 07:02:01.912 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136281195380746] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.097716ms] [2025/04/05 07:02:01.912 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.200429ms] [total_duration=4.373693ms] ["memdb traversal cache hit"=16] ["memdb traversal cache miss"=12] [size=58B] [startTS=457136281195380746] [2025/04/05 07:02:01.913 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136281195380746] [commitTS=457136281195380747] [2025/04/05 07:02:01.914 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136281195380746] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] [concurrency=8] [2025/04/05 07:02:01.916 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136281195380746] [startKey=7480000000000001985f728000000000000001] [endKey=7480000000000001985f728000000000000002] ["cost time"=2.489355ms] ["completed regions"=1] [2025/04/05 07:02:01.916 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136281195380746] [commitTS=457136281195380747] [session=31] [2025/04/05 07:02:01.929 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:01.929 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:02:01.935 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:408, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.942 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 410, Table Name: _t1, Old Table ID: 408, Old Table Name: _t1)"] [2025/04/05 07:02:01.957 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=390] [neededSchemaVersion=391] ["elapsed time"=1.575859ms] [gotSchemaVersion=391] [phyTblIDs="[408,410]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:02:01.961 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=411] [version=391] [2025/04/05 07:02:01.962 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=391] ["take time"=8.65948ms] [job="ID:411, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.973 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=411] [tableIDs="[408]"] [comment="truncate table: table ID"] [2025/04/05 07:02:01.978 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=411] [jobType="truncate table"] [2025/04/05 07:02:01.979 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=411] [conn=31] [job="ID:411, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:408, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.894 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:01.997 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=411] [2025/04/05 07:02:01.997 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=391] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:02:02.003 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136281221332993] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=954.81µs] [2025/04/05 07:02:02.003 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.066738ms] [total_duration=3.811294ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=10] [size=58B] [startTS=457136281221332993] [2025/04/05 07:02:02.004 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136281221332993] [commitTS=457136281221332994] [2025/04/05 07:02:02.004 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136281221332993] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] [concurrency=8] [2025/04/05 07:02:02.007 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136281221332993] [startKey=74800000000000019a5f728000000000000001] [endKey=74800000000000019a5f728000000000000002] ["cost time"=2.411767ms] ["completed regions"=1] [2025/04/05 07:02:02.007 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136281221332993] [commitTS=457136281221332994] [session=31] [2025/04/05 07:02:02.019 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:02.019 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="truncate table _t1"] [2025/04/05 07:02:02.025 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:queueing, SchemaState:none, SchemaID:2, TableID:410, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:01.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:02.033 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: truncate table, Table ID: 412, Table Name: _t1, Old Table ID: 410, Old Table Name: _t1)"] [2025/04/05 07:02:02.048 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=391] [neededSchemaVersion=392] ["elapsed time"=1.574266ms] [gotSchemaVersion=392] [phyTblIDs="[410,412]"] [actionTypes="[11,11]"] [diffTypes="[\"truncate table\"]"] [2025/04/05 07:02:02.052 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=413] [version=392] [2025/04/05 07:02:02.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=392] ["take time"=9.087251ms] [job="ID:413, Type:truncate table, State:done, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:02.064 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=413] [tableIDs="[410]"] [comment="truncate table: table ID"] [2025/04/05 07:02:02.069 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=413] [jobType="truncate table"] [2025/04/05 07:02:02.070 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=413] [conn=31] [job="ID:413, Type:truncate table, State:synced, SchemaState:public, SchemaID:2, TableID:410, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:01.993 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:02.088 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=413] [2025/04/05 07:02:02.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=31] [schemaVersion=392] [cur_db=test] [sql="truncate table _t1"] [user=] [2025/04/05 07:02:02.093 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136281234440210] [generation=1] [session=31] [keys=2] [size=58B] ["flushed keys"=2] ["flushed size"=58B] ["take time"=1.07076ms] [2025/04/05 07:02:02.093 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.157577ms] [total_duration=3.999719ms] ["memdb traversal cache hit"=8] ["memdb traversal cache miss"=12] [size=58B] [startTS=457136281234440210] [2025/04/05 07:02:02.095 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136281234440210] [commitTS=457136281247809537] [2025/04/05 07:02:02.095 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136281234440210] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] [concurrency=8] [2025/04/05 07:02:02.097 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136281234440210] [startKey=74800000000000019c5f728000000000000001] [endKey=74800000000000019c5f728000000000000002] ["cost time"=2.355246ms] ["completed regions"=1] [2025/04/05 07:02:02.097 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136281234440210] [commitTS=457136281247809537] [session=31] [2025/04/05 07:02:02.098 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:02:02.098 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:02:02.098 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [] [2025/04/05 07:02:02.098 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.098 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:02.098 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 53, tp general"] ["take time"=56.784µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 54, tp general"] ["take time"=35.526µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 55, tp general"] ["take time"=32.026µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 56, tp general"] ["take time"=29.05µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 57, tp general"] ["take time"=30.752µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 58, tp general"] ["take time"=28.417µs] [2025/04/05 07:02:02.099 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.099 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.100 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:02:02.100 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:02:02.102 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] ["take time"=3.737616ms] [2025/04/05 07:02:02.102 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.102 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:02:02.102 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/7e301f35-3057-4b64-82ce-ceac648dcfd9] [2025/04/05 07:02:02.102 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ttl-worker=task-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [originalCount=4] [newCount=0] [2025/04/05 07:02:02.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:02.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:02.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:02.102 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:02.102 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [ttl-worker=task-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [originalCount=4] [newCount=0] [2025/04/05 07:02:02.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:02.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:02.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:02.105 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:02.107 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.107 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=855] [2025/04/05 07:02:02.108 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:02.108 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:02:02.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:02.109 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:02:02.109 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:02:02.109 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:02:02.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:02:02.108 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:02:02.109 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.108 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:02:02.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:02.108 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:02.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:02.109 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:02.109 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:02.109 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [error="context canceled"] [2025/04/05 07:02:02.109 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.110 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=c90eaeca-4d30-4708-af3c-8cd27e098b4a] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:02.110 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:02:02.110 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:02:02.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:02.110 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:02:02.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:02.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:02.110 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [] [2025/04/05 07:02:02.110 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:02:02.110 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.110 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [error="context canceled"] [2025/04/05 07:02:02.110 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.110 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:02:02.110 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [2025/04/05 07:02:02.110 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:02:02.110 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:02.128 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:02:02.128 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:02.173 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=e08f9fc9-2562-413a-8aa1-1cdc586002c3] [error="context canceled"] [2025/04/05 07:02:02.173 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:02:02.174 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:02.184 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=85.73102ms] [2025/04/05 07:02:03.249 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:06.917 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136281195380746 commit_ts:457136281195380747 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:06.917 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136281195380746 commit_ts:457136281195380747 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:06.917 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136281195380746 commit_ts:457136281195380747 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:07.008 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136281221332993 commit_ts:457136281221332994 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:07.008 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136281221332993 commit_ts:457136281221332994 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:07.008 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136281221332993 commit_ts:457136281221332994 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:07.098 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136281234440210 commit_ts:457136281247809537 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:07.098 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136281234440210 commit_ts:457136281247809537 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:07.099 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136281234440210 commit_ts:457136281247809537 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:07.099 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:07.099 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:07.099 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:07.099 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:07.099 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:07.099 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:07.099 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:07.099 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:07.099 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:07.099 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:07.099 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-14] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:07.099 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:07.100 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestReplaceRowCheck (5.87s) === NAME === RUN TestDuplicateKeyErrorMessage [2025/04/05 07:02:07.108 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:02:07.109 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:02:07.110 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:02:07.110 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:02:07.110 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:02:07.111 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:02:07.111 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:02:07.111 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:02:07.111 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:02:07.111 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:02:07.111 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:02:07.115 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:02:07.120 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:07.121 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:07.121 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:07.131 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:02:07.140 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:02:07.175 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=837] ["lease id"=6f189604bcf95931] [2025/04/05 07:02:07.176 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:02:07.263 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=392] ["elapsed time"=83.885165ms] [2025/04/05 07:02:07.263 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:02:07.265 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:02:07.275 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=c7eb4483-76a9-4789-b774-08160e716d58] [runWorker=true] [jobVersion=v2] [2025/04/05 07:02:07.275 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:02:07.277 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.278 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:02:07.278 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237190033408/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:07.278 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:07.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:07.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:07.279 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:02:07.279 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:07.279 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:07.279 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:07.279 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [2025/04/05 07:02:07.280 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95938] [ownerID=c7eb4483-76a9-4789-b774-08160e716d58] [op=none] [2025/04/05 07:02:07.280 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.281 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf95938] [currRev=1838] [2025/04/05 07:02:07.282 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:07.282 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:07.282 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:02:07.282 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf95786] [ownerID=143421d9-3cd8-49d3-9d71-1597a15b2059] [op=none] [2025/04/05 07:02:07.282 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [2025/04/05 07:02:07.282 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf95786] [currRev=1839] [2025/04/05 07:02:07.283 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf95938] [ownerID=c7eb4483-76a9-4789-b774-08160e716d58] [op=none] [2025/04/05 07:02:07.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=c7eb4483-76a9-4789-b774-08160e716d58] [op=none] [2025/04/05 07:02:07.283 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:02:07.288 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:07.289 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:07.290 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestDuplicateKeyErrorMessage\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:748\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:07.290 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.291 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:07.292 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:02:07.301 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:07.308 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:07.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:07.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:07.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:07.312 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:07.312 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:02:07.312 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:02:07.312 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:02:07.312 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:02:07.312 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:02:07.313 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:07.313 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:02:07.314 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:07.314 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:07.314 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:02:07.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:07.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:07.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:07.315 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:07.316 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:02:07.319 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/04beb03a-845c-43f4-a41e-4b8bd0acd158] [2025/04/05 07:02:07.319 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [ttl-worker=task-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [originalCount=0] [newCount=4] [2025/04/05 07:02:07.319 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [ttl-worker=task-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [originalCount=0] [newCount=4] [2025/04/05 07:02:07.319 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.320 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:07.320 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:02:07.320 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:02:07.320 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836527320329295 [2025/04/05 07:02:07.324 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:02:07.332 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.655957ms] [2025/04/05 07:02:07.332 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:02:07.332 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:07.334 +00:00] [INFO] [set.go:172] ["set global var"] [conn=32] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:02:07.337 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 07:02:07.338 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=32] [schemaVersion=392] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:02:07.352 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:07.352 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:02:07.358 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.374 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=392] [neededSchemaVersion=393] ["elapsed time"=1.850472ms] [gotSchemaVersion=393] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.378 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=393] [2025/04/05 07:02:07.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=393] ["take time"=9.685841ms] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.390 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.406 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=393] [neededSchemaVersion=394] ["elapsed time"=1.883715ms] [gotSchemaVersion=394] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.410 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=394] [2025/04/05 07:02:07.411 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=394] ["take time"=9.396615ms] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.420 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:412, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.426 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 412, Old Table Name: _t1)"] [2025/04/05 07:02:07.439 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=394] [neededSchemaVersion=395] ["elapsed time"=1.049796ms] [gotSchemaVersion=395] [phyTblIDs="[412]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.443 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=414] [version=395] [2025/04/05 07:02:07.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=395] ["take time"=8.402072ms] [job="ID:414, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.454 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=414] [tableIDs="[412]"] [comment="drop table: table ID"] [2025/04/05 07:02:07.461 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=414] [jobType="drop table"] [2025/04/05 07:02:07.462 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=414] [conn=32] [job="ID:414, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:412, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.294 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.481 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=414] [2025/04/05 07:02:07.492 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:02:07.492 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:07.497 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.513 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=395] [neededSchemaVersion=396] ["elapsed time"=1.97478ms] [gotSchemaVersion=396] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.516 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=396] [2025/04/05 07:02:07.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=396] ["take time"=9.392244ms] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.528 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.544 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=396] [neededSchemaVersion=397] ["elapsed time"=1.977827ms] [gotSchemaVersion=397] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.548 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=397] [2025/04/05 07:02:07.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=397] ["take time"=9.292945ms] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.558 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:406, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.564 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 406, Old Table Name: t1)"] [2025/04/05 07:02:07.577 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=397] [neededSchemaVersion=398] ["elapsed time"=1.069081ms] [gotSchemaVersion=398] [phyTblIDs="[406]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:07.581 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=415] [version=398] [2025/04/05 07:02:07.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=398] ["take time"=8.157829ms] [job="ID:415, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.591 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=415] [tableIDs="[406]"] [comment="drop table: table ID"] [2025/04/05 07:02:07.596 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=415] [jobType="drop table"] [2025/04/05 07:02:07.597 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=415] [conn=32] [job="ID:415, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:406, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.443 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.615 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=415] [2025/04/05 07:02:07.615 +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: 1743836527615674205 [2025/04/05 07:02:07.619 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=398] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:02:07.632 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:07.632 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 07:02:07.638 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.643 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 416, Table Name: t1)"] [2025/04/05 07:02:07.657 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=398] [neededSchemaVersion=399] ["elapsed time"=1.445153ms] [gotSchemaVersion=399] [phyTblIDs="[416]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:07.661 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=417] [version=399] [2025/04/05 07:02:07.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=399] ["take time"=8.655879ms] [job="ID:417, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.674 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=417] [conn=33] [job="ID:417, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:07.593 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:07.685 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=417] [2025/04/05 07:02:07.686 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=33] [schemaVersion=399] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 07:02:07.688 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136282702446605] [2025/04/05 07:02:07.695 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136282702446610] [generation=1] [session=33] [keys=1] [size=29B] ["flushed keys"=1] ["flushed size"=29B] ["take time"=678.432µs] [2025/04/05 07:02:07.695 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-rollback-457136282702446610] [startKey=7480000000000001a05f728000000000000001] [endKey=7480000000000001a05f728000000000000001] [2025/04/05 07:02:07.695 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=0] [startTS=457136282702446610] [commitTS=0] [session=33] [2025/04/05 07:02:07.695 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:02:07.695 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:02:07.695 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [] [2025/04/05 07:02:07.695 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.696 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:07.696 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:07.696 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 59, tp general"] ["take time"=77.581µs] [2025/04/05 07:02:07.696 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 60, tp general"] ["take time"=36.396µs] [2025/04/05 07:02:07.696 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 61, tp general"] ["take time"=38.689µs] [2025/04/05 07:02:07.696 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.696 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.697 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:02:07.697 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:02:07.698 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=c7eb4483-76a9-4789-b774-08160e716d58] ["take time"=2.917963ms] [2025/04/05 07:02:07.698 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.698 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:02:07.698 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/04beb03a-845c-43f4-a41e-4b8bd0acd158] [2025/04/05 07:02:07.698 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [ttl-worker=task-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [originalCount=4] [newCount=0] [2025/04/05 07:02:07.698 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:07.698 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:07.698 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:07.698 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:07.699 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [ttl-worker=task-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [originalCount=4] [newCount=0] [2025/04/05 07:02:07.701 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:07.701 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:07.701 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:07.701 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:07.703 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.703 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=837] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:07.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:07.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:07.704 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:07.704 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:07.704 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:07.704 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:02:07.704 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:07.704 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:07.705 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:07.705 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:02:07.705 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:07.705 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:07.706 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [error="context canceled"] [2025/04/05 07:02:07.706 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.706 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:02:07.706 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:07.706 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:02:07.706 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=143421d9-3cd8-49d3-9d71-1597a15b2059] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:07.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:07.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:07.707 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:02:07.707 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [error="context canceled"] [2025/04/05 07:02:07.707 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:02:07.707 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:02:07.707 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:02:07.707 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:07.707 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [error="context canceled"] [2025/04/05 07:02:07.708 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [2025/04/05 07:02:07.708 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [error="context canceled"] [2025/04/05 07:02:07.708 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=c7eb4483-76a9-4789-b774-08160e716d58] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:07.724 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:02:07.724 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:07.768 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:02:07.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:07.778 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=83.170599ms] [2025/04/05 07:02:09.116 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:12.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136282702446610 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:12.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136282702446610 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:12.696 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136282702446610 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:12.696 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:12.696 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:12.696 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:12.696 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:12.696 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:12.696 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:12.696 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:12.696 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-15] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:12.696 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:12.696 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:12.697 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:12.697 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:12.698 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestDuplicateKeyErrorMessage (5.60s) === NAME === RUN TestInsertIgnoreOnDuplicateKeyUpdate [2025/04/05 07:02:12.706 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:02:12.707 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:02:12.707 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:02:12.708 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:02:12.708 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:02:12.708 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:02:12.708 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:02:12.708 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:02:12.708 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:02:12.709 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:02:12.709 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:02:12.713 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:02:12.718 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:12.718 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:12.719 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:12.729 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:02:12.738 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:02:12.773 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1670] ["lease id"=6f189604bcf9596f] [2025/04/05 07:02:12.775 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:02:12.860 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=399] ["elapsed time"=82.922783ms] [2025/04/05 07:02:12.860 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:02:12.863 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:02:12.872 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=00788b51-c938-40de-acc5-6fd3835d36c0] [runWorker=true] [jobVersion=v2] [2025/04/05 07:02:12.872 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:02:12.874 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:12.875 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:02:12.876 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237190135808/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:12.876 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:12.876 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:12.876 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [2025/04/05 07:02:12.878 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf959cf] [ownerID=00788b51-c938-40de-acc5-6fd3835d36c0] [op=none] [2025/04/05 07:02:12.878 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:12.878 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [ownerKey=/tidb/ddl/fg/owner/22319604bcf959cf] [currRev=1879] [2025/04/05 07:02:12.878 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:12.878 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:12.879 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:02:12.879 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/3eaa9604bcf957ab] [ownerID=e0613e27-08b6-4602-8888-10b4ebb7dec1] [op=none] [2025/04/05 07:02:12.879 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [2025/04/05 07:02:12.879 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [ownerKey=/tidb/br-stream/owner/3eaa9604bcf957ab] [currRev=1880] [2025/04/05 07:02:12.880 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/22319604bcf959cf] [ownerID=00788b51-c938-40de-acc5-6fd3835d36c0] [op=none] [2025/04/05 07:02:12.880 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [op=none] [2025/04/05 07:02:12.880 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:02:12.885 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:12.886 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:12.886 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestInsertIgnoreOnDuplicateKeyUpdate\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:763\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:12.887 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:12.888 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:12.888 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:02:12.897 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:12.904 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:12.908 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:12.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:12.909 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:02:12.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:12.909 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:02:12.909 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:12.909 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:02:12.909 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:02:12.909 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:02:12.910 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:12.910 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:12.911 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:12.911 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:12.913 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:02:12.915 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/3d98418e-0817-494a-8f6c-4e5eb1641a33] [2025/04/05 07:02:12.916 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [ttl-worker=task-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [originalCount=0] [newCount=4] [2025/04/05 07:02:12.916 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [ttl-worker=task-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [originalCount=0] [newCount=4] [2025/04/05 07:02:12.916 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:12.916 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:12.916 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:02:12.916 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:02:12.916 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836532916825495 [2025/04/05 07:02:12.922 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:02:12.928 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=18.393689ms] [2025/04/05 07:02:12.928 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:02:12.928 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:12.929 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:02:12.943 +00:00] [INFO] [set.go:172] ["set global var"] [conn=34] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:02:12.945 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=34] [schemaVersion=399] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:02:12.959 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:12.959 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 07:02:12.966 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:12.982 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=399] [neededSchemaVersion=400] ["elapsed time"=1.921392ms] [gotSchemaVersion=400] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:12.986 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=400] [2025/04/05 07:02:12.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=400] ["take time"=9.820326ms] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:12.997 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.012 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=400] [neededSchemaVersion=401] ["elapsed time"=1.89727ms] [gotSchemaVersion=401] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:13.016 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=401] [2025/04/05 07:02:13.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=401] ["take time"=9.024969ms] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.026 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:416, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.032 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 416, Old Table Name: t1)"] [2025/04/05 07:02:13.044 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=401] [neededSchemaVersion=402] ["elapsed time"=987.154µs] [gotSchemaVersion=402] [phyTblIDs="[416]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:13.048 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=418] [version=402] [2025/04/05 07:02:13.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=402] ["take time"=7.818268ms] [job="ID:418, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.058 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=418] [tableIDs="[416]"] [comment="drop table: table ID"] [2025/04/05 07:02:13.064 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=418] [jobType="drop table"] [2025/04/05 07:02:13.066 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=418] [conn=34] [job="ID:418, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:416, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:12.943 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.083 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=418] [2025/04/05 07:02:13.084 +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: 1743836533084311531 [2025/04/05 07:02:13.088 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=402] [cur_db=test] [sql="drop table if exists t1"] [user=] [2025/04/05 07:02:13.101 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:13.101 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [2025/04/05 07:02:13.107 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.111 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 419, Table Name: t1)"] [2025/04/05 07:02:13.129 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=402] [neededSchemaVersion=403] ["elapsed time"=1.864798ms] [gotSchemaVersion=403] [phyTblIDs="[419]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:13.132 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=420] [version=403] [2025/04/05 07:02:13.134 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=403] ["take time"=9.459346ms] [job="ID:420, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.146 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=420] [conn=35] [job="ID:420, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:13.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:13.158 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=420] [2025/04/05 07:02:13.158 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=35] [schemaVersion=403] [cur_db=test] [sql="create table t1(a int, b int, unique index u1(a, b), unique index u2(a))"] [user=] [2025/04/05 07:02:13.164 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136284144238598] [generation=1] [session=35] [keys=6] [size=228B] ["flushed keys"=6] ["flushed size"=228B] ["take time"=1.12074ms] [2025/04/05 07:02:13.164 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=6] [flush_wait_duration=1.22211ms] [total_duration=4.835185ms] ["memdb traversal cache hit"=12] ["memdb traversal cache miss"=12] [size=228B] [startTS=457136284144238598] [2025/04/05 07:02:13.165 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136284144238598] [commitTS=457136284144238604] [2025/04/05 07:02:13.165 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136284144238598] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] [concurrency=8] [2025/04/05 07:02:13.168 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136284144238598] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000002] ["cost time"=2.570731ms] ["completed regions"=1] [2025/04/05 07:02:13.168 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136284144238598] [commitTS=457136284144238604] [session=35] [2025/04/05 07:02:13.171 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136284144238605] [generation=1] [session=35] [keys=3] [size=115B] ["flushed keys"=3] ["flushed size"=115B] ["take time"=978.137µs] [2025/04/05 07:02:13.171 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=3] [flush_wait_duration=1.064568ms] [total_duration=4.36414ms] ["memdb traversal cache hit"=10] ["memdb traversal cache miss"=19] [size=115B] [startTS=457136284144238605] [2025/04/05 07:02:13.172 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136284144238605] [commitTS=457136284144238606] [2025/04/05 07:02:13.172 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136284144238605] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] [concurrency=8] [2025/04/05 07:02:13.175 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136284144238605] [startKey=7480000000000001a35f698000000000000001038000000000000000038000000000000000] [endKey=7480000000000001a35f728000000000000001] ["cost time"=2.257264ms] ["completed regions"=1] [2025/04/05 07:02:13.175 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136284144238605] [commitTS=457136284144238606] [session=35] [2025/04/05 07:02:13.176 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:02:13.176 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [] [2025/04/05 07:02:13.176 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:02:13.176 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.176 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:13.176 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:13.176 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 62, tp general"] ["take time"=42.171µs] [2025/04/05 07:02:13.176 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 63, tp general"] ["take time"=35.095µs] [2025/04/05 07:02:13.176 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.176 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.177 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:02:13.177 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:02:13.178 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=00788b51-c938-40de-acc5-6fd3835d36c0] ["take time"=2.157167ms] [2025/04/05 07:02:13.178 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.178 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:02:13.178 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/3d98418e-0817-494a-8f6c-4e5eb1641a33] [2025/04/05 07:02:13.178 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [ttl-worker=task-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [originalCount=4] [newCount=0] [2025/04/05 07:02:13.178 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:13.178 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:13.178 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:13.178 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:13.178 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [ttl-worker=task-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [originalCount=4] [newCount=0] [2025/04/05 07:02:13.180 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:13.180 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:13.180 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:13.181 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:13.183 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.183 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:02:13.183 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1670] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:13.185 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:13.185 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:02:13.184 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:02:13.184 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:13.184 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:13.185 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [error="context canceled"] [2025/04/05 07:02:13.185 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.186 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=e0613e27-08b6-4602-8888-10b4ebb7dec1] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:13.186 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:02:13.186 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:02:13.186 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:02:13.186 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:13.186 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:13.186 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:13.186 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:02:13.186 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [error="context canceled"] [2025/04/05 07:02:13.186 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:02:13.186 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:02:13.186 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:13.187 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [error="context canceled"] [2025/04/05 07:02:13.187 +00:00] [INFO] [manager.go:366] ["etcd session done, refresh it"] [key=/tidb/bindinfo/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [2025/04/05 07:02:13.187 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [error="context canceled"] [2025/04/05 07:02:13.187 +00:00] [INFO] [manager.go:368] ["break campaign loop, refresh session failed"] [key=/tidb/bindinfo/owner] [id=00788b51-c938-40de-acc5-6fd3835d36c0] [error="context canceled"] [errorVerbose="context canceled\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/util.contextDone\n\tpkg/util/etcd.go:91\ngithub.com/pingcap/tidb/pkg/util.NewSession\n\tpkg/util/etcd.go:51\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).refreshSession\n\tpkg/owner/manager.go:446\ngithub.com/pingcap/tidb/pkg/owner.(*ownerManager).campaignLoop\n\tpkg/owner/manager.go:367\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:13.204 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:02:13.204 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:13.247 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:02:13.247 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:13.258 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=82.143482ms] [2025/04/05 07:02:14.713 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:18.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136284144238598 commit_ts:457136284144238604 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:18.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136284144238598 commit_ts:457136284144238604 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:18.169 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136284144238598 commit_ts:457136284144238604 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136284144238605 commit_ts:457136284144238606 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136284144238605 commit_ts:457136284144238606 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136284144238605 commit_ts:457136284144238606 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:18.176 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:18.176 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:18.176 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:18.176 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:18.176 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:18.176 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:18.176 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:18.177 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:18.176 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-16] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:18.177 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:18.178 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestInsertIgnoreOnDuplicateKeyUpdate (5.48s) === NAME === RUN TestConflictError [2025/04/05 07:02:18.186 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:02:18.187 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:02:18.187 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:02:18.188 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:02:18.188 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:02:18.188 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:02:18.188 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:02:18.188 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:02:18.188 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:02:18.189 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:02:18.189 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:02:18.193 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:02:18.197 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:18.198 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:18.199 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:18.208 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:02:18.220 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:02:18.253 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1524] ["lease id"=3eaa9604bcf957ce] [2025/04/05 07:02:18.255 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:02:18.340 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=403] ["elapsed time"=82.11101ms] [2025/04/05 07:02:18.340 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:02:18.342 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:02:18.352 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [runWorker=true] [jobVersion=v2] [2025/04/05 07:02:18.352 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:02:18.354 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.355 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:02:18.355 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237190152192/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:18.355 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:18.355 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:18.356 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:18.356 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [2025/04/05 07:02:18.356 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:18.357 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf959a2] [ownerID=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [op=none] [2025/04/05 07:02:18.357 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.358 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [ownerKey=/tidb/ddl/fg/owner/6f189604bcf959a2] [currRev=1911] [2025/04/05 07:02:18.358 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:18.358 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:18.361 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:02:18.361 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/22319604bcf959f7] [ownerID=137aebe5-edeb-4221-a625-b6090b2d658c] [op=none] [2025/04/05 07:02:18.361 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [2025/04/05 07:02:18.361 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [ownerKey=/tidb/br-stream/owner/22319604bcf959f7] [currRev=1912] [2025/04/05 07:02:18.362 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/6f189604bcf959a2] [ownerID=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [op=none] [2025/04/05 07:02:18.362 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [op=none] [2025/04/05 07:02:18.362 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:02:18.375 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:18.376 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:18.377 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestConflictError\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:784\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:18.378 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.379 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:18.379 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:02:18.391 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:18.399 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:18.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:18.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:18.404 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:02:18.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:18.404 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:18.404 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:02:18.404 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:02:18.404 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:02:18.404 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:02:18.405 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:18.405 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:18.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:18.406 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:18.407 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:18.407 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:18.409 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:02:18.413 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/99e412f1-ebe2-4306-9a7e-27ecee13674e] [2025/04/05 07:02:18.414 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [ttl-worker=task-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [originalCount=0] [newCount=4] [2025/04/05 07:02:18.414 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [ttl-worker=task-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [originalCount=0] [newCount=4] [2025/04/05 07:02:18.414 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.415 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:18.415 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:02:18.415 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836538416252135 [2025/04/05 07:02:18.416 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:02:18.422 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:02:18.431 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=25.982973ms] [2025/04/05 07:02:18.431 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:02:18.431 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:18.438 +00:00] [INFO] [set.go:172] ["set global var"] [conn=36] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:02:18.440 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=36] [schemaVersion=403] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:02:18.456 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:18.456 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `t1`"] [2025/04/05 07:02:18.463 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.481 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=403] [neededSchemaVersion=404] ["elapsed time"=2.36955ms] [gotSchemaVersion=404] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:18.486 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=404] [2025/04/05 07:02:18.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=404] ["take time"=10.706895ms] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.498 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.514 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=404] [neededSchemaVersion=405] ["elapsed time"=2.327139ms] [gotSchemaVersion=405] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:18.519 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=405] [2025/04/05 07:02:18.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=405] ["take time"=10.157735ms] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.529 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:419, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.536 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 419, Old Table Name: t1)"] [2025/04/05 07:02:18.550 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=405] [neededSchemaVersion=406] ["elapsed time"=1.126393ms] [gotSchemaVersion=406] [phyTblIDs="[419]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:18.554 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=421] [version=406] [2025/04/05 07:02:18.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=406] ["take time"=8.815226ms] [job="ID:421, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.566 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=421] [tableIDs="[419]"] [comment="drop table: table ID"] [2025/04/05 07:02:18.573 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=421] [jobType="drop table"] [2025/04/05 07:02:18.574 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=421] [conn=36] [job="ID:421, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:419, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.444 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.594 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=421] [2025/04/05 07:02:18.595 +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: 1743836538595472583 [2025/04/05 07:02:18.608 +00:00] [INFO] [set.go:172] ["set global var"] [conn=37] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:02:18.611 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=406] [cur_db=test] [sql="drop table if exists t1, _t1"] [user=] [2025/04/05 07:02:18.625 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:18.625 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table t1(a int primary key, b int)"] [2025/04/05 07:02:18.632 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.637 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 422, Table Name: t1)"] [2025/04/05 07:02:18.651 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=406] [neededSchemaVersion=407] ["elapsed time"=1.610505ms] [gotSchemaVersion=407] [phyTblIDs="[422]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:18.655 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=423] [version=407] [2025/04/05 07:02:18.657 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=407] ["take time"=9.013531ms] [job="ID:423, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.669 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=423] [conn=37] [job="ID:423, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.594 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.680 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=423] [2025/04/05 07:02:18.680 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=407] [cur_db=test] [sql="create table t1(a int primary key, b int)"] [user=] [2025/04/05 07:02:18.693 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:18.694 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table _t1(a int primary key, b int)"] [2025/04/05 07:02:18.700 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.704 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 424, Table Name: _t1)"] [2025/04/05 07:02:18.719 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=407] [neededSchemaVersion=408] ["elapsed time"=1.655422ms] [gotSchemaVersion=408] [phyTblIDs="[424]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:18.723 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=425] [version=408] [2025/04/05 07:02:18.725 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=408] ["take time"=9.384056ms] [job="ID:425, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.737 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=425] [conn=37] [job="ID:425, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:18.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:18.749 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=425] [2025/04/05 07:02:18.749 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=37] [schemaVersion=408] [cur_db=test] [sql="create table _t1(a int primary key, b int)"] [user=] [2025/04/05 07:02:18.770 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136285612507143] [generation=1] [session=37] [keys=100] [size=2.9kB] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=2.934222ms] [2025/04/05 07:02:18.771 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136285612507143] [generation=2] [session=37] [keys=0] [size=0B] ["flushed keys"=100] ["flushed size"=2.9kB] ["take time"=37.822µs] [2025/04/05 07:02:18.771 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=100] [flush_wait_duration=2.999539ms] [total_duration=8.018689ms] ["memdb traversal cache hit"=200] ["memdb traversal cache miss"=200] [size=2.9kB] [startTS=457136285612507143] [2025/04/05 07:02:18.772 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136285612507143] [commitTS=457136285612507145] [2025/04/05 07:02:18.772 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136285612507143] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/05 07:02:18.776 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136285612507143] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=3.723901ms] ["completed regions"=1] [2025/04/05 07:02:18.776 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136285612507143] [commitTS=457136285612507145] [session=37] [2025/04/05 07:02:18.780 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136285612507146] [generation=1] [session=37] [keys=32] [size=928B] ["flushed keys"=32] ["flushed size"=928B] ["take time"=845.863µs] [2025/04/05 07:02:18.780 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:02:18.781 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-rollback-457136285612507146] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] [concurrency=8] [2025/04/05 07:02:18.781 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:02:18.781 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [] [2025/04/05 07:02:18.781 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.781 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:02:18.781 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:18.781 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:18.781 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 64, tp general"] ["take time"=89.073µs] [2025/04/05 07:02:18.781 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 65, tp general"] ["take time"=44.814µs] [2025/04/05 07:02:18.781 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 66, tp general"] ["take time"=36.052µs] [2025/04/05 07:02:18.781 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.782 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.782 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:02:18.783 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:02:18.783 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-rollback-457136285612507146] [startKey=7480000000000001a85f728000000000000000] [endKey=7480000000000001a85f728000000000000063] ["cost time"=2.040558ms] ["completed regions"=1] [2025/04/05 07:02:18.783 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=rollback] ["resolved regions"=1] [startTS=457136285612507146] [commitTS=0] [session=37] [2025/04/05 07:02:18.784 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] ["take time"=3.356684ms] [2025/04/05 07:02:18.784 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.784 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:02:18.784 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/99e412f1-ebe2-4306-9a7e-27ecee13674e] [2025/04/05 07:02:18.784 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [ttl-worker=task-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [originalCount=4] [newCount=0] [2025/04/05 07:02:18.785 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:18.785 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:18.785 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:18.785 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:18.785 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [ttl-worker=task-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [originalCount=4] [newCount=0] [2025/04/05 07:02:18.787 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:18.787 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:18.788 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:18.788 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:18.789 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1524] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:02:18.790 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:18.790 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:18.790 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:18.791 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:18.792 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:18.791 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:18.792 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [error="context canceled"] [2025/04/05 07:02:18.792 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.792 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=137aebe5-edeb-4221-a625-b6090b2d658c] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:18.793 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:02:18.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:18.793 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:02:18.793 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:02:18.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:18.793 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/stats/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [error="context canceled"] [2025/04/05 07:02:18.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:18.793 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:02:18.793 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:02:18.793 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:02:18.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:18.793 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [error="context canceled"] [2025/04/05 07:02:18.794 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [2025/04/05 07:02:18.812 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:02:18.812 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:18.857 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7e2c7331-8e8a-445d-a9b6-e83c6856dfa6] [error="context canceled"] [2025/04/05 07:02:18.857 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:02:18.857 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:18.869 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=88.054399ms] [2025/04/05 07:02:20.193 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:23.777 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136285612507143 commit_ts:457136285612507145 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:23.777 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136285612507143 commit_ts:457136285612507145 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:23.777 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136285612507143 commit_ts:457136285612507145 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:23.784 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136285612507146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:23.784 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136285612507146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:23.784 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136285612507146 rolled_back:true is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:23.784 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:23.784 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:23.784 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:23.784 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:23.784 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:23.784 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:23.784 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:23.785 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:23.784 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-17] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:23.785 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:23.785 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:23.785 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:23.786 +00:00] [INFO] [client.go:349] ["[pd] http client closed"] [source=tikv-driver] --- PASS: TestConflictError (5.61s) === NAME === RUN TestRejectUnsupportedTables [2025/04/05 07:02:23.795 +00:00] [INFO] [service_discovery.go:967] ["[pd] update member urls"] [old-urls="[http://127.0.0.1:2379]"] [new-urls="[http://127.0.0.1:2379,http://127.0.0.1:2382,http://127.0.0.1:2384]"] [2025/04/05 07:02:23.796 +00:00] [INFO] [service_discovery.go:986] ["[pd] switch leader"] [new-leader=http://127.0.0.1:2384] [old-leader=] [2025/04/05 07:02:23.797 +00:00] [INFO] [service_discovery.go:491] ["[pd] init cluster id"] [cluster-id=7489719523402662501] [2025/04/05 07:02:23.797 +00:00] [INFO] [inner_client.go:150] ["[pd] changing TSO provider"] [old=unknown] [new=pd] [2025/04/05 07:02:23.798 +00:00] [INFO] [client.go:210] ["[tso] switch the tso leader serving url"] [new-url=http://127.0.0.1:2384] [2025/04/05 07:02:23.798 +00:00] [INFO] [watcher.go:56] ["[pd] start the deadline watcher"] [source=tso] [2025/04/05 07:02:23.798 +00:00] [INFO] [dispatcher.go:147] ["[tso] tso dispatcher created"] [2025/04/05 07:02:23.798 +00:00] [INFO] [client.go:247] ["[tso] start tso connection contexts updater"] [2025/04/05 07:02:23.798 +00:00] [INFO] [dispatcher.go:603] ["[tso] switching tso rpc concurrency"] [old=0] [new=1] [2025/04/05 07:02:23.799 +00:00] [INFO] [inner_client.go:156] ["[pd] TSO provider changed"] [old=unknown] [new=pd] [2025/04/05 07:02:23.799 +00:00] [INFO] [inner_client.go:85] ["[pd] start router client initializer"] [2025/04/05 07:02:23.803 +00:00] [INFO] [tikv_driver.go:203] ["using API V1."] [2025/04/05 07:02:23.808 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=1] [addr=127.0.0.1:20162] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:23.809 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=3] [addr=127.0.0.1:20160] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:23.810 +00:00] [INFO] [store_cache.go:532] ["change store resolve state"] [store=2] [addr=127.0.0.1:20161] [from=unresolved] [to=resolved] [liveness-state=reachable] [2025/04/05 07:02:23.820 +00:00] [INFO] [tidb.go:92] ["new domain"] [store=tikv-7489719523402662501] ["ddl lease"=500ms] ["stats lease"=3s] [2025/04/05 07:02:23.831 +00:00] [INFO] [info.go:367] ["init TiFlashReplicaManager"] [2025/04/05 07:02:23.867 +00:00] [INFO] [domain.go:3232] [acquireServerID] [serverID=1465] ["lease id"=22319604bcf95a15] [2025/04/05 07:02:23.869 +00:00] [INFO] [controller.go:200] ["load resource controller config"] [config="{\"degraded-mode-wait-duration\":\"0s\",\"ltb-max-wait-duration\":\"30s\",\"ltb-token-rpc-max-delay\":\"1s\",\"request-unit\":{\"read-base-cost\":0.125,\"read-per-batch-base-cost\":0.5,\"read-cost-per-byte\":0.0000152587890625,\"write-base-cost\":1,\"write-per-batch-base-cost\":1,\"write-cost-per-byte\":0.0009765625,\"read-cpu-ms-cost\":0.3333333333333333},\"enable-controller-trace-log\":\"false\",\"token-rpc-params\":{\"wait-retry-interval\":\"50ms\",\"wait-retry-times\":20}}"] [ru-config="{\"ReadBaseCost\":0.125,\"ReadPerBatchBaseCost\":0.5,\"ReadBytesCost\":0.0000152587890625,\"WriteBaseCost\":1,\"WritePerBatchBaseCost\":1,\"WriteBytesCost\":0.0009765625,\"CPUMsCost\":0.3333333333333333,\"LTBMaxWaitDuration\":30000000000,\"WaitRetryInterval\":50000000,\"WaitRetryTimes\":20,\"DegradedModeWaitDuration\":0}"] [2025/04/05 07:02:23.960 +00:00] [INFO] [domain.go:421] ["full load InfoSchema success"] [isV2=false] [currentSchemaVersion=0] [neededSchemaVersion=408] ["elapsed time"=88.494987ms] [2025/04/05 07:02:23.960 +00:00] [INFO] [domain.go:824] ["full load and reset schema validator"] [2025/04/05 07:02:23.963 +00:00] [INFO] [controller.go:498] ["[resource group controller] create resource group cost controller"] [name=default] [2025/04/05 07:02:23.973 +00:00] [INFO] [ddl.go:798] ["start DDL"] [category=ddl] [ID=7989808f-724d-453c-9fcf-9f657ceb8839] [runWorker=true] [jobVersion=v2] [2025/04/05 07:02:23.974 +00:00] [INFO] [ddl.go:775] ["start delRangeManager OK"] [category=ddl] ["is a emulator"=false] [2025/04/05 07:02:23.976 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:23.977 +00:00] [INFO] [env.go:123] ["the ingest sorted directory"] [category=ddl-ingest] ["data path"=/tmp/tidb/tmp_ddl-4000] [2025/04/05 07:02:23.977 +00:00] [INFO] [env.go:88] ["init global ingest backend environment finished"] [category=ddl-ingest] ["memory limitation"=17179869184] ["disk usage info"="disk usage: 237190438912/467794132992, backend usage: 0"] ["max open file number"=1048576] ["lightning is initialized"=true] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:23.977 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:23.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:23.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:23.978 +00:00] [INFO] [runaway.go:68] ["try to start runaway manager loop"] [2025/04/05 07:02:23.978 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:23.978 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=requestUnitsWriterLoop] [2025/04/05 07:02:23.978 +00:00] [INFO] [owner_daemon.go:70] ["begin advancer daemon"] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:23.978 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [2025/04/05 07:02:23.979 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf957f9] [ownerID=7989808f-724d-453c-9fcf-9f657ceb8839] [op=none] [2025/04/05 07:02:23.980 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:23.980 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [ownerKey=/tidb/ddl/fg/owner/3eaa9604bcf957f9] [currRev=1945] [2025/04/05 07:02:23.981 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:23.981 +00:00] [INFO] [owner_daemon.go:81] ["begin running daemon"] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:23.981 +00:00] [INFO] [job_scheduler.go:360] ["get global state and global state change"] [category=ddl] [oldState=false] [currState=false] [2025/04/05 07:02:23.981 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/br-stream/owner] ["owner key"=/tidb/br-stream/owner/6f189604bcf959cb] [ownerID=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [op=none] [2025/04/05 07:02:23.981 +00:00] [INFO] [manager.go:324] ["become owner"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [2025/04/05 07:02:23.981 +00:00] [INFO] [manager.go:583] ["watching owner key"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [ownerKey=/tidb/br-stream/owner/6f189604bcf959cb] [currRev=1946] [2025/04/05 07:02:23.982 +00:00] [INFO] [manager.go:486] ["get owner"] [key=/tidb/ddl/fg/owner] ["owner key"=/tidb/ddl/fg/owner/3eaa9604bcf957f9] [ownerID=7989808f-724d-453c-9fcf-9f657ceb8839] [op=none] [2025/04/05 07:02:23.982 +00:00] [INFO] [manager.go:531] ["set owner op is the same as the original, so do nothing."] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [op=none] [2025/04/05 07:02:23.982 +00:00] [INFO] [job_scheduler.go:372] ["the owner sets owner operator value"] [category=ddl] [ownerOp=none] [2025/04/05 07:02:23.990 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:23.991 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:23.992 +00:00] [WARN] [utils.go:164] ["failed to generate bind record from data row"] [category=sql-bind] [error="[schema:1146]Table 'test.t' doesn't exist"] [errorVerbose="[schema:1146]Table 'test.t' doesn't exist\ngithub.com/pingcap/errors.AddStack\n\texternal/com_github_pingcap_errors/errors.go:178\ngithub.com/pingcap/errors.Trace\n\texternal/com_github_pingcap_errors/juju_adaptor.go:15\ngithub.com/pingcap/tidb/pkg/planner/core.Preprocess\n\tpkg/planner/core/preprocess.go:152\ngithub.com/pingcap/tidb/pkg/executor.(*Compiler).Compile\n\tpkg/executor/compiler.go:69\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteStmt\n\tpkg/session/session.go:2115\ngithub.com/pingcap/tidb/pkg/session.(*session).ExecuteInternal\n\tpkg/session/session.go:1540\ngithub.com/pingcap/tidb/pkg/bindinfo.exec\n\tpkg/bindinfo/utils.go:73\ngithub.com/pingcap/tidb/pkg/bindinfo.checkBindingValidation\n\tpkg/bindinfo/binding.go:481\ngithub.com/pingcap/tidb/pkg/bindinfo.prepareHints\n\tpkg/bindinfo/binding.go:299\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage.func1\n\tpkg/bindinfo/utils.go:163\ngithub.com/pingcap/tidb/pkg/bindinfo.callWithSCtx\n\tpkg/bindinfo/utils.go:66\ngithub.com/pingcap/tidb/pkg/bindinfo.readBindingsFromStorage\n\tpkg/bindinfo/utils.go:151\ngithub.com/pingcap/tidb/pkg/bindinfo.(*bindingCacheUpdater).LoadFromStorageToCache\n\tpkg/bindinfo/binding_cache.go:66\ngithub.com/pingcap/tidb/pkg/domain.(*Domain).InitBindingHandle\n\tpkg/domain/domain.go:2188\ngithub.com/pingcap/tidb/pkg/session.bootstrapSessionImpl\n\tpkg/session/session.go:3541\ngithub.com/pingcap/tidb/pkg/session.BootstrapSession\n\tpkg/session/session.go:3423\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndDomainAndSetup\n\ttests/realtikvtest/testkit.go:135\ngithub.com/pingcap/tidb/tests/realtikvtest.CreateMockStoreAndSetup\n\ttests/realtikvtest/testkit.go:109\ntests/realtikvtest/pipelineddmltest/pipelineddmltest_test.TestRejectUnsupportedTables\n\ttests/realtikvtest/pipelineddmltest/pipelineddml_test.go:808\ntesting.tRunner\n\tGOROOT/src/testing/testing.go:1690\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:23.992 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/bindinfo/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:23.993 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:23.993 +00:00] [WARN] [sysvar_cache.go:50] ["sysvar cache is empty, triggering rebuild"] [2025/04/05 07:02:24.003 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:24.012 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:24.017 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:24.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:24.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:24.018 +00:00] [INFO] [domain.go:2328] ["PlanReplayerTaskCollectHandle started"] [2025/04/05 07:02:24.018 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:24.018 +00:00] [INFO] [domain.go:2382] ["dumpFileGcChecker started"] [2025/04/05 07:02:24.018 +00:00] [INFO] [domain.go:2350] ["PlanReplayerTaskDumpHandle started"] [2025/04/05 07:02:24.018 +00:00] [INFO] [plan_replayer.go:410] ["planReplayerTaskDumpWorker started."] [2025/04/05 07:02:24.018 +00:00] [INFO] [domain.go:2415] ["HistoricalStatsWorker started"] [2025/04/05 07:02:24.019 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:24.019 +00:00] [INFO] [manager.go:289] ["start campaign owner"] [key=/tidb/stats/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:24.020 +00:00] [INFO] [domain.go:2836] ["deltaUpdateTickerWorker started."] [2025/04/05 07:02:24.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:24.021 +00:00] [INFO] [domain.go:2811] ["dumpColStatsUsageWorker started."] [2025/04/05 07:02:24.021 +00:00] [INFO] [domain.go:2608] ["start load stats sub workers"] [workerCount=6] [2025/04/05 07:02:24.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:24.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:24.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:24.021 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:24.023 +00:00] [INFO] [domain.go:1826] ["initialize node resource"] [total-cpu=16] [total-mem=32GiB] [total-disk=435.7GiB] [2025/04/05 07:02:24.025 +00:00] [INFO] [notifier.go:225] ["etcd notify loop to watch timer events started"] [EtcdKey=/tidb/timer/cluster/1/notify/dcc470df-08e5-40d7-b039-3c77740e55d8] [2025/04/05 07:02:24.025 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [ttl-worker=task-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [originalCount=0] [newCount=4] [2025/04/05 07:02:24.025 +00:00] [INFO] [task_manager.go:248] ["scale ttl worker"] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [ttl-worker=task-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [originalCount=0] [newCount=4] [2025/04/05 07:02:24.026 +00:00] [INFO] [job_manager.go:510] ["TTL leader to collect delay metrics"] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.026 +00:00] [INFO] [wait_group_wrapper.go:141] ["background process started"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:24.026 +00:00] [INFO] [manager.go:113] ["task executor manager start"] [server-id=:4000] [2025/04/05 07:02:24.026 +00:00] [INFO] [domain.go:1839] ["dist task executor manager started"] testkit.go:123: RefreshSession rand seed: 1743836544026675458 [2025/04/05 07:02:24.027 +00:00] [INFO] [bootstrap.go:713] ["complete to load the meta in the lite mode"] [category=stats] [2025/04/05 07:02:24.032 +00:00] [INFO] [bootstrap.go:719] ["complete to load the histogram in the lite mode"] [category=stats] [2025/04/05 07:02:24.041 +00:00] [INFO] [domain.go:2645] ["init stats info time"] [lite=true] ["take time"=22.08965ms] [2025/04/05 07:02:24.041 +00:00] [INFO] [domain.go:2772] ["gcStatsWorker started."] [2025/04/05 07:02:24.041 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=RemoveInitStatsFromInternalSessions] [2025/04/05 07:02:24.048 +00:00] [INFO] [set.go:172] ["set global var"] [conn=38] [name=innodb_lock_wait_timeout] [val=50] [2025/04/05 07:02:24.050 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `_t1` nocache"] [user=] [2025/04/05 07:02:24.052 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=38] [schemaVersion=408] [cur_db=test] [sql="alter table `t1` nocache"] [user=] [2025/04/05 07:02:24.066 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:02:24.066 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.072 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.089 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=408] [neededSchemaVersion=409] ["elapsed time"=1.874882ms] [gotSchemaVersion=409] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.093 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=409] [2025/04/05 07:02:24.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=409] ["take time"=9.831258ms] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.105 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.121 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=409] [neededSchemaVersion=410] ["elapsed time"=2.023192ms] [gotSchemaVersion=410] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.125 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=410] [2025/04/05 07:02:24.127 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=410] ["take time"=9.477667ms] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.135 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:424, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.142 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 424, Old Table Name: _t1)"] [2025/04/05 07:02:24.155 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=410] [neededSchemaVersion=411] ["elapsed time"=1.072046ms] [gotSchemaVersion=411] [phyTblIDs="[424]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.159 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=426] [version=411] [2025/04/05 07:02:24.160 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=411] ["take time"=8.371001ms] [job="ID:426, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.170 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=426] [tableIDs="[424]"] [comment="drop table: table ID"] [2025/04/05 07:02:24.178 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=426] [jobType="drop table"] [2025/04/05 07:02:24.179 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=426] [conn=38] [job="ID:426, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:424, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.044 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.197 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=426] [2025/04/05 07:02:24.209 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.209 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="drop table `_t1`,`t1`"] [2025/04/05 07:02:24.215 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:queueing, SchemaState:public, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.231 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=411] [neededSchemaVersion=412] ["elapsed time"=1.907081ms] [gotSchemaVersion=412] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.235 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=412] [2025/04/05 07:02:24.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=412] ["take time"=9.408509ms] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.247 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:write only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.263 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=412] [neededSchemaVersion=413] ["elapsed time"=1.916686ms] [gotSchemaVersion=413] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.267 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=413] [2025/04/05 07:02:24.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=413] ["take time"=9.398784ms] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.278 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:running, SchemaState:delete only, SchemaID:2, TableID:422, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.284 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: drop table, Old Table ID: 422, Old Table Name: t1)"] [2025/04/05 07:02:24.298 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=413] [neededSchemaVersion=414] ["elapsed time"=1.186626ms] [gotSchemaVersion=414] [phyTblIDs="[422]"] [actionTypes="[4]"] [diffTypes="[\"drop table\"]"] [2025/04/05 07:02:24.302 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=427] [version=414] [2025/04/05 07:02:24.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=414] ["take time"=8.907559ms] [job="ID:427, Type:drop table, State:done, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.312 +00:00] [INFO] [delete_range.go:473] ["insert into delete-range table"] [category=ddl] [jobID=427] [tableIDs="[422]"] [comment="drop table: table ID"] [2025/04/05 07:02:24.317 +00:00] [INFO] [delete_range.go:112] ["add job into delete-range table"] [category=ddl] [jobID=427] [jobType="drop table"] [2025/04/05 07:02:24.318 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=427] [conn=38] [job="ID:427, Type:drop table, State:synced, SchemaState:none, SchemaID:2, TableID:422, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.194 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.335 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=427] [2025/04/05 07:02:24.335 +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: 1743836544336067016 [2025/04/05 07:02:24.355 +00:00] [INFO] [set.go:172] ["set global var"] [conn=39] [name=tidb_schema_cache_size] [val=0] [2025/04/05 07:02:24.359 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=414] [cur_db=test] [sql="drop table if exists parent, child"] [user=] [2025/04/05 07:02:24.372 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table parent(a int primary key)"] [2025/04/05 07:02:24.372 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.378 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.382 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 428, Table Name: parent)"] [2025/04/05 07:02:24.396 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=414] [neededSchemaVersion=415] ["elapsed time"=1.321784ms] [gotSchemaVersion=415] [phyTblIDs="[428]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:24.400 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=429] [version=415] [2025/04/05 07:02:24.401 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=415] ["take time"=8.74405ms] [job="ID:429, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.413 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=429] [conn=39] [job="ID:429, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:428, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.343 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.424 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=429] [2025/04/05 07:02:24.424 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=415] [cur_db=test] [sql="create table parent(a int primary key)"] [user=] [2025/04/05 07:02:24.437 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.437 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table child(a int, foreign key (a) references parent(a))"] [2025/04/05 07:02:24.444 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.460 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=415] [neededSchemaVersion=416] ["elapsed time"=1.645075ms] [gotSchemaVersion=416] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:24.464 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=416] [2025/04/05 07:02:24.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=416] ["take time"=9.197791ms] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.476 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:running, SchemaState:delete only, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.480 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 430, Table Name: child)"] [2025/04/05 07:02:24.496 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=416] [neededSchemaVersion=417] ["elapsed time"=1.656627ms] [gotSchemaVersion=417] [phyTblIDs="[430]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:24.500 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=431] [version=417] [2025/04/05 07:02:24.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=417] ["take time"=9.326163ms] [job="ID:431, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.512 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=431] [conn=39] [job="ID:431, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:430, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.394 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.523 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=431] [2025/04/05 07:02:24.523 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create table child(a int, foreign key (a) references parent(a))"] [user=] [2025/04/05 07:02:24.526 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136287119835146] [2025/04/05 07:02:24.536 +00:00] [INFO] [tidb.go:266] ["rollbackTxn called due to ddl/autocommit failure"] [2025/04/05 07:02:24.536 +00:00] [WARN] [session.go:2179] ["run statement failed"] [schemaVersion=417] [error="[planner:1452]Cannot add or update a child row: a foreign key constraint fails (`test`.`child`, CONSTRAINT `fk_1` FOREIGN KEY (`a`) REFERENCES `parent` (`a`))"] [session="{\n \"currDBName\": \"test\",\n \"id\": 39,\n \"status\": 2,\n \"strictMode\": true,\n \"user\": null\n}"] [2025/04/05 07:02:24.539 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136287119835154] [2025/04/05 07:02:24.551 +00:00] [WARN] [prewrite.go:564] ["1pc failed and fallbacks to normal commit procedure"] [startTS=457136287132680193] [2025/04/05 07:02:24.561 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136287132680196] [generation=1] [session=39] [keys=1] [size=25B] ["flushed keys"=1] ["flushed size"=25B] ["take time"=903.865µs] [2025/04/05 07:02:24.561 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=1] [flush_wait_duration=999.923µs] [total_duration=1.397907ms] ["memdb traversal cache hit"=2] ["memdb traversal cache miss"=2] [size=25B] [startTS=457136287132680196] [2025/04/05 07:02:24.562 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136287132680196] [commitTS=457136287132680197] [2025/04/05 07:02:24.562 +00:00] [INFO] [range_task.go:160] ["empty range task executed. ignored"] [name=pipelined-dml-commit-457136287132680196] [startKey=7480000000000001ac5f728000000000000004] [endKey=7480000000000001ac5f728000000000000004] [2025/04/05 07:02:24.562 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=0] [startTS=457136287132680196] [commitTS=457136287132680197] [session=39] [2025/04/05 07:02:24.565 +00:00] [INFO] [txn.go:583] ["[pipelined dml] flushed memdb to kv store"] [startTS=457136287132680198] [generation=1] [session=39] [keys=2] [size=67B] ["flushed keys"=2] ["flushed size"=67B] ["take time"=958.124µs] [2025/04/05 07:02:24.565 +00:00] [INFO] [pipelined_flush.go:304] ["[pipelined dml] start to commit transaction"] [keys=2] [flush_wait_duration=1.043986ms] [total_duration=1.522592ms] ["memdb traversal cache hit"=4] ["memdb traversal cache miss"=3] [size=67B] [startTS=457136287132680198] [2025/04/05 07:02:24.566 +00:00] [INFO] [pipelined_flush.go:336] ["[pipelined dml] transaction is committed"] [startTS=457136287132680198] [commitTS=457136287132680199] [2025/04/05 07:02:24.566 +00:00] [INFO] [range_task.go:167] ["range task started"] [name=pipelined-dml-commit-457136287132680198] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] [concurrency=8] [2025/04/05 07:02:24.569 +00:00] [INFO] [range_task.go:276] ["range task finished"] [name=pipelined-dml-commit-457136287132680198] [startKey=7480000000000001ae5f698000000000000001038000000000000004038000000000000003] [endKey=7480000000000001ae5f728000000000000003] ["cost time"=2.585047ms] ["completed regions"=1] [2025/04/05 07:02:24.569 +00:00] [INFO] [pipelined_flush.go:500] ["[pipelined dml] resolve flushed locks done"] [txn-status=commit] ["resolved regions"=1] [startTS=457136287132680198] [commitTS=457136287132680199] [session=39] [2025/04/05 07:02:24.570 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=417] [cur_db=test] [sql="create temporary table temp(a int)"] [user=] [2025/04/05 07:02:24.586 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.586 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="create table cached(a int)"] [2025/04/05 07:02:24.593 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.598 +00:00] [WARN] [ddl.go:620] ["fail to notify DDL event"] [category=ddl] [event="(Event Type: create table, Table ID: 433, Table Name: cached)"] [2025/04/05 07:02:24.612 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=417] [neededSchemaVersion=418] ["elapsed time"=1.468657ms] [gotSchemaVersion=418] [phyTblIDs="[433]"] [actionTypes="[3]"] [diffTypes="[\"create table\"]"] [2025/04/05 07:02:24.616 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=434] [version=418] [2025/04/05 07:02:24.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=418] ["take time"=9.072123ms] [job="ID:434, Type:create table, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.629 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=434] [conn=39] [job="ID:434, Type:create table, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.543 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.640 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=434] [2025/04/05 07:02:24.641 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=418] [cur_db=test] [sql="create table cached(a int)"] [user=] [2025/04/05 07:02:24.659 +00:00] [INFO] [executor.go:6781] ["DDL job submitted"] [category=ddl] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [query="alter table cached cache"] [2025/04/05 07:02:24.659 +00:00] [INFO] [job_submitter.go:133] ["add DDL jobs"] [category=ddl] ["batch count"=1] [jobs="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:1, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2; "] [fast_create=true] [2025/04/05 07:02:24.665 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:queueing, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.679 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=418] [neededSchemaVersion=419] ["elapsed time"=1.53891ms] [gotSchemaVersion=419] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 07:02:24.683 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=419] [2025/04/05 07:02:24.685 +00:00] [INFO] [schema_version.go:390] ["wait latest schema version changed(get the metadata lock if tidb_enable_metadata_lock is true)"] [category=ddl] [ver=419] ["take time"=9.164134ms] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.695 +00:00] [INFO] [job_worker.go:787] ["run one job step"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:running, SchemaState:none, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.710 +00:00] [INFO] [domain.go:363] ["diff load InfoSchema success"] [isV2=false] [currentSchemaVersion=419] [neededSchemaVersion=420] ["elapsed time"=1.494271ms] [gotSchemaVersion=420] [phyTblIDs="[433]"] [actionTypes="[57]"] [diffTypes="[\"alter table cache\"]"] [2025/04/05 07:02:24.714 +00:00] [INFO] [domain.go:1122] ["mdl gets lock, update self version to owner"] [jobID=435] [version=420] [2025/04/05 07:02:24.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=420] ["take time"=8.816853ms] [job="ID:435, Type:alter table cache, State:done, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.725 +00:00] [INFO] [job_worker.go:387] ["finish DDL job"] [category=ddl] [jobID=435] [conn=39] [job="ID:435, Type:alter table cache, State:synced, SchemaState:public, SchemaID:2, TableID:433, RowCount:0, ArgLen:0, start time: 2025-04-05 07:02:24.644 +0000 UTC, Err:, ErrCount:0, SnapshotVersion:0, Version: v2"] [2025/04/05 07:02:24.737 +00:00] [INFO] [executor.go:6901] ["DDL job is finished"] [category=ddl] [jobID=435] [2025/04/05 07:02:24.737 +00:00] [INFO] [session.go:4124] ["CRUCIAL OPERATION"] [conn=39] [schemaVersion=420] [cur_db=test] [sql="alter table cached cache"] [user=] [2025/04/05 07:02:24.755 +00:00] [INFO] [syncer.go:445] ["schema version sync loop interrupted, retrying..."] [category=ddl] [2025/04/05 07:02:24.755 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [] [2025/04/05 07:02:24.755 +00:00] [INFO] [job_scheduler.go:270] ["scheduleLoop quit due to context canceled"] [category=ddl] [2025/04/05 07:02:24.755 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.755 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:24.755 +00:00] [INFO] [ddl_workerpool.go:78] ["closing workerPool"] [category=ddl] [2025/04/05 07:02:24.755 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 67, tp general"] ["take time"=50.346µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 68, tp general"] ["take time"=36.912µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 69, tp general"] ["take time"=34.683µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 70, tp general"] ["take time"=48.171µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 71, tp general"] ["take time"=29.164µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [job_worker.go:217] ["DDL worker closed"] [category=ddl] [worker="worker 72, tp general"] ["take time"=33.476µs] [2025/04/05 07:02:24.756 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.756 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/ddl/fg/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.757 +00:00] [INFO] [delete_range.go:162] ["closing delRange"] [category=ddl] [2025/04/05 07:02:24.757 +00:00] [INFO] [session_pool.go:94] ["closing session pool"] [category=ddl] [2025/04/05 07:02:24.759 +00:00] [INFO] [ddl.go:1047] ["DDL closed"] [category=ddl] [ID=7989808f-724d-453c-9fcf-9f657ceb8839] ["take time"=4.391548ms] [2025/04/05 07:02:24.760 +00:00] [INFO] [ddl.go:767] ["stop DDL"] [category=ddl] [ID=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.760 +00:00] [INFO] [domain.go:1261] ["stopping ttlJobManager"] [2025/04/05 07:02:24.760 +00:00] [INFO] [notifier.go:227] ["etcd notify loop to watch timer events stopped"] [EtcdKey=/tidb/timer/cluster/1/notify/dcc470df-08e5-40d7-b039-3c77740e55d8] [2025/04/05 07:02:24.760 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [ttl-worker=task-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [originalCount=4] [newCount=0] [2025/04/05 07:02:24.760 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:24.760 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:24.760 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:24.760 +00:00] [INFO] [scan.go:373] ["ttlScanWorker loop exited."] [2025/04/05 07:02:24.760 +00:00] [INFO] [task_manager.go:225] ["shrink ttl worker"] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [ttl-worker=task-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [originalCount=4] [newCount=0] [2025/04/05 07:02:24.763 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:24.763 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:24.763 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:24.763 +00:00] [INFO] [del.go:344] ["ttlDeleteWorker loop exited."] [2025/04/05 07:02:24.766 +00:00] [INFO] [job_manager.go:182] ["ttlJobManager loop exited."] [ttl-worker=job-manager] [ttl-worker=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.766 +00:00] [INFO] [domain.go:1272] ["ttlJobManager exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:3253] ["releaseServerID succeed"] [serverID=1465] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2920] ["analyzeJobsCleanupWorker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2691] ["asyncLoadStats exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2067] ["LoadSysVarCacheLoop exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=analyzeJobsCleanupWorker] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:3462] ["planCacheEvictTrigger exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2737] ["gcStatsWorker ready to release owner"] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=LoadSysVarCacheLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:1142] ["loadSchemaInLoop exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheEvictTrigger] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:1841] ["stopping dist task executor manager"] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=mdlCheckLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2386] ["dumpFileGcChecker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSchemaInLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:3431] ["planCacheMetricsAndVars exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:925] ["infoSyncerKeeper exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:146] ["handle tasks loop done"] [server-id=:4000] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2352] ["PlanReplayerTaskDumpHandle exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=planCacheMetricsAndVars] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:3317] ["serverIDKeeper exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=infoSyncerKeeper] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadSigningCertLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskDumpHandle] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:420] ["watch owner finished"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2718] ["indexUsageWorker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:333] ["retire owner"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:424] ["is not the owner"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:951] ["globalConfigSyncerKeeper exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2658] ["loadStatsWorker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/br-stream/owner] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalConfigSyncerKeeper] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2417] ["HistoricalStatsWorker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=asyncLoadHistogram] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadStatsWorker] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:3506] ["readTableCostWorker exited."] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=readTableCostWorker] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2862] ["autoAnalyzeWorker exited."] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=autoAnalyzeWorker] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2332] ["PlanReplayerTaskCollectHandle exited."] [2025/04/05 07:02:24.768 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2756] ["deltaUpdateTicker is going to exit, start to flush stats"] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:2817] ["dumpColStatsUsageWorker exited."] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=PlanReplayerTaskCollectHandle] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpFileGcChecker] [2025/04/05 07:02:24.767 +00:00] [INFO] [plan_replayer.go:414] ["planReplayerTaskDumpWorker exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:262] ["SubLoadWorker: exits now because the domain is closed."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [manager.go:269] ["recoverMetaLoop done"] [server-id=:4000] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:1998] ["loadPrivilegeInLoop exited."] [2025/04/05 07:02:24.768 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.768 +00:00] [INFO] [domain.go:1843] ["dist task executor manager stopped"] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=loadPrivilegeInLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=runawayStartLoop] [2025/04/05 07:02:24.767 +00:00] [INFO] [stats_syncload.go:252] ["SubLoadWorker: exited."] [category=stats] [2025/04/05 07:02:24.767 +00:00] [INFO] [domain.go:975] ["topologySyncerKeeper exited."] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=indexUsageWorker] [2025/04/05 07:02:24.767 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=HistoricalStatsWorker] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=dumpColStatsUsageWorker] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=distTaskFrameworkLoop] [2025/04/05 07:02:24.768 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topologySyncerKeeper] [2025/04/05 07:02:24.768 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/stats/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [error="context canceled"] [2025/04/05 07:02:24.768 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/stats/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.769 +00:00] [INFO] [domain.go:897] ["topNSlowQueryLoop exited."] [2025/04/05 07:02:24.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=topNSlowQueryLoop] [2025/04/05 07:02:24.769 +00:00] [INFO] [domain.go:1624] ["closestReplicaReadCheckLoop exited."] [2025/04/05 07:02:24.769 +00:00] [INFO] [owner_daemon.go:87] ["daemon loop exits"] [id=6451e9aa-c82d-44a2-8e9a-20c8ec89908b] [daemon-id=LogBackup::Advancer] [2025/04/05 07:02:24.769 +00:00] [INFO] [advancer_cliext.go:161] ["Start collecting remaining events in the channel."] [category="log backup advancer"] [remained=0] [2025/04/05 07:02:24.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=closestReplicaReadCheckLoop] [2025/04/05 07:02:24.769 +00:00] [INFO] [domain.go:2743] ["gcStatsWorker exit preprocessing finished"] [2025/04/05 07:02:24.769 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=logBackupAdvancer] [2025/04/05 07:02:24.769 +00:00] [INFO] [domain.go:2783] ["gcStatsWorker exited."] [2025/04/05 07:02:24.769 +00:00] [INFO] [advancer_cliext.go:166] ["Finish collecting remaining events in the channel."] [category="log backup advancer"] [2025/04/05 07:02:24.770 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=gcStatsWorker] [2025/04/05 07:02:24.770 +00:00] [INFO] [manager.go:399] ["campaign and watch failed"] [key=/tidb/bindinfo/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [error="context canceled"] [2025/04/05 07:02:24.770 +00:00] [INFO] [manager.go:385] ["break campaign loop, context is done"] [key=/tidb/bindinfo/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [2025/04/05 07:02:24.793 +00:00] [INFO] [domain.go:2762] ["deltaUpdateTicker exit preprocessing finished"] [2025/04/05 07:02:24.793 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=deltaUpdateTickerWorker] [2025/04/05 07:02:24.833 +00:00] [INFO] [manager.go:431] ["etcd session close failed"] [key=/tidb/bindinfo/owner] [id=7989808f-724d-453c-9fcf-9f657ceb8839] [error="context canceled"] [2025/04/05 07:02:24.833 +00:00] [INFO] [domain.go:2206] ["globalBindHandleWorkerLoop exited."] [2025/04/05 07:02:24.833 +00:00] [INFO] [wait_group_wrapper.go:150] ["background process exited"] [source=domain] [process=globalBindHandleWorkerLoop] [2025/04/05 07:02:24.845 +00:00] [INFO] [domain.go:1323] ["domain closed"] ["take time"=89.712286ms] [2025/04/05 07:02:25.804 +00:00] [INFO] [pd.go:432] ["adaptive update ts interval state transition"] [configuredInterval=2s] [prevAdaptiveUpdateInterval=2s] [newAdaptiveUpdateInterval=2s] [requiredStaleness=0s] [prevState=unknown(0)] [newState=normal] [2025/04/05 07:02:29.563 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136287132680196 commit_ts:457136287132680197 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:29.563 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136287132680196 commit_ts:457136287132680197 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:29.564 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136287132680196 commit_ts:457136287132680197 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=2] [storeAddr=127.0.0.1:20161] [status="start_ts:457136287132680198 commit_ts:457136287132680199 is_completed:true "] [error="[127.0.0.1:20161](1) context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=1] [storeAddr=127.0.0.1:20162] [status="start_ts:457136287132680198 commit_ts:457136287132680199 is_completed:true "] [error="[127.0.0.1:20162](1) context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [2pc.go:1444] ["broadcast txn status failed"] [storeID=3] [storeAddr=127.0.0.1:20160] [status="start_ts:457136287132680198 commit_ts:457136287132680199 is_completed:true "] [error="[127.0.0.1:20160](1) context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [service_discovery.go:544] ["[pd] exit member loop due to context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [watcher.go:73] ["[pd] exit the deadline watcher"] [source=tso] [2025/04/05 07:02:29.570 +00:00] [INFO] [resource_manager_client.go:293] ["[resource manager] exit resource token dispatcher"] [2025/04/05 07:02:29.570 +00:00] [INFO] [inner_client.go:90] ["[pd] exit router client initializer"] [2025/04/05 07:02:29.570 +00:00] [INFO] [client.go:273] ["[tso] exit tso connection contexts updater"] [2025/04/05 07:02:29.570 +00:00] [INFO] [dispatcher.go:208] ["[tso] stop fetching the pending tso requests due to context canceled"] [2025/04/05 07:02:29.570 +00:00] [INFO] [client.go:155] ["[tso] closing tso client"] [2025/04/05 07:02:29.570 +00:00] [INFO] [dispatcher.go:150] ["[tso] exit tso dispatcher"] [2025/04/05 07:02:29.570 +00:00] [INFO] [client.go:160] ["[tso] close tso client"] [2025/04/05 07:02:29.570 +00:00] [INFO] [client.go:162] ["[tso] tso client is closed"] [2025/04/05 07:02:29.570 +00:00] [INFO] [stream.go:359] ["tsoStream.recvLoop ended"] [stream=127.0.0.1:2384-18] [error="rpc error: code = Canceled desc = context canceled"] [errorVerbose="rpc error: code = Canceled desc = context canceled\ngithub.com/tikv/pd/client/clients/tso.(*tsoStream).recvLoop\n\texternal/com_github_tikv_pd_client/clients/tso/stream.go:427\nruntime.goexit\n\tsrc/runtime/asm_amd64.s:1700"] [2025/04/05 07:02:29.570 +00:00] [INFO] [service_discovery.go:635] ["[pd] close service discovery client"] [2025/04/05 07:02:29.571 +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 [4,574 / 4,574] 1 / 1 tests; checking cached actions INFO: Elapsed time: 279.317s, Critical Path: 261.91s 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.2s Stats over 2 runs: max = 119.2s, min = 116.6s, avg = 117.9s, dev = 1.3s 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.3s) PASSED pipelineddmltest_test.TestPipelinedDMLDelete (6.0s) PASSED pipelineddmltest_test.TestPipelinedDMLDisableRetry (6.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsert (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertIgnore (6.0s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdate (1.2s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertOnDuplicateKeyUpdateInTxn (6.1s) PASSED pipelineddmltest_test.TestPipelinedDMLInsertRPC (9.6s) PASSED pipelineddmltest_test.TestPipelinedDMLNegative (0.6s) PASSED pipelineddmltest_test.TestPipelinedDMLPositive (25.7s) PASSED pipelineddmltest_test.TestPipelinedDMLUpdate (6.2s) 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 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/issues.test: ok! 463 test cases passed, take time 11.018038941 s ./t/executor/jointest/hash_join.test: ok! 148 test cases passed, take time 1.16441157 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 128s remote-cache, linux-sandbox ./t/executor/jointest/join.test: ok! 858 test cases passed, take time 10.104097095 s ./t/executor/kv.test: ok! 16 test cases passed, take time 0.085506617 s ./t/executor/merge_join.test: ok! 259 test cases passed, take time 2.675149847 s ./t/executor/parallel_apply.test: ok! 96 test cases passed, take time 0.962453013 s ./t/executor/partition/issues.test: ok! 159 test cases passed, take time 2.904974074 s ./t/executor/partition/partition_boundaries.test: ok! 1035 test cases passed, take time 2.027925868 s ./t/executor/partition/partition_with_expression.test: ok! 298 test cases passed, take time 2.14474453 s ./t/executor/partition/table.test: ok! 224 test cases passed, take time 5.531591325 s ./t/executor/partition/write.test: ok! 349 test cases passed, take time 9.073990075 s ./t/executor/password_management.test: ok! 381 test cases passed, take time 3.059458245 s ./t/executor/perfschema.test: ok! 5 test cases passed, take time 0.006052785 s ./t/executor/point_get.test: ok! 271 test cases passed, take time 1.4607342110000001 s ./t/executor/prepared.test: ok! 214 test cases passed, take time 1.038416106 s ./t/executor/revoke.test: ok! 65 test cases passed, take time 0.616851391 s ./t/executor/rowid.test: ok! 63 test cases passed, take time 0.287353349 s [4,571 / 4,572] Testing //tests/realtikvtest/addindextest:addindextest_test; 281s remote-cache, linux-sandbox ./t/executor/sample.test: ok! 109 test cases passed, take time 6.028049802 s ./t/executor/set.test: ok! 228 test cases passed, take time 0.417050625 s ./t/executor/show.test: ok! 300 test cases passed, take time 3.396286031 s ./t/executor/simple.test: ok! 357 test cases passed, take time 2.7997573 s FAIL: //tests/realtikvtest/txntest:txntest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/txntest/txntest_test/test_attempts/attempt_2.log) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 175s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 13s remote-cache, linux-sandbox ./t/executor/split_table.test: ok! 60 test cases passed, take time 14.242162533 s ./t/executor/stale_txn.test: ok! 28 test cases passed, take time 1.184193711 s ./t/executor/statement_context.test: ok! 63 test cases passed, take time 0.14772456 s ./t/executor/union_scan.test: ok! 231 test cases passed, take time 1.55958914 s ./t/executor/update.test: ok! 521 test cases passed, take time 3.711934028 s ./t/executor/window.test: ok! 93 test cases passed, take time 3.43556299 s [4,571 / 4,572] 1 / 1 tests; Testing //tests/realtikvtest/addindextest:addindextest_test; 338s 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: 479.761s, Critical Path: 460.79s INFO: 4272 processes: 3846 remote cache hit, 3 internal, 423 linux-sandbox. INFO: Build completed successfully, 4272 total actions //tests/realtikvtest/addindextest:addindextest_test PASSED in 338.2s PASSED addindextest_test.TestAddForeignKeyWithAutoCreateIndex (14.4s) PASSED addindextest_test.TestAddIndexOnGB18030Bin (0.2s) PASSED addindextest_test.TestAddUKWithSmallIntHandles (3.3s) PASSED addindextest_test.TestAddUniqueDuplicateIndexes (2.7s) PASSED addindextest_test.TestConcurrentDDLCreateGenColIndex (3.3s) PASSED addindextest_test.TestConcurrentDDLCreateMultiColsIndex (3.5s) PASSED addindextest_test.TestConcurrentDDLCreateNonUniqueIndex (13.1s) PASSED addindextest_test.TestConcurrentDDLCreatePrimaryKey (5.2s) PASSED addindextest_test.TestConcurrentDDLCreateUniqueIndex (9.7s) PASSED addindextest_test.TestCreateGenColIndex (7.6s) PASSED addindextest_test.TestCreateMultiColsIndex (42.6s) PASSED addindextest_test.TestCreateNonUniqueIndex (61.8s) PASSED addindextest_test.TestCreatePrimaryKey (11.6s) PASSED addindextest_test.TestCreateUniqueIndex (43.1s) PASSED addindextest_test.TestFailpointsCreateGenColIndex (0.0s) PASSED addindextest_test.TestFailpointsCreateMultiColsIndex (0.0s) PASSED addindextest_test.TestFailpointsCreateNonUniqueIndex (0.0s) PASSED addindextest_test.TestFailpointsCreatePrimaryKeyFailpoints (0.0s) PASSED addindextest_test.TestFailpointsCreateUniqueIndex (0.0s) PASSED addindextest_test.TestIssue51162 (2.7s) PASSED addindextest_test.TestMultiSchemaChangeCreateGenColIndex (7.5s) PASSED addindextest_test.TestMultiSchemaChangeCreateNonUniqueIndex (20.6s) PASSED addindextest_test.TestMultiSchemaChangeCreatePrimaryKey (7.7s) PASSED addindextest_test.TestMultiSchemaChangeCreateUniqueIndex (15.3s) PASSED addindextest_test.TestMultiSchemaChangeMultiColsIndex (7.6s) PASSED addindextest_test.TestPiTRCreateGenColIndex (7.6s) PASSED addindextest_test.TestPiTRCreateMultiColsIndex (7.3s) PASSED addindextest_test.TestPiTRCreateNonUniqueIndex (20.5s) PASSED addindextest_test.TestPiTRCreatePrimaryKey (7.5s) PASSED addindextest_test.TestPiTRCreateUniqueIndex (9.9s) 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/write.test: ok! 1061 test cases passed, take time 17.136571968 s ./t/explain-non-select-stmt.test: ok! 8 test cases passed, take time 0.017049248 s ./t/explain.test: ok! 26 test cases passed, take time 0.123689832 s ./t/explain_complex.test: ok! 41 test cases passed, take time 0.381759046 s time="2025-04-05T15:04:23+08:00" level=error msg="run test [explain_complex_stats] err: sql:explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;: failed to run query \n\"explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\" \n around line 136, \nwe need(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:missing]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\nexplai\nbut got(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:unInitialized]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\n\n" ./t/explain_cte.test: ok! 53 test cases passed, take time 0.354750088 s ./t/explain_easy.test: ok! 190 test cases passed, take time 1.449398333 s ./t/explain_easy_stats.test: ok! 50 test cases passed, take time 0.861380264 s ./t/explain_foreign_key.test: ok! 41 test cases passed, take time 0.600944052 s ./t/explain_generate_column_substitute.test: ok! 233 test cases passed, take time 20.393551407 s ./t/explain_indexmerge_stats.test: ok! 30 test cases passed, take time 0.996625463 s ./t/explain_join_stats.test: ok! 8 test cases passed, take time 0.260518378 s ./t/explain_shard_index.test: ok! 19 test cases passed, take time 0.106537761 s ./t/explain_stats.test: ok! 10 test cases passed, take time 0.11000002 s ./t/explain_union_scan.test: ok! 9 test cases passed, take time 0.179609587 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 73s remote-cache, linux-sandbox ./t/expression/builtin.test: ok! 1365 test cases passed, take time 8.093513493 s ./t/expression/cast.test: ok! 85 test cases passed, take time 0.432631778 s ./t/expression/charset_and_collation.test: ok! 733 test cases passed, take time 22.861362897 s ./t/expression/constant_fold.test: ok! 16 test cases passed, take time 0.115361216 s ./t/expression/enum_set.test: ok! 13 test cases passed, take time 0.079571761 s ./t/expression/explain.test: ok! 77 test cases passed, take time 0.198315164 s ./t/expression/format.test: ok! 9 test cases passed, take time 0.002332253 s ./t/expression/issues.test: ok! 1525 test cases passed, take time 17.213532401 s ./t/expression/json.test: ok! 321 test cases passed, take time 0.983903105 s ./t/expression/misc.test: ok! 416 test cases passed, take time 4.712207381 s ./t/expression/multi_valued_index.test: ok! 314 test cases passed, take time 2.009171618 s ./t/expression/noop_functions.test: ok! 61 test cases passed, take time 0.034717009 s ./t/expression/plan_cache.test: ok! 184 test cases passed, take time 0.522900774 s ./t/expression/time.test: ok! 353 test cases passed, take time 0.893840096 s ./t/expression/vitess_hash.test: ok! 17 test cases passed, take time 0.195735009 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 133s remote-cache, linux-sandbox ./t/generated_columns.test: ok! 70 test cases passed, take time 4.695810968 s ./t/globalindex/aggregate.test: ok! 16 test cases passed, take time 2.249596677 s ./t/globalindex/analyze.test: ok! 37 test cases passed, take time 2.964375179 s ./t/globalindex/ddl.test: ok! 55 test cases passed, take time 3.987006837 s ./t/globalindex/expression_index.test: ok! 14 test cases passed, take time 0.087214552 s ./t/globalindex/index_join.test: ok! 31 test cases passed, take time 0.580423235 s ./t/globalindex/information_schema.test: ok! 7 test cases passed, take time 0.26359265 s ./t/globalindex/insert.test: ok! 14 test cases passed, take time 3.90708238 s ./t/globalindex/mem_index_lookup.test: ok! 40 test cases passed, take time 0.103577202 s ./t/globalindex/mem_index_merge.test: ok! 53 test cases passed, take time 0.206529645 s ./t/globalindex/mem_index_reader.test: ok! 36 test cases passed, take time 0.111949784 s ./t/globalindex/misc.test: ok! 91 test cases passed, take time 6.460025904 s ./t/globalindex/multi_valued_index.test: ok! 13 test cases passed, take time 0.038817563 s ./t/globalindex/point_get.test: ok! 38 test cases passed, take time 6.897050434 s ./t/globalindex/update.test: ok! 31 test cases passed, take time 0.197619233 s FAIL: //tests/realtikvtest/txntest:txntest_test (see /home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/execroot/__main__/bazel-out/k8-fastbuild/testlogs/tests/realtikvtest/txntest/txntest_test/test_attempts/attempt_3.log) [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 175s remote-cache, linux-sandbox [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 1s remote-cache, linux-sandbox ./t/imdbload.test: ok! 62 test cases passed, take time 9.166042271 s ./t/index_join.test: ok! 22 test cases passed, take time 0.275401062 s ./t/index_merge.test: ok! 145 test cases passed, take time 2.56189308 s ./t/infoschema/cluster_tables.test: ok! 17 test cases passed, take time 0.048093332 s ./t/infoschema/infoschema.test: ok! 192 test cases passed, take time 2.606472879 s ./t/infoschema/tables.test: ok! 120 test cases passed, take time 0.953076027 s ./t/infoschema/v2.test: ok! 34 test cases passed, take time 0.377957731 s ./t/naaj.test: ok! 135 test cases passed, take time 0.276469865 s ./t/new_character_set.test: ok! 73 test cases passed, take time 0.328820788 s ./t/new_character_set_builtin.test: ok! 222 test cases passed, take time 0.985475248 s ./t/new_character_set_invalid.test: ok! 28 test cases passed, take time 0.234137171 s ./t/parser/integration.test: ok! 8 test cases passed, take time 0.082579252 s ./t/partition.test: ok! 3 test cases passed, take time 0.205711913 s ./t/planner/cardinality/selectivity.test: ok! 686 test cases passed, take time 1.756819672 s ./t/planner/cardinality/trace.test: ok! 5 test cases passed, take time 0.099754314 s ./t/planner/cascades/integration.test: ok! 247 test cases passed, take time 0.789791953 s ./t/planner/core/binary_plan.test: ok! 6 test cases passed, take time 0.000991039 s ./t/planner/core/casetest/expression_rewriter.test: ok! 23 test cases passed, take time 0.160394275 s ./t/planner/core/casetest/hint/hint.test: ok! 182 test cases passed, take time 1.9499741400000001 s ./t/planner/core/casetest/index/index.test: ok! 225 test cases passed, take time 1.961125373 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 18s remote-cache, linux-sandbox ./t/planner/core/casetest/integration.test: ok! 462 test cases passed, take time 2.91990131 s ./t/planner/core/casetest/partition/integration_partition.test: ok! 134 test cases passed, take time 0.95906362 s ./t/planner/core/casetest/partition/partition_pruner.test: ok! 284 test cases passed, take time 1.087158502 s ./t/planner/core/casetest/physicalplantest/physical_plan.test: ok! 913 test cases passed, take time 3.193115404 s ./t/planner/core/casetest/point_get_plan.test: ok! 52 test cases passed, take time 0.135762318 s ./t/planner/core/casetest/predicate_simplification.test: ok! 133 test cases passed, take time 0.651107026 s ./t/planner/core/casetest/pushdown/push_down.test: ok! 54 test cases passed, take time 0.203792985 s ./t/planner/core/casetest/rule/rule_derive_topn_from_window.test: ok! 73 test cases passed, take time 0.469321711 s ./t/planner/core/casetest/rule/rule_join_reorder.test: ok! 481 test cases passed, take time 4.609834758 s ./t/planner/core/casetest/rule/rule_result_reorder.test: ok! 87 test cases passed, take time 0.707504322 s ./t/planner/core/cbo.test: ok! 34 test cases passed, take time 0.410256801 s ./t/planner/core/enforce_mpp.test: ok! 8 test cases passed, take time 0.001497914 s ./t/planner/core/expression_rewriter.test: ok! 206 test cases passed, take time 2.061062397 s ./t/planner/core/indexjoin.test: ok! 41 test cases passed, take time 0.132288502 s ./t/planner/core/indexmerge_intersection.test: ok! 6 test cases passed, take time 0.029514965 s ./t/planner/core/indexmerge_path.test: ok! 273 test cases passed, take time 4.091801042 s ./t/planner/core/integration.test: ok! 1621 test cases passed, take time 19.445827451 s ./t/planner/core/integration_partition.test: ok! 493 test cases passed, take time 12.606330456 s ./t/planner/core/issuetest/planner_issue.test: ok! 178 test cases passed, take time 4.781129919 s ./t/planner/core/memtable_predicate_extractor.test: ok! 45 test cases passed, take time 0.092479024 s ./t/planner/core/partition_pruner.test: ok! 642 test cases passed, take time 3.179951981 s ./t/planner/core/physical_plan.test: ok! 44 test cases passed, take time 0.52739778 s ./t/planner/core/plan.test: ok! 157 test cases passed, take time 1.407387462 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 78s remote-cache, linux-sandbox ./t/planner/core/plan_cache.test: ok! 1243 test cases passed, take time 6.553501934 s ./t/planner/core/plan_cost_ver2.test: ok! 70 test cases passed, take time 0.360704985 s ./t/planner/core/point_get_plan.test: ok! 265 test cases passed, take time 1.567541013 s ./t/planner/core/preprocess.test: ok! 6 test cases passed, take time 0.034511515 s ./t/planner/core/range_scan_for_like.test: ok! 226 test cases passed, take time 0.539769572 s ./t/planner/core/rule_constant_propagation.test: ok! 31 test cases passed, take time 0.505792323 s ./t/planner/core/rule_join_reorder.test: ok! 52 test cases passed, take time 0.704955967 s ./t/planner/core/rule_result_reorder.test: ok! 29 test cases passed, take time 0.156792552 s ./t/planner/core/tests/prepare/issue.test: ok! 321 test cases passed, take time 1.6661374740000001 s ./t/planner/core/tests/prepare/prepare.test: ok! 458 test cases passed, take time 2.312031087 s ./t/planner/funcdep/only_full_group_by.test: ok! 148 test cases passed, take time 2.018351901 s time="2025-04-05T15:08:14+08:00" level=error msg="run test [privilege/privileges] err: sql:REVOKE ALL ON *.* FROM CURRENT_USER();: run \"REVOKE ALL ON *.* FROM CURRENT_USER();\" at line 312 err Error 8121 (HY000): privilege check for 'Select' fail" ./t/select.test: ok! 206 test cases passed, take time 1.560722918 s ./t/session/bootstrap_upgrade.test: ok! 29 test cases passed, take time 0.127624277 s ./t/session/clustered_index.test: ok! 385 test cases passed, take time 14.06416518 s ./t/session/common.test: ok! 212 test cases passed, take time 2.884321146 s ./t/session/nontransactional.test: ok! 1532 test cases passed, take time 9.442983485 s ./t/session/privileges.test: ok! 66 test cases passed, take time 0.693716149 s ./t/session/session.test: ok! 104 test cases passed, take time 0.702446059 s ./t/session/temporary_table.test: ok! 277 test cases passed, take time 0.260460516 s ./t/session/txn.test: ok! 14 test cases passed, take time 0.026745614 s ./t/session/user_variables.test: ok! 16 test cases passed, take time 0.017795625 s ./t/session/variable.test: ok! 103 test cases passed, take time 0.292638969 s ./t/session/vars.test: ok! 127 test cases passed, take time 0.144011577 s ./t/sessionctx/setvar.test: ok! 685 test cases passed, take time 0.190003892 s ./t/sessiontxn/externals.test: ok! 56 test cases passed, take time 0.207206745 s ./t/statistics/handle.test: ok! 60 test cases passed, take time 1.404262487 s ./t/statistics/integration.test: ok! 19 test cases passed, take time 0.124338559 s ./t/statistics/lock_table_stats.test: ok! 47 test cases passed, take time 0.541537368 s ./t/statistics/overflow_calc.test: ok! 5 test cases passed, take time 0.065559271 s ./t/subquery.test: ok! 32 test cases passed, take time 0.348570576 s [4,573 / 4,574] Testing //tests/realtikvtest/txntest:txntest_test; 138s remote-cache, linux-sandbox ./t/table/cache.test: ok! 108 test cases passed, take time 8.597682833 s ./t/table/index.test: ok! 38 test cases passed, take time 0.46801263 s ./t/table/partition.test: ok! 240 test cases passed, take time 4.536254931 s ./t/table/tables.test: ok! 24 test cases passed, take time 0.085950257 s ./t/table/temptable.test: ok! 11 test cases passed, take time 0.071330402 s ./t/topn_push_down.test: ok! 20 test cases passed, take time 0.142901963 s ./t/topn_pushdown.test: ok! 2 test cases passed, take time 0.000588799 s ./t/tpch.test: ok! 40 test cases passed, take time 2.02452877 s ./t/types/const.test: ok! 143 test cases passed, take time 1.068306067 s ./t/util/admin.test: ok! 143 test cases passed, take time 7.82577417 s ./t/util/ranger.test: ok! 188 test cases passed, take time 2.278606671 s ./t/window_function.test: ok! 28 test cases passed, take time 0.095243438 s time="2025-04-05T15:09:17+08:00" level=error msg="2 tests failed\n" time="2025-04-05T15:09:17+08:00" level=error msg="run test [explain_complex_stats] err: sql:explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;: failed to run query \n\"explain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\" \n around line 136, \nwe need(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:missing]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\nexplai\nbut got(3468):\nexplain format = 'brief' select gad.id as gid,sdk.id as sid,gad.aid as aid,gad.cm as cm,sdk.dic as dic,sdk.ip as ip, sdk.t as t, gad.p1 as p1, gad.p2 as p2, gad.p3 as p3, gad.p4 as p4, gad.p5 as p5, gad.p6_md5 as p6, gad.p7_md5 as p7, gad.ext as ext, gad.t as gtime from st gad join (select id, aid, pt, dic, ip, t from dd where pt = 'android' and bm = 0 and t > 1478143908) sdk on gad.aid = sdk.aid and gad.ip = sdk.ip and sdk.t > gad.t where gad.t > 1478143908 and gad.bm = 0 and gad.pt = 'android' group by gad.aid, sdk.dic limit 2500;\nid\testRows\ttask\taccess object\toperator info\nProjection\t424.00\troot\t\texplain_complex_stats.st.id, explain_complex_stats.dd.id, explain_complex_stats.st.aid, explain_complex_stats.st.cm, explain_complex_stats.dd.dic, explain_complex_stats.dd.ip, explain_complex_stats.dd.t, explain_complex_stats.st.p1, explain_complex_stats.st.p2, explain_complex_stats.st.p3, explain_complex_stats.st.p4, explain_complex_stats.st.p5, explain_complex_stats.st.p6_md5, explain_complex_stats.st.p7_md5, explain_complex_stats.st.ext, explain_complex_stats.st.t\n└─Limit\t424.00\troot\t\toffset:0, count:2500\n └─HashAgg\t424.00\troot\t\tgroup by:explain_complex_stats.dd.dic, explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.id)->explain_complex_stats.st.id, funcs:firstrow(explain_complex_stats.st.aid)->explain_complex_stats.st.aid, funcs:firstrow(explain_complex_stats.st.cm)->explain_complex_stats.st.cm, funcs:firstrow(explain_complex_stats.st.p1)->explain_complex_stats.st.p1, funcs:firstrow(explain_complex_stats.st.p2)->explain_complex_stats.st.p2, funcs:firstrow(explain_complex_stats.st.p3)->explain_complex_stats.st.p3, funcs:firstrow(explain_complex_stats.st.p4)->explain_complex_stats.st.p4, funcs:firstrow(explain_complex_stats.st.p5)->explain_complex_stats.st.p5, funcs:firstrow(explain_complex_stats.st.p6_md5)->explain_complex_stats.st.p6_md5, funcs:firstrow(explain_complex_stats.st.p7_md5)->explain_complex_stats.st.p7_md5, funcs:firstrow(explain_complex_stats.st.ext)->explain_complex_stats.st.ext, funcs:firstrow(explain_complex_stats.st.t)->explain_complex_stats.st.t, funcs:firstrow(explain_complex_stats.dd.id)->explain_complex_stats.dd.id, funcs:firstrow(explain_complex_stats.dd.dic)->explain_complex_stats.dd.dic, funcs:firstrow(explain_complex_stats.dd.ip)->explain_complex_stats.dd.ip, funcs:firstrow(explain_complex_stats.dd.t)->explain_complex_stats.dd.t\n └─HashJoin\t424.00\troot\t\tinner join, equal:[eq(explain_complex_stats.st.aid, explain_complex_stats.dd.aid) eq(explain_complex_stats.st.ip, explain_complex_stats.dd.ip)], other cond:gt(explain_complex_stats.dd.t, explain_complex_stats.st.t)\n ├─TableReader(Build)\t424.00\troot\t\tdata:Selection\n │ └─Selection\t424.00\tcop[tikv]\t\teq(explain_complex_stats.st.bm, 0), eq(explain_complex_stats.st.pt, \"android\"), gt(explain_complex_stats.st.t, 1478143908), not(isnull(explain_complex_stats.st.ip))\n │ └─TableFullScan\t1999.00\tcop[tikv]\ttable:gad\tkeep order:false, stats:partial[t:unInitialized]\n └─TableReader(Probe)\t450.56\troot\t\tdata:Selection\n └─Selection\t450.56\tcop[tikv]\t\teq(explain_complex_stats.dd.bm, 0), eq(explain_complex_stats.dd.pt, \"android\"), gt(explain_complex_stats.dd.t, 1478143908), not(isnull(explain_complex_stats.dd.ip)), not(isnull(explain_complex_stats.dd.t))\n └─TableFullScan\t2000.00\tcop[tikv]\ttable:dd\tkeep order:false, stats:partial[ip:missing, t:missing]\n\n" time="2025-04-05T15:09:17+08:00" level=error msg="run test [privilege/privileges] err: sql:REVOKE ALL ON *.* FROM CURRENT_USER();: run \"REVOKE ALL ON *.* FROM CURRENT_USER();\" at line 312 err Error 8121 (HY000): privilege check for 'Select' fail" [Pipeline] } [Pipeline] // dir Post stage [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] junit Recording test results [Checks API] No suitable checks publisher found. [Pipeline] } [Pipeline] // dir [Pipeline] dir Running in /home/jenkins/agent/workspace/pingcap/tidb/ghpr_check2/tidb [Pipeline] { [Pipeline] sh No test report files were found. Configuration error? + str='integrationtest_with_tikv.sh y' + logs_dir=logs_integrationtest_with_tikv.sh_y + mkdir -p logs_integrationtest_with_tikv.sh_y + mv pd1.log pd2.log pd3.log logs_integrationtest_with_tikv.sh_y + mv tikv1.log tikv2.log tikv3.log logs_integrationtest_with_tikv.sh_y + mv tests/integrationtest/integration-test.out logs_integrationtest_with_tikv.sh_y + tar -czvf logs_integrationtest_with_tikv.sh_y.tar.gz logs_integrationtest_with_tikv.sh_y logs_integrationtest_with_tikv.sh_y/ logs_integrationtest_with_tikv.sh_y/tikv1.log logs_integrationtest_with_tikv.sh_y/tikv2.log logs_integrationtest_with_tikv.sh_y/pd1.log logs_integrationtest_with_tikv.sh_y/integration-test.out logs_integrationtest_with_tikv.sh_y/tikv3.log logs_integrationtest_with_tikv.sh_y/pd3.log logs_integrationtest_with_tikv.sh_y/pd2.log [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Matrix - SCRIPT_AND_ARGS = 'integrationtest_with_tikv.sh y' Sending interrupt signal to process Killing processes kill finished with exit code 0 Bazel caught terminate signal; shutting down. Bazel caught terminate signal; shutting down. Could not interrupt server: (14) Connection reset by peer Could not interrupt server: (14) failed to connect to all addresses Server terminated abruptly (error code: 14, error message: 'Connection reset by peer', log file: '/home/jenkins/.tidb/tmp/903aa8c667333396b92cebbde26882dc/server/jvm.out') make: *** [Makefile:709: bazel_txntest] Error 37 script returned exit code 143 [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] sh + str='run_real_tikv_tests.sh bazel_txntest' + logs_dir=logs_run_real_tikv_tests.sh_bazel_txntest + mkdir -p logs_run_real_tikv_tests.sh_bazel_txntest + mv pd1.log pd2.log pd3.log logs_run_real_tikv_tests.sh_bazel_txntest + mv tikv1.log tikv2.log tikv3.log logs_run_real_tikv_tests.sh_bazel_txntest + mv tests/integrationtest/integration-test.out logs_run_real_tikv_tests.sh_bazel_txntest mv: cannot stat 'tests/integrationtest/integration-test.out': No such file or directory + true + tar -czvf logs_run_real_tikv_tests.sh_bazel_txntest.tar.gz logs_run_real_tikv_tests.sh_bazel_txntest logs_run_real_tikv_tests.sh_bazel_txntest/ logs_run_real_tikv_tests.sh_bazel_txntest/tikv1.log logs_run_real_tikv_tests.sh_bazel_txntest/pd1.log logs_run_real_tikv_tests.sh_bazel_txntest/pd2.log logs_run_real_tikv_tests.sh_bazel_txntest/tikv3.log logs_run_real_tikv_tests.sh_bazel_txntest/pd3.log logs_run_real_tikv_tests.sh_bazel_txntest/tikv2.log [Pipeline] archiveArtifacts Archiving artifacts [Pipeline] } No test report files were found. Configuration error? [Pipeline] // dir [Pipeline] } [Pipeline] // withCredentials [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // stage [Pipeline] } Failed in branch Matrix - SCRIPT_AND_ARGS = 'run_real_tikv_tests.sh bazel_txntest' [Pipeline] // parallel [Pipeline] } [Pipeline] // stage [Pipeline] stage [Pipeline] { (Declarative: Post Actions) [Pipeline] container [Pipeline] { [Pipeline] sh + bash scripts/plugins/report_job_result.sh FAILURE result.json http://fileserver.pingcap.net --2025-04-05 07:09:28-- 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% 604M=0s 2025-04-05 07:09:28 (604 MB/s) - ‘agent_upload_verifyci_metadata.py’ saved [4181/4181] No junit report file parse result file result.json success upload data succesfully. [Pipeline] } [Pipeline] // container [Pipeline] archiveArtifacts Archiving artifacts Recording fingerprints [Pipeline] } [Pipeline] // stage [Pipeline] } [Pipeline] // timeout [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // container [Pipeline] } [Pipeline] // withEnv [Pipeline] } [Pipeline] // node [Pipeline] } [Pipeline] // podTemplate [Pipeline] End of Pipeline ERROR: script returned exit code 1 Finished: FAILURE